aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/rtl8712_fifoctrl_regdef.h
blob: 29b89c45c70ce0f9253c533e516fbf46f0b552c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
 *
 *
 ******************************************************************************/
#ifndef __RTL8712_FIFOCTRL_REGDEF_H__
#define __RTL8712_FIFOCTRL_REGDEF_H__

#define RQPN			(RTL8712_FIFOCTRL_ + 0x00)
#define RXFF_BNDY		(RTL8712_FIFOCTRL_ + 0x0C)
#define RXRPT_BNDY		(RTL8712_FIFOCTRL_ + 0x10)
#define TXPKTBUF_PGBNDY		(RTL8712_FIFOCTRL_ + 0x14)
#define PBP			(RTL8712_FIFOCTRL_ + 0x15)
#define RX_DRVINFO_SZ		(RTL8712_FIFOCTRL_ + 0x16)
#define TXFF_STATUS		(RTL8712_FIFOCTRL_ + 0x17)
#define RXFF_STATUS		(RTL8712_FIFOCTRL_ + 0x18)
#define TXFF_EMPTY_TH		(RTL8712_FIFOCTRL_ + 0x19)
#define SDIO_RX_BLKSZ		(RTL8712_FIFOCTRL_ + 0x1C)
#define RXDMA_RXCTRL		(RTL8712_FIFOCTRL_ + 0x1D)
#define RXPKT_NUM		(RTL8712_FIFOCTRL_ + 0x1E)
#define RXPKT_NUM_C2H		(RTL8712_FIFOCTRL_ + 0x1F)
#define C2HCMD_UDT_SIZE		(RTL8712_FIFOCTRL_ + 0x20)
#define C2HCMD_UDT_ADDR		(RTL8712_FIFOCTRL_ + 0x22)
#define FIFOPAGE2		(RTL8712_FIFOCTRL_ + 0x24)
#define FIFOPAGE1		(RTL8712_FIFOCTRL_ + 0x28)
#define FW_RSVD_PG_CTRL		(RTL8712_FIFOCTRL_ + 0x30)
#define TXRPTFF_RDPTR		(RTL8712_FIFOCTRL_ + 0x40)
#define TXRPTFF_WTPTR		(RTL8712_FIFOCTRL_ + 0x44)
#define C2HFF_RDPTR		(RTL8712_FIFOCTRL_ + 0x48)
#define C2HFF_WTPTR		(RTL8712_FIFOCTRL_ + 0x4C)
#define RXFF0_RDPTR		(RTL8712_FIFOCTRL_ + 0x50)
#define RXFF0_WTPTR		(RTL8712_FIFOCTRL_ + 0x54)
#define RXFF1_RDPTR		(RTL8712_FIFOCTRL_ + 0x58)
#define RXFF1_WTPTR		(RTL8712_FIFOCTRL_ + 0x5C)
#define RXRPT0FF_RDPTR		(RTL8712_FIFOCTRL_ + 0x60)
#define RXRPT0FF_WTPTR		(RTL8712_FIFOCTRL_ + 0x64)
#define RXRPT1FF_RDPTR		(RTL8712_FIFOCTRL_ + 0x68)
#define RXRPT1FF_WTPTR		(RTL8712_FIFOCTRL_ + 0x6C)
#define RX0PKTNUM		(RTL8712_FIFOCTRL_ + 0x72)
#define RX1PKTNUM		(RTL8712_FIFOCTRL_ + 0x74)
#define RXFLTMAP0		(RTL8712_FIFOCTRL_ + 0x76)
#define RXFLTMAP1		(RTL8712_FIFOCTRL_ + 0x78)
#define RXFLTMAP2		(RTL8712_FIFOCTRL_ + 0x7A)
#define RXFLTMAP3		(RTL8712_FIFOCTRL_ + 0x7c)
#define TBDA			(RTL8712_FIFOCTRL_ + 0x84)
#define THPDA			(RTL8712_FIFOCTRL_ + 0x88)
#define TCDA			(RTL8712_FIFOCTRL_ + 0x8C)
#define TMDA			(RTL8712_FIFOCTRL_ + 0x90)
#define HDA			(RTL8712_FIFOCTRL_ + 0x94)
#define TVODA			(RTL8712_FIFOCTRL_ + 0x98)
#define TVIDA			(RTL8712_FIFOCTRL_ + 0x9C)
#define TBEDA			(RTL8712_FIFOCTRL_ + 0xA0)
#define TBKDA			(RTL8712_FIFOCTRL_ + 0xA4)
#define RCDA			(RTL8712_FIFOCTRL_ + 0xA8)
#define RDSA			(RTL8712_FIFOCTRL_ + 0xAC)
#define TXPKT_NUM_CTRL		(RTL8712_FIFOCTRL_ + 0xB0)
#define TXQ_PGADD		(RTL8712_FIFOCTRL_ + 0xB3)
#define TXFF_PG_NUM		(RTL8712_FIFOCTRL_ + 0xB4)



#endif	/* __RTL8712_FIFOCTRL_REGDEF_H__ */