Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
rtl8712_spec.h File Reference
#include "rtl8712_regdef.h"
#include "rtl8712_bitdef.h"
#include "basic_types.h"

Go to the source code of this file.

Macros

#define RTL8712_IOBASE_TXPKT   0x10200000 /*IOBASE_TXPKT*/
 
#define RTL8712_IOBASE_RXPKT   0x10210000 /*IOBASE_RXPKT*/
 
#define RTL8712_IOBASE_RXCMD   0x10220000 /*IOBASE_RXCMD*/
 
#define RTL8712_IOBASE_TXSTATUS   0x10230000 /*IOBASE_TXSTATUS*/
 
#define RTL8712_IOBASE_RXSTATUS   0x10240000 /*IOBASE_RXSTATUS*/
 
#define RTL8712_IOBASE_IOREG   0x10250000 /*IOBASE_IOREG ADDR*/
 
#define RTL8712_IOBASE_SCHEDULER   0x10260000 /*IOBASE_SCHEDULE*/
 
#define RTL8712_IOBASE_TRXDMA   0x10270000 /*IOBASE_TRXDMA*/
 
#define RTL8712_IOBASE_TXLLT   0x10280000 /*IOBASE_TXLLT*/
 
#define RTL8712_IOBASE_WMAC   0x10290000 /*IOBASE_WMAC*/
 
#define RTL8712_IOBASE_FW2HW   0x102A0000 /*IOBASE_FW2HW*/
 
#define RTL8712_IOBASE_ACCESS_PHYREG   0x102B0000 /*IOBASE_ACCESS_PHYREG*/
 
#define RTL8712_IOBASE_FF   0x10300000 /*IOBASE_FIFO 0x1031000~0x103AFFFF*/
 
#define RTL8712_SYSCFG_   RTL8712_IOBASE_IOREG
 
#define RTL8712_CMDCTRL_   (RTL8712_IOBASE_IOREG + 0x40)
 
#define RTL8712_MACIDSETTING_   (RTL8712_IOBASE_IOREG + 0x50)
 
#define RTL8712_TIMECTRL_   (RTL8712_IOBASE_IOREG + 0x80)
 
#define RTL8712_FIFOCTRL_   (RTL8712_IOBASE_IOREG + 0xA0)
 
#define RTL8712_RATECTRL_   (RTL8712_IOBASE_IOREG + 0x160)
 
#define RTL8712_EDCASETTING_   (RTL8712_IOBASE_IOREG + 0x1D0)
 
#define RTL8712_WMAC_   (RTL8712_IOBASE_IOREG + 0x200)
 
#define RTL8712_SECURITY_   (RTL8712_IOBASE_IOREG + 0x240)
 
#define RTL8712_POWERSAVE_   (RTL8712_IOBASE_IOREG + 0x260)
 
#define RTL8712_GP_   (RTL8712_IOBASE_IOREG + 0x2E0)
 
#define RTL8712_INTERRUPT_   (RTL8712_IOBASE_IOREG + 0x300)
 
#define RTL8712_DEBUGCTRL_   (RTL8712_IOBASE_IOREG + 0x310)
 
#define RTL8712_OFFLOAD_   (RTL8712_IOBASE_IOREG + 0x2D0)
 
#define RTL8712_DMA_BCNQ   (RTL8712_IOBASE_FF + 0x10000)
 
#define RTL8712_DMA_MGTQ   (RTL8712_IOBASE_FF + 0x20000)
 
#define RTL8712_DMA_BMCQ   (RTL8712_IOBASE_FF + 0x30000)
 
#define RTL8712_DMA_VOQ   (RTL8712_IOBASE_FF + 0x40000)
 
#define RTL8712_DMA_VIQ   (RTL8712_IOBASE_FF + 0x50000)
 
#define RTL8712_DMA_BEQ   (RTL8712_IOBASE_FF + 0x60000)
 
#define RTL8712_DMA_BKQ   (RTL8712_IOBASE_FF + 0x70000)
 
