1e24c1f86SMichael Straube /* SPDX-License-Identifier: GPL-2.0 */ 20e54f609SAli Bahar /****************************************************************************** 30e54f609SAli Bahar * 40e54f609SAli Bahar * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. 50e54f609SAli Bahar * 60e54f609SAli Bahar ******************************************************************************/ 72865d42cSLarry Finger #ifndef __RTL8712_FIFOCTRL_REGDEF_H__ 82865d42cSLarry Finger #define __RTL8712_FIFOCTRL_REGDEF_H__ 92865d42cSLarry Finger 102865d42cSLarry Finger #define RQPN (RTL8712_FIFOCTRL_ + 0x00) 112865d42cSLarry Finger #define RXFF_BNDY (RTL8712_FIFOCTRL_ + 0x0C) 122865d42cSLarry Finger #define RXRPT_BNDY (RTL8712_FIFOCTRL_ + 0x10) 132865d42cSLarry Finger #define TXPKTBUF_PGBNDY (RTL8712_FIFOCTRL_ + 0x14) 142865d42cSLarry Finger #define PBP (RTL8712_FIFOCTRL_ + 0x15) 152865d42cSLarry Finger #define RX_DRVINFO_SZ (RTL8712_FIFOCTRL_ + 0x16) 162865d42cSLarry Finger #define TXFF_STATUS (RTL8712_FIFOCTRL_ + 0x17) 172865d42cSLarry Finger #define RXFF_STATUS (RTL8712_FIFOCTRL_ + 0x18) 182865d42cSLarry Finger #define TXFF_EMPTY_TH (RTL8712_FIFOCTRL_ + 0x19) 192865d42cSLarry Finger #define SDIO_RX_BLKSZ (RTL8712_FIFOCTRL_ + 0x1C) 202865d42cSLarry Finger #define RXDMA_RXCTRL (RTL8712_FIFOCTRL_ + 0x1D) 212865d42cSLarry Finger #define RXPKT_NUM (RTL8712_FIFOCTRL_ + 0x1E) 222865d42cSLarry Finger #define RXPKT_NUM_C2H (RTL8712_FIFOCTRL_ + 0x1F) 232865d42cSLarry Finger #define C2HCMD_UDT_SIZE (RTL8712_FIFOCTRL_ + 0x20) 242865d42cSLarry Finger #define C2HCMD_UDT_ADDR (RTL8712_FIFOCTRL_ + 0x22) 252865d42cSLarry Finger #define FIFOPAGE2 (RTL8712_FIFOCTRL_ + 0x24) 262865d42cSLarry Finger #define FIFOPAGE1 (RTL8712_FIFOCTRL_ + 0x28) 272865d42cSLarry Finger #define FW_RSVD_PG_CTRL (RTL8712_FIFOCTRL_ + 0x30) 282865d42cSLarry Finger #define TXRPTFF_RDPTR (RTL8712_FIFOCTRL_ + 0x40) 292865d42cSLarry Finger #define TXRPTFF_WTPTR (RTL8712_FIFOCTRL_ + 0x44) 302865d42cSLarry Finger #define C2HFF_RDPTR (RTL8712_FIFOCTRL_ + 0x48) 312865d42cSLarry Finger #define C2HFF_WTPTR (RTL8712_FIFOCTRL_ + 0x4C) 322865d42cSLarry Finger #define RXFF0_RDPTR (RTL8712_FIFOCTRL_ + 0x50) 332865d42cSLarry Finger #define RXFF0_WTPTR (RTL8712_FIFOCTRL_ + 0x54) 342865d42cSLarry Finger #define RXFF1_RDPTR (RTL8712_FIFOCTRL_ + 0x58) 352865d42cSLarry Finger #define RXFF1_WTPTR (RTL8712_FIFOCTRL_ + 0x5C) 362865d42cSLarry Finger #define RXRPT0FF_RDPTR (RTL8712_FIFOCTRL_ + 0x60) 372865d42cSLarry Finger #define RXRPT0FF_WTPTR (RTL8712_FIFOCTRL_ + 0x64) 382865d42cSLarry Finger #define RXRPT1FF_RDPTR (RTL8712_FIFOCTRL_ + 0x68) 392865d42cSLarry Finger #define RXRPT1FF_WTPTR (RTL8712_FIFOCTRL_ + 0x6C) 402865d42cSLarry Finger #define RX0PKTNUM (RTL8712_FIFOCTRL_ + 0x72) 412865d42cSLarry Finger #define RX1PKTNUM (RTL8712_FIFOCTRL_ + 0x74) 422865d42cSLarry Finger #define RXFLTMAP0 (RTL8712_FIFOCTRL_ + 0x76) 432865d42cSLarry Finger #define RXFLTMAP1 (RTL8712_FIFOCTRL_ + 0x78) 442865d42cSLarry Finger #define RXFLTMAP2 (RTL8712_FIFOCTRL_ + 0x7A) 452865d42cSLarry Finger #define RXFLTMAP3 (RTL8712_FIFOCTRL_ + 0x7c) 462865d42cSLarry Finger #define TBDA (RTL8712_FIFOCTRL_ + 0x84) 472865d42cSLarry Finger #define THPDA (RTL8712_FIFOCTRL_ + 0x88) 482865d42cSLarry Finger #define TCDA (RTL8712_FIFOCTRL_ + 0x8C) 492865d42cSLarry Finger #define TMDA (RTL8712_FIFOCTRL_ + 0x90) 502865d42cSLarry Finger #define HDA (RTL8712_FIFOCTRL_ + 0x94) 512865d42cSLarry Finger #define TVODA (RTL8712_FIFOCTRL_ + 0x98) 522865d42cSLarry Finger #define TVIDA (RTL8712_FIFOCTRL_ + 0x9C) 532865d42cSLarry Finger #define TBEDA (RTL8712_FIFOCTRL_ + 0xA0) 542865d42cSLarry Finger #define TBKDA (RTL8712_FIFOCTRL_ + 0xA4) 552865d42cSLarry Finger #define RCDA (RTL8712_FIFOCTRL_ + 0xA8) 562865d42cSLarry Finger #define RDSA (RTL8712_FIFOCTRL_ + 0xAC) 572865d42cSLarry Finger #define TXPKT_NUM_CTRL (RTL8712_FIFOCTRL_ + 0xB0) 582865d42cSLarry Finger #define TXQ_PGADD (RTL8712_FIFOCTRL_ + 0xB3) 592865d42cSLarry Finger #define TXFF_PG_NUM (RTL8712_FIFOCTRL_ + 0xB4) 602865d42cSLarry Finger 612865d42cSLarry Finger #endif /* __RTL8712_FIFOCTRL_REGDEF_H__ */ 62