rtl8712_fifoctrl_regdef.h 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along with
  15. * this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
  17. *
  18. *
  19. ******************************************************************************/
  20. #ifndef __RTL8712_FIFOCTRL_REGDEF_H__
  21. #define __RTL8712_FIFOCTRL_REGDEF_H__
  22. #define RQPN (RTL8712_FIFOCTRL_ + 0x00)
  23. #define RXFF_BNDY (RTL8712_FIFOCTRL_ + 0x0C)
  24. #define RXRPT_BNDY (RTL8712_FIFOCTRL_ + 0x10)
  25. #define TXPKTBUF_PGBNDY (RTL8712_FIFOCTRL_ + 0x14)
  26. #define PBP (RTL8712_FIFOCTRL_ + 0x15)
  27. #define RX_DRVINFO_SZ (RTL8712_FIFOCTRL_ + 0x16)
  28. #define TXFF_STATUS (RTL8712_FIFOCTRL_ + 0x17)
  29. #define RXFF_STATUS (RTL8712_FIFOCTRL_ + 0x18)
  30. #define TXFF_EMPTY_TH (RTL8712_FIFOCTRL_ + 0x19)
  31. #define SDIO_RX_BLKSZ (RTL8712_FIFOCTRL_ + 0x1C)
  32. #define RXDMA_RXCTRL (RTL8712_FIFOCTRL_ + 0x1D)
  33. #define RXPKT_NUM (RTL8712_FIFOCTRL_ + 0x1E)
  34. #define RXPKT_NUM_C2H (RTL8712_FIFOCTRL_ + 0x1F)
  35. #define C2HCMD_UDT_SIZE (RTL8712_FIFOCTRL_ + 0x20)
  36. #define C2HCMD_UDT_ADDR (RTL8712_FIFOCTRL_ + 0x22)
  37. #define FIFOPAGE2 (RTL8712_FIFOCTRL_ + 0x24)
  38. #define FIFOPAGE1 (RTL8712_FIFOCTRL_ + 0x28)
  39. #define FW_RSVD_PG_CTRL (RTL8712_FIFOCTRL_ + 0x30)
  40. #define TXRPTFF_RDPTR (RTL8712_FIFOCTRL_ + 0x40)
  41. #define TXRPTFF_WTPTR (RTL8712_FIFOCTRL_ + 0x44)
  42. #define C2HFF_RDPTR (RTL8712_FIFOCTRL_ + 0x48)
  43. #define C2HFF_WTPTR (RTL8712_FIFOCTRL_ + 0x4C)
  44. #define RXFF0_RDPTR (RTL8712_FIFOCTRL_ + 0x50)
  45. #define RXFF0_WTPTR (RTL8712_FIFOCTRL_ + 0x54)
  46. #define RXFF1_RDPTR (RTL8712_FIFOCTRL_ + 0x58)
  47. #define RXFF1_WTPTR (RTL8712_FIFOCTRL_ + 0x5C)
  48. #define RXRPT0FF_RDPTR (RTL8712_FIFOCTRL_ + 0x60)
  49. #define RXRPT0FF_WTPTR (RTL8712_FIFOCTRL_ + 0x64)
  50. #define RXRPT1FF_RDPTR (RTL8712_FIFOCTRL_ + 0x68)
  51. #define RXRPT1FF_WTPTR (RTL8712_FIFOCTRL_ + 0x6C)
  52. #define RX0PKTNUM (RTL8712_FIFOCTRL_ + 0x72)
  53. #define RX1PKTNUM (RTL8712_FIFOCTRL_ + 0x74)
  54. #define RXFLTMAP0 (RTL8712_FIFOCTRL_ + 0x76)
  55. #define RXFLTMAP1 (RTL8712_FIFOCTRL_ + 0x78)
  56. #define RXFLTMAP2 (RTL8712_FIFOCTRL_ + 0x7A)
  57. #define RXFLTMAP3 (RTL8712_FIFOCTRL_ + 0x7c)
  58. #define TBDA (RTL8712_FIFOCTRL_ + 0x84)
  59. #define THPDA (RTL8712_FIFOCTRL_ + 0x88)
  60. #define TCDA (RTL8712_FIFOCTRL_ + 0x8C)
  61. #define TMDA (RTL8712_FIFOCTRL_ + 0x90)
  62. #define HDA (RTL8712_FIFOCTRL_ + 0x94)
  63. #define TVODA (RTL8712_FIFOCTRL_ + 0x98)
  64. #define TVIDA (RTL8712_FIFOCTRL_ + 0x9C)
  65. #define TBEDA (RTL8712_FIFOCTRL_ + 0xA0)
  66. #define TBKDA (RTL8712_FIFOCTRL_ + 0xA4)
  67. #define RCDA (RTL8712_FIFOCTRL_ + 0xA8)
  68. #define RDSA (RTL8712_FIFOCTRL_ + 0xAC)
  69. #define TXPKT_NUM_CTRL (RTL8712_FIFOCTRL_ + 0xB0)
  70. #define TXQ_PGADD (RTL8712_FIFOCTRL_ + 0xB3)
  71. #define TXFF_PG_NUM (RTL8712_FIFOCTRL_ + 0xB4)
  72. #endif /* __RTL8712_FIFOCTRL_REGDEF_H__ */