#define RTL8712_DMA_RX0FF   (RTL8712_IOBASE_FF + 0x80000)
 
#define RTL8712_DMA_H2CCMD   (RTL8712_IOBASE_FF + 0x90000)
 
#define RTL8712_DMA_C2HCMD   (RTL8712_IOBASE_FF + 0xA0000)
 
#define DID_SDIO_LOCAL   0 /* 0 0*/
 
#define DID_WLAN_IOREG   1 /* 0 1*/
 
#define DID_WLAN_FIFO   3 /* 1 1*/
 
#define DID_UNDEFINE   (-1)
 
#define CMD_ADDR_MAPPING_SHIFT
 
#define OFFSET_SDIO_LOCAL   0x0FFF
 
#define OFFSET_WLAN_IOREG   0x0FFF
 
#define OFFSET_TX_BCNQ   0x0300
 
#define OFFSET_TX_HIQ   0x0310
 
#define OFFSET_TX_CMDQ   0x0320
 
#define OFFSET_TX_MGTQ   0x0330
 
#define OFFSET_TX_HCCAQ   0x0340
 
#define OFFSET_TX_VOQ   0x0350
 
#define OFFSET_TX_VIQ   0x0360
 
#define OFFSET_TX_BEQ   0x0370
 
#define OFFSET_TX_BKQ   0x0380
 
#define OFFSET_RX_RX0FFQ   0x0390
 
#define OFFSET_RX_C2HFFQ   0x03A0
 
#define BK_QID_01   1
 
#define BK_QID_02   2
 
#define BE_QID_01   0
 
#define BE_QID_02   3
 
#define VI_QID_01   4
 
#define VI_QID_02   5
 
#define VO_QID_01   6
 
#define VO_QID_02   7
 
#define HCCA_QID_01   8
 
#define HCCA_QID_02   9
 
#define HCCA_QID_03   10
 
#define HCCA_QID_04   11
 
#define HCCA_QID_05   12
 
#define HCCA_QID_06   13
 
#define HCCA_QID_07   14
 
#define HCCA_QID_08   15
 
#define HI_QID   17
 
#define CMD_QID   19
 
#define MGT_QID   18
 
#define BCN_QID   16
 

Macro Definition Documentation

#define BCN_QID   16

Definition at line 124 of file rtl8712_spec.h.

#define BE_QID_01   0

Definition at line 107 of file rtl8712_spec.h.

#define BE_QID_02   3

Definition at line 108 of file rtl8712_spec.h.

#define BK_QID_01   1

Definition at line 105 of file rtl8712_spec.h.

#define BK_QID_02   2

Definition at line 106 of file rtl8712_spec.h.

#define CMD_ADDR_MAPPING_SHIFT
Value:
2 /*SDIO CMD ADDR MAPPING,
*shift 2 bit for match
* offset[14:2]*/

Definition at line 84 of file rtl8712_spec.h.

#define CMD_QID   19

Definition at line 122 of file rtl8712_spec.h.

#define DID_SDIO_LOCAL   0 /* 0 0*/

Definition at line 79 of file rtl8712_spec.h.

#define DID_UNDEFINE   (-1)

Definition at line 82 of file rtl8712_spec.h.

#define DID_WLAN_FIFO   3 /* 1 1*/

Definition at line 81 of file rtl8712_spec.h.

#define DID_WLAN_IOREG   1 /* 0 1*/

Definition at line 80 of file rtl8712_spec.h.

#define HCCA_QID_01   8

Definition at line 113 of file rtl8712_spec.h.

#define HCCA_QID_02   9

Definition at line 114 of file rtl8712_spec.h.

#define HCCA_QID_03   10

Definition at line 115 of file rtl8712_spec.h.

#define HCCA_QID_04   11

Definition at line 116 of file rtl8712_spec.h.

#define HCCA_QID_05   12

Definition at line 117 of file rtl8712_spec.h.

#define HCCA_QID_06   13

Definition at line 118 of file rtl8712_spec.h.

#define HCCA_QID_07   14

Definition at line 119 of file rtl8712_spec.h.

