linux/drivers/staging/rtl8712/rtl8712_fifoctrl_regdef.h
<<
>>
Prefs
   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
  23#define RQPN                    (RTL8712_FIFOCTRL_ + 0x00)
  24#define RXFF_BNDY               (RTL8712_FIFOCTRL_ + 0x0C)
  25#define RXRPT_BNDY              (RTL8712_FIFOCTRL_ + 0x10)
  26#define TXPKTBUF_PGBNDY         (RTL8712_FIFOCTRL_ + 0x14)
  27#define PBP                     (RTL8712_FIFOCTRL_ + 0x15)
  28#define RX_DRVINFO_SZ           (RTL8712_FIFOCTRL_ + 0x16)
  29#define TXFF_STATUS             (RTL8712_FIFOCTRL_ + 0x17)
  30#define RXFF_STATUS             (RTL8712_FIFOCTRL_ + 0x18)
  31#define TXFF_EMPTY_TH           (RTL8712_FIFOCTRL_ + 0x19)
  32#define SDIO_RX_BLKSZ           (RTL8712_FIFOCTRL_ + 0x1C)
  33#define RXDMA_RXCTRL            (RTL8712_FIFOCTRL_ + 0x1D)
  34#define RXPKT_NUM               (RTL8712_FIFOCTRL_ + 0x1E)
  35#define RXPKT_NUM_C2H           (RTL8712_FIFOCTRL_ + 0x1F)
  36#define C2HCMD_UDT_SIZE         (RTL8712_FIFOCTRL_ + 0x20)
  37#define C2HCMD_UDT_ADDR         (RTL8712_FIFOCTRL_ + 0x22)
  38#define FIFOPAGE2               (RTL8712_FIFOCTRL_ + 0x24)
  39#define FIFOPAGE1               (RTL8712_FIFOCTRL_ + 0x28)
  40#define FW_RSVD_PG_CTRL         (RTL8712_FIFOCTRL_ + 0x30)
  41#define TXRPTFF_RDPTR           (RTL8712_FIFOCTRL_ + 0x40)
  42#define TXRPTFF_WTPTR           (RTL8712_FIFOCTRL_ + 0x44)
  43#define C2HFF_RDPTR             (RTL8712_FIFOCTRL_ + 0x48)
  44#define C2HFF_WTPTR             (RTL8712_FIFOCTRL_ + 0x4C)
  45#define RXFF0_RDPTR             (RTL8712_FIFOCTRL_ + 0x50)
  46#define RXFF0_WTPTR             (RTL8712_FIFOCTRL_ + 0x54)
  47#define RXFF1_RDPTR             (RTL8712_FIFOCTRL_ + 0x58)
  48#define RXFF1_WTPTR             (RTL8712_FIFOCTRL_ + 0x5C)
  49#define RXRPT0FF_RDPTR          (RTL8712_FIFOCTRL_ + 0x60)
  50#define RXRPT0FF_WTPTR          (RTL8712_FIFOCTRL_ + 0x64)
  51#define RXRPT1FF_RDPTR          (RTL8712_FIFOCTRL_ + 0x68)
  52#define RXRPT1FF_WTPTR          (RTL8712_FIFOCTRL_ + 0x6C)
  53#define RX0PKTNUM               (RTL8712_FIFOCTRL_ + 0x72)
  54#define RX1PKTNUM               (RTL8712_FIFOCTRL_ + 0x74)
  55#define RXFLTMAP0               (RTL8712_FIFOCTRL_ + 0x76)
  56#define RXFLTMAP1               (RTL8712_FIFOCTRL_ + 0x78)
  57#define RXFLTMAP2               (RTL8712_FIFOCTRL_ + 0x7A)
  58#define RXFLTMAP3               (RTL8712_FIFOCTRL_ + 0x7c)
  59#define TBDA                    (RTL8712_FIFOCTRL_ + 0x84)
  60#define THPDA                   (RTL8712_FIFOCTRL_ + 0x88)
  61#define TCDA                    (RTL8712_FIFOCTRL_ + 0x8C)
  62#define TMDA                    (RTL8712_FIFOCTRL_ + 0x90)
  63#define HDA                     (RTL8712_FIFOCTRL_ + 0x94)
  64#define TVODA                   (RTL8712_FIFOCTRL_ + 0x98)
  65#define TVIDA                   (RTL8712_FIFOCTRL_ + 0x9C)
  66#define TBEDA                   (RTL8712_FIFOCTRL_ + 0xA0)
  67#define TBKDA                   (RTL8712_FIFOCTRL_ + 0xA4)
  68#define RCDA                    (RTL8712_FIFOCTRL_ + 0xA8)
  69#define RDSA                    (RTL8712_FIFOCTRL_ + 0xAC)
  70#define TXPKT_NUM_CTRL          (RTL8712_FIFOCTRL_ + 0xB0)
  71#define TXQ_PGADD               (RTL8712_FIFOCTRL_ + 0xB3)
  72#define TXFF_PG_NUM             (RTL8712_FIFOCTRL_ + 0xB4)
  73
  74#endif  /* __RTL8712_FIFOCTRL_REGDEF_H__ */
  75