#define HCCA_QID_08   15

Definition at line 120 of file rtl8712_spec.h.

#define HI_QID   17

Definition at line 121 of file rtl8712_spec.h.

#define MGT_QID   18

Definition at line 123 of file rtl8712_spec.h.

#define OFFSET_RX_C2HFFQ   0x03A0

Definition at line 103 of file rtl8712_spec.h.

#define OFFSET_RX_RX0FFQ   0x0390

Definition at line 102 of file rtl8712_spec.h.

#define OFFSET_SDIO_LOCAL   0x0FFF

Definition at line 87 of file rtl8712_spec.h.

#define OFFSET_TX_BCNQ   0x0300

Definition at line 93 of file rtl8712_spec.h.

#define OFFSET_TX_BEQ   0x0370

Definition at line 100 of file rtl8712_spec.h.

#define OFFSET_TX_BKQ   0x0380

Definition at line 101 of file rtl8712_spec.h.

#define OFFSET_TX_CMDQ   0x0320

Definition at line 95 of file rtl8712_spec.h.

#define OFFSET_TX_HCCAQ   0x0340

Definition at line 97 of file rtl8712_spec.h.

#define OFFSET_TX_HIQ   0x0310

Definition at line 94 of file rtl8712_spec.h.

#define OFFSET_TX_MGTQ   0x0330

Definition at line 96 of file rtl8712_spec.h.

#define OFFSET_TX_VIQ   0x0360

Definition at line 99 of file rtl8712_spec.h.

#define OFFSET_TX_VOQ   0x0350

Definition at line 98 of file rtl8712_spec.h.

#define OFFSET_WLAN_IOREG   0x0FFF

Definition at line 90 of file rtl8712_spec.h.

#define RTL8712_CMDCTRL_   (RTL8712_IOBASE_IOREG + 0x40)

Definition at line 48 of file rtl8712_spec.h.

#define RTL8712_DEBUGCTRL_   (RTL8712_IOBASE_IOREG + 0x310)

Definition at line 59 of file rtl8712_spec.h.

#define RTL8712_DMA_BCNQ   (RTL8712_IOBASE_FF + 0x10000)

Definition at line 64 of file rtl8712_spec.h.

#define RTL8712_DMA_BEQ   (RTL8712_IOBASE_FF + 0x60000)

Definition at line 69 of file rtl8712_spec.h.

#define RTL8712_DMA_BKQ   (RTL8712_IOBASE_FF + 0x70000)

Definition at line 70 of file rtl8712_spec.h.

#define RTL8712_DMA_BMCQ   (RTL8712_IOBASE_FF + 0x30000)

Definition at line 66 of file rtl8712_spec.h.

#define RTL8712_DMA_C2HCMD   (RTL8712_IOBASE_FF + 0xA0000)

Definition at line 73 of file rtl8712_spec.h.

#define RTL8712_DMA_H2CCMD   (RTL8712_IOBASE_FF + 0x90000)

Definition at line 72 of file rtl8712_spec.h.

#define RTL8712_DMA_MGTQ   (RTL8712_IOBASE_FF + 0x20000)

Definition at line 65 of file rtl8712_spec.h.

#define RTL8712_DMA_RX0FF   (RTL8712_IOBASE_FF + 0x80000)

Definition at line 71 of file rtl8712_spec.h.

#define RTL8712_DMA_VIQ   (RTL8712_IOBASE_FF + 0x50000)

Definition at line 68 of file rtl8712_spec.h.

#define RTL8712_DMA_VOQ   (RTL8712_IOBASE_FF + 0x40000)

Definition at line 67 of file rtl8712_spec.h.

#define RTL8712_EDCASETTING_   (RTL8712_IOBASE_IOREG + 0x1D0)

Definition at line 53 of file rtl8712_spec.h.

#define RTL8712_FIFOCTRL_   (RTL8712_IOBASE_IOREG + 0xA0)

Definition at line 51 of file rtl8712_spec.h.

#define RTL8712_GP_   (RTL8712_IOBASE_IOREG + 0x2E0)

Definition at line 57 of file rtl8712_spec.h.

#define RTL8712_INTERRUPT_   (RTL8712_IOBASE_IOREG + 0x300)

Definition at line 58 of file rtl8712_spec.h.

#define RTL8712_IOBASE_ACCESS_PHYREG   0x102B0000 /*IOBASE_ACCESS_PHYREG*/

Definition at line 41 of file rtl8712_spec.h.

#define RTL8712_IOBASE_FF   0x10300000 /*IOBASE_FIFO 0x1031000~0x103AFFFF*/

Definition at line 43 of file rtl8712_spec.h.

#define RTL8712_IOBASE_FW2HW   0x102A0000 /*IOBASE_FW2HW*/

Definition at line 40 of file rtl8712_spec.h.

#define RTL8712_IOBASE_IOREG   0x10250000 /*IOBASE_IOREG ADDR*/

Definition at line 34 of file rtl8712_spec.h.

#define RTL8712_IOBASE_RXCMD   0x10220000 /*IOBASE_RXCMD*/

Definition at line 31 of file rtl8712_spec.h.

#define RTL8712_IOBASE_RXPKT   0x10210000 /*IOBASE_RXPKT*/

Definition at line 30 of file rtl8712_spec.h.

#define RTL8712_IOBASE_RXSTATUS   0x10240000 /*IOBASE_RXSTATUS*/

Definition at line 33 of file rtl8712_spec.h.

#define RTL8712_IOBASE_SCHEDULER   0x10260000 /*IOBASE_SCHEDULE*/

Definition at line 35 of file rtl8712_spec.h.

#define RTL8712_IOBASE_TRXDMA   0x10270000 /*IOBASE_TRXDMA*/

Definition at line 37 of file rtl8712_spec.h.

#define RTL8712_IOBASE_TXLLT   0x10280000 /*IOBASE_TXLLT*/

Definition at line 38 of file rtl8712_spec.h.

#define RTL8712_IOBASE_TXPKT   0x10200000 /*IOBASE_TXPKT*/

Definition at line 29 of file rtl8712_spec.h.

#define RTL8712_IOBASE_TXSTATUS   0x10230000 /*IOBASE_TXSTATUS*/

Definition at line 32 of file rtl8712_spec.h.

#define RTL8712_IOBASE_WMAC   0x10290000 /*IOBASE_WMAC*/

Definition at line 39 of file rtl8712_spec.h.

#define RTL8712_MACIDSETTING_   (RTL8712_IOBASE_IOREG + 0x50)

Definition at line 49 of file rtl8712_spec.h.

#define RTL8712_OFFLOAD_   (RTL8712_IOBASE_IOREG + 0x2D0)

Definition at line 60 of file rtl8712_spec.h.

#define RTL8712_POWERSAVE_   (RTL8712_IOBASE_IOREG + 0x260)

Definition at line 56 of file rtl8712_spec.h.

#define RTL8712_RATECTRL_   (RTL8712_IOBASE_IOREG + 0x160)

Definition at line 52 of file rtl8712_spec.h.

#define RTL8712_SECURITY_   (RTL8712_IOBASE_IOREG + 0x240)

Definition at line 55 of file rtl8712_spec.h.

#define RTL8712_SYSCFG_   RTL8712_IOBASE_IOREG

Definition at line 47 of file rtl8712_spec.h.

#define RTL8712_TIMECTRL_   (RTL8712_IOBASE_IOREG + 0x80)

Definition at line 50 of file rtl8712_spec.h.

#define RTL8712_WMAC_   (RTL8712_IOBASE_IOREG + 0x200)

Definition at line 54 of file rtl8712_spec.h.

#define VI_QID_01   4

Definition at line 109 of file rtl8712_spec.h.

#define VI_QID_02   5

Definition at line 110 of file rtl8712_spec.h.

#define VO_QID_01   6

Definition at line 111 of file rtl8712_spec.h.

#define VO_QID_02   7

Definition at line 112 of file rtl8712_spec.h.