Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
adm8211.h File Reference

Go to the source code of this file.

Data Structures

struct  adm8211_csr
 
struct  adm8211_desc
 
struct  adm8211_rx_ring_info
 
struct  adm8211_tx_ring_info
 
struct  adm8211_tx_hdr
 
struct  adm8211_eeprom
 
struct  adm8211_priv
 
struct  ieee80211_chan_range
 

Macros

#define ADM8211_SIG1   0x82011317 /* ADM8211A */
 
#define ADM8211_SIG2   0x82111317 /* ADM8211B/ADM8211C */
 
#define ADM8211_CSR_READ(r)   ioread32(&priv->map->r)
 
#define ADM8211_CSR_WRITE(r, val)   iowrite32((val), &priv->map->r)
 
#define ADM8211_PAR_MWIE   (1 << 24)
 
#define ADM8211_PAR_MRLE   (1 << 23)
 
#define ADM8211_PAR_MRME   (1 << 21)
 
#define ADM8211_PAR_RAP   ((1 << 18) | (1 << 17))
 
#define ADM8211_PAR_CAL   ((1 << 15) | (1 << 14))
 
#define ADM8211_PAR_PBL   0x00003f00
 
#define ADM8211_PAR_BLE   (1 << 7)
 
#define ADM8211_PAR_DSL   0x0000007c
 
#define ADM8211_PAR_BAR   (1 << 1)
 
#define ADM8211_PAR_SWR   (1 << 0)
 
#define ADM8211_FRCTL_PWRMGT   (1 << 31)
 
#define ADM8211_FRCTL_MAXPSP   (1 << 27)
 
#define ADM8211_FRCTL_DRVPRSP   (1 << 26)
 
#define ADM8211_FRCTL_DRVBCON   (1 << 25)
 
#define ADM8211_FRCTL_AID   0x0000ffff
 
#define ADM8211_FRCTL_AID_ON   0x0000c000
 
#define ADM8211_STSR_PCF   (1 << 31)
 
#define ADM8211_STSR_BCNTC   (1 << 30)
 
#define ADM8211_STSR_GPINT   (1 << 29)
 
#define ADM8211_STSR_LinkOff   (1 << 28)
 
#define ADM8211_STSR_ATIMTC   (1 << 27)
 
#define ADM8211_STSR_TSFTF   (1 << 26)
 
#define ADM8211_STSR_TSCZ   (1 << 25)
 
#define ADM8211_STSR_LinkOn   (1 << 24)
 
#define ADM8211_STSR_SQL   (1 << 23)
 
#define ADM8211_STSR_WEPTD   (1 << 22)
 
#define ADM8211_STSR_ATIME   (1 << 21)
 
#define ADM8211_STSR_TBTT   (1 << 20)
 
#define ADM8211_STSR_NISS   (1 << 16)
 
#define ADM8211_STSR_AISS   (1 << 15)
 
#define ADM8211_STSR_TEIS   (1 << 14)
 
#define ADM8211_STSR_FBE   (1 << 13)
 
#define ADM8211_STSR_REIS   (1 << 12)
 
#define ADM8211_STSR_GPTT   (1 << 11)
 
#define ADM8211_STSR_RPS   (1 << 8)
 
#define ADM8211_STSR_RDU   (1 << 7)
 
#define ADM8211_STSR_RCI   (1 << 6)
 
#define ADM8211_STSR_TUF   (1 << 5)
 
#define ADM8211_STSR_TRT   (1 << 4)
 
#define ADM8211_STSR_TLT   (1 << 3)
 
#define ADM8211_STSR_TDU   (1 << 2)
 
#define ADM8211_STSR_TPS   (1 << 1)
 
#define ADM8211_STSR_TCI   (1 << 0)
 
#define ADM8211_NAR_TXCF   (1 << 31)
 
#define ADM8211_NAR_HF   (1 << 30)
 
#define ADM8211_NAR_UTR   (1 << 29)
 
#define ADM8211_NAR_SQ   (1 << 28)
 
#define ADM8211_NAR_CFP   (1 << 27)
 
#define ADM8211_NAR_SF   (1 << 21)
 
#define ADM8211_NAR_TR   ((1 << 15) | (1 << 14))
 
#define ADM8211_NAR_ST   (1 << 13)
 
#define ADM8211_NAR_OM   ((1 << 11) | (1 << 10))
 
#define ADM8211_NAR_MM   (1 << 7)
 
#define ADM8211_NAR_PR   (1 << 6)
 
#define ADM8211_NAR_EA   (1 << 5)
 
#define ADM8211_NAR_PB   (1 << 3)
 
#define ADM8211_NAR_STPDMA   (1 << 2)
 
#define ADM8211_NAR_SR   (1 << 1)
 
#define ADM8211_NAR_CTX   (1 << 0)
 
#define ADM8211_IDLE()
 
#define ADM8211_IDLE_RX()
 
#define ADM8211_RESTORE()
 
#define ADM8211_IER_PCFIE   (1 << 31)
 
#define ADM8211_IER_BCNTCIE   (1 << 30)
 
#define ADM8211_IER_GPIE   (1 << 29)
 
#define ADM8211_IER_LinkOffIE   (1 << 28)
 
#define ADM8211_IER_ATIMTCIE   (1 << 27)
 
#define ADM8211_IER_TSFTFIE   (1 << 26)
 
#define ADM8211_IER_TSCZE   (1 << 25)
 
#define ADM8211_IER_LinkOnIE   (1 << 24)
 
#define ADM8211_IER_SQLIE   (1 << 23)
 
#define ADM8211_IER_WEPIE   (1 << 22)
 
#define ADM8211_IER_ATIMEIE   (1 << 21)
 
#define ADM8211_IER_TBTTIE   (1 << 20)
 
#define ADM8211_IER_NIE   (1 << 16)
 
#define ADM8211_IER_AIE   (1 << 15)
 
#define ADM8211_IER_TEIE   (1 << 14)
 
#define ADM8211_IER_FBEIE   (1 << 13)
 
#define ADM8211_IER_REIE   (1 << 12)
 
#define ADM8211_IER_GPTIE   (1 << 11)
 
#define ADM8211_IER_RSIE   (1 << 8)
 
#define ADM8211_IER_RUIE   (1 << 7)
 
#define ADM8211_IER_RCIE   (1 << 6)
 
#define ADM8211_IER_TUIE   (1 << 5)
 
#define ADM8211_IER_TRTIE   (1 << 4)
 
#define ADM8211_IER_TLTTIE   (1 << 3)
 
#define ADM8211_IER_TDUIE   (1 << 2)
 
#define ADM8211_IER_TPSIE   (1 << 1)
 
#define ADM8211_IER_TCIE   (1 << 0)
 
#define ADM8211_SPR_SRS   (1 << 11)
 
#define ADM8211_SPR_SDO   (1 << 3)
 
#define ADM8211_SPR_SDI   (1 << 2)
 
#define ADM8211_SPR_SCLK   (1 << 1)
 
#define ADM8211_SPR_SCS   (1 << 0)
 
#define ADM8211_CSR_TEST0_EPNE   (1 << 18)
 
#define ADM8211_CSR_TEST0_EPSNM   (1 << 17)
 
#define ADM8211_CSR_TEST0_EPTYP   (1 << 16)
 
#define ADM8211_CSR_TEST0_EPRLD   (1 << 15)
 
#define ADM8211_WCSR_CRCT   (1 << 30)
 
#define ADM8211_WCSR_TSFTWE   (1 << 20)
 
#define ADM8211_WCSR_TIMWE   (1 << 19)
 
#define ADM8211_WCSR_ATIMWE   (1 << 18)
 
#define ADM8211_WCSR_KEYWE   (1 << 17)
 
#define ADM8211_WCSR_MPRE   (1 << 9)
 
#define ADM8211_WCSR_LSOE   (1 << 8)
 
#define ADM8211_WCSR_KEYUP   (1 << 6)
 
#define ADM8211_WCSR_TSFTW   (1 << 5)
 
#define ADM8211_WCSR_TIMW   (1 << 4)
 
#define ADM8211_WCSR_ATIMW   (1 << 3)
 
#define ADM8211_WCSR_MPR   (1 << 1)
 
#define ADM8211_WCSR_LSO   (1 << 0)
 
#define ADM8211_CSR_GPIO_EN5   (1 << 17)
 
#define ADM8211_CSR_GPIO_EN4   (1 << 16)
 
#define ADM8211_CSR_GPIO_EN3   (1 << 15)
 
#define ADM8211_CSR_GPIO_EN2   (1 << 14)
 
#define ADM8211_CSR_GPIO_EN1   (1 << 13)
 
#define ADM8211_CSR_GPIO_EN0   (1 << 12)
 
#define ADM8211_CSR_GPIO_O5   (1 << 11)
 
#define ADM8211_CSR_GPIO_O4   (1 << 10)
 
#define ADM8211_CSR_GPIO_O3   (1 << 9)
 
#define ADM8211_CSR_GPIO_O2   (1 << 8)
 
#define ADM8211_CSR_GPIO_O1   (1 << 7)
 
#define ADM8211_CSR_GPIO_O0   (1 << 6)
 
#define ADM8211_CSR_GPIO_IN   0x0000003f
 
#define ADM8211_BBPCTL_MMISEL   (1 << 31)
 
#define ADM8211_BBPCTL_SPICADD   (0x7F << 24)
 
#define ADM8211_BBPCTL_RF3000   (0x20 << 24)
 
#define ADM8211_BBPCTL_TXCE   (1 << 23)
 
#define ADM8211_BBPCTL_RXCE   (1 << 22)
 
#define ADM8211_BBPCTL_CCAP   (1 << 21)
 
#define ADM8211_BBPCTL_TYPE   0x001c0000
 
#define ADM8211_BBPCTL_WR   (1 << 17)
 
#define ADM8211_BBPCTL_RD   (1 << 16)
 
#define ADM8211_BBPCTL_ADDR   0x0000ff00
 
#define ADM8211_BBPCTL_DATA   0x000000ff
 
#define ADM8211_SYNCTL_WR   (1 << 31)
 
#define ADM8211_SYNCTL_RD   (1 << 30)
 
#define ADM8211_SYNCTL_CS0   (1 << 29)
 
#define ADM8211_SYNCTL_CS1   (1 << 28)
 
#define ADM8211_SYNCTL_CAL   (1 << 27)
 
#define ADM8211_SYNCTL_SELCAL   (1 << 26)
 
#define ADM8211_SYNCTL_RFtype   ((1 << 24) | (1 << 23) | (1 << 22))
 
#define ADM8211_SYNCTL_RFMD   (1 << 22)
 
#define ADM8211_SYNCTL_GENERAL   (0x7 << 22)
 
#define ADM8211_CMDR_PM   (1 << 19)
 
#define ADM8211_CMDR_APM   (1 << 18)
 
#define ADM8211_CMDR_RTE   (1 << 4)
 
#define ADM8211_CMDR_DRT   ((1 << 3) | (1 << 2))
 
#define ADM8211_CMDR_DRT_8DW   (0x0 << 2)
 
#define ADM8211_CMDR_DRT_16DW   (0x1 << 2)
 
#define ADM8211_CMDR_DRT_SF   (0x2 << 2)
 
#define ADM8211_SYNRF_SELSYN   (1 << 31)
 
#define ADM8211_SYNRF_SELRF   (1 << 30)
 
#define ADM8211_SYNRF_LERF   (1 << 29)
 
#define ADM8211_SYNRF_LEIF   (1 << 28)
 
#define ADM8211_SYNRF_SYNCLK   (1 << 27)
 
#define ADM8211_SYNRF_SYNDATA   (1 << 26)
 
#define ADM8211_SYNRF_PE1   (1 << 25)
 
#define ADM8211_SYNRF_PE2   (1 << 24)
 
#define ADM8211_SYNRF_PA_PE   (1 << 23)
 
#define ADM8211_SYNRF_TR_SW   (1 << 22)
 
#define ADM8211_SYNRF_TR_SWN   (1 << 21)
 
#define ADM8211_SYNRF_RADIO   (1 << 20)
 
#define ADM8211_SYNRF_CAL_EN   (1 << 19)
 
#define ADM8211_SYNRF_PHYRST   (1 << 18)
 
#define ADM8211_SYNRF_IF_SELECT_0   (1 << 31)
 
#define ADM8211_SYNRF_IF_SELECT_1   ((1 << 31) | (1 << 28))
 
#define ADM8211_SYNRF_WRITE_SYNDATA_0   (1 << 31)
 
#define ADM8211_SYNRF_WRITE_SYNDATA_1   ((1 << 31) | (1 << 26))
 
#define ADM8211_SYNRF_WRITE_CLOCK_0   (1 << 31)
 
#define ADM8211_SYNRF_WRITE_CLOCK_1   ((1 << 31) | (1 << 27))
 
#define ADM8211_WEPCTL_WEPENABLE   (1 << 31)
 
#define ADM8211_WEPCTL_WPAENABLE   (1 << 30)
 
#define ADM8211_WEPCTL_CURRENT_TABLE   (1 << 29)
 
#define ADM8211_WEPCTL_TABLE_WR   (1 << 28)
 
#define ADM8211_WEPCTL_TABLE_RD   (1 << 27)
 
#define ADM8211_WEPCTL_WEPRXBYP   (1 << 25)
 
#define ADM8211_WEPCTL_SEL_WEPTABLE   (1 << 23)
 
#define ADM8211_WEPCTL_ADDR   (0x000001ff)
 
#define ADM8211_WESK_DATA   (0x0000ffff)
 
#define ADM8211_FER_INTR_EV_ENT   (1 << 15)
 
#define SI4126_MAIN_CONF   0
 
#define SI4126_PHASE_DET_GAIN   1
 
#define SI4126_POWERDOWN   2
 
#define SI4126_RF1_N_DIV   3 /* only Si4136 */
 
#define SI4126_RF2_N_DIV   4
 
#define SI4126_IF_N_DIV   5
 
#define SI4126_RF1_R_DIV   6 /* only Si4136 */
 
#define SI4126_RF2_R_DIV   7
 
#define SI4126_IF_R_DIV   8
 
#define SI4126_MAIN_XINDIV2   (1 << 6)
 
#define SI4126_MAIN_IFDIV   ((1 << 11) | (1 << 10))
 
#define SI4126_POWERDOWN_PDIB   (1 << 1)
 
#define SI4126_POWERDOWN_PDRB   (1 << 0)
 
#define RF3000_MODEM_CTRL__RX_STATUS   0x01
 
#define RF3000_CCA_CTRL   0x02
 
#define RF3000_DIVERSITY__RSSI   0x03
 
#define RF3000_RX_SIGNAL_FIELD   0x04
 
#define RF3000_RX_LEN_MSB   0x05
 
#define RF3000_RX_LEN_LSB   0x06
 
#define RF3000_RX_SERVICE_FIELD   0x07
 
#define RF3000_TX_VAR_GAIN__TX_LEN_EXT   0x11
 
#define RF3000_TX_LEN_MSB   0x12
 
#define RF3000_TX_LEN_LSB   0x13
 
#define RF3000_LOW_GAIN_CALIB   0x14
 
#define RF3000_HIGH_GAIN_CALIB   0x15
 
#define ADM8211_REV_AB   0x11
 
#define ADM8211_REV_AF   0x15
 
#define ADM8211_REV_BA   0x20
 
#define ADM8211_REV_CA   0x30
 
#define RDES0_STATUS_OWN   (1 << 31)
 
#define RDES0_STATUS_ES   (1 << 30)
 
#define RDES0_STATUS_SQL   (1 << 29)
 
#define RDES0_STATUS_DE   (1 << 28)
 
#define RDES0_STATUS_FS   (1 << 27)
 
#define RDES0_STATUS_LS   (1 << 26)
 
#define RDES0_STATUS_PCF   (1 << 25)
 
#define RDES0_STATUS_SFDE   (1 << 24)
 
#define RDES0_STATUS_SIGE   (1 << 23)
 
#define RDES0_STATUS_CRC16E   (1 << 22)
 
#define RDES0_STATUS_RXTOE   (1 << 21)
 
#define RDES0_STATUS_CRC32E   (1 << 20)
 
#define RDES0_STATUS_ICVE   (1 << 19)
 
#define RDES0_STATUS_DA1   (1 << 17)
 
#define RDES0_STATUS_DA0   (1 << 16)
 
#define RDES0_STATUS_RXDR   ((1 << 15) | (1 << 14) | (1 << 13) | (1 << 12))
 
#define RDES0_STATUS_FL   (0x00000fff)
 
#define RDES1_CONTROL_RER   (1 << 25)
 
#define RDES1_CONTROL_RCH   (1 << 24)
 
#define RDES1_CONTROL_RBS2   (0x00fff000)
 
#define RDES1_CONTROL_RBS1   (0x00000fff)
 
#define RDES1_STATUS_RSSI   (0x0000007f)
 
#define TDES0_CONTROL_OWN   (1 << 31)
 
#define TDES0_CONTROL_DONE   (1 << 30)
 
#define TDES0_CONTROL_TXDR   (0x0ff00000)
 
#define TDES0_STATUS_OWN   (1 << 31)
 
#define TDES0_STATUS_DONE   (1 << 30)
 
#define TDES0_STATUS_ES   (1 << 29)
 
#define TDES0_STATUS_TLT   (1 << 28)
 
#define TDES0_STATUS_TRT   (1 << 27)
 
#define TDES0_STATUS_TUF   (1 << 26)
 
#define TDES0_STATUS_TRO   (1 << 25)
 
#define TDES0_STATUS_SOFBR   (1 << 24)
 
#define TDES0_STATUS_ACR   (0x00000fff)
 
#define TDES1_CONTROL_IC   (1 << 31)
 
#define TDES1_CONTROL_LS   (1 << 30)
 
#define TDES1_CONTROL_FS   (1 << 29)
 
#define TDES1_CONTROL_TER   (1 << 25)
 
#define TDES1_CONTROL_TCH   (1 << 24)
 
#define TDES1_CONTROL_RBS2   (0x00fff000)
 
#define TDES1_CONTROL_RBS1   (0x00000fff)
 
#define ADM8211_SRAM(x)
 
#define ADM8211_SRAM_INDIV_KEY   0x0000
 
#define ADM8211_SRAM_A_SHARE_KEY   0x0160
 
#define ADM8211_SRAM_B_SHARE_KEY   0x00c0
 
#define ADM8211_SRAM_A_SSID   0x0180
 
#define ADM8211_SRAM_B_SSID   0x00d4
 
#define ADM8211_SRAM_SSID   ADM8211_SRAM(SSID)
 
#define ADM8211_SRAM_A_SUPP_RATE   0x0191
 
#define ADM8211_SRAM_B_SUPP_RATE   0x00dd
 
#define ADM8211_SRAM_SUPP_RATE   ADM8211_SRAM(SUPP_RATE)
 
#define ADM8211_SRAM_A_SIZE   0x0200
 
#define ADM8211_SRAM_B_SIZE   0x01c0
 
#define ADM8211_SRAM_SIZE   ADM8211_SRAM(SIZE)
 
#define PLCP_SIGNAL_1M   0x0a
 
#define PLCP_SIGNAL_2M   0x14
 
#define PLCP_SIGNAL_5M5   0x37
 
#define PLCP_SIGNAL_11M   0x6e
 
#define ADM8211_TXHDRCTL_SHORT_PREAMBLE   (1 << 0)
 
#define ADM8211_TXHDRCTL_MORE_FRAG   (1 << 1)
 
#define ADM8211_TXHDRCTL_MORE_DATA   (1 << 2)
 
#define ADM8211_TXHDRCTL_FRAG_NO   (1 << 3) /* ? */
 
#define ADM8211_TXHDRCTL_ENABLE_RTS   (1 << 4)
 
#define ADM8211_TXHDRCTL_ENABLE_WEP_ENGINE   (1 << 5)
 
#define ADM8211_TXHDRCTL_ENABLE_EXTEND_HEADER   (1 << 15) /* ? */
 
#define RX_COPY_BREAK   128
 
#define RX_PKT_SIZE   2500
 
#define ADM8211_BBP_RFMD3000   0x00
 
#define ADM8211_BBP_RFMD3002   0x01
 
#define ADM8211_BBP_ADM8011   0x04
 
#define ADM8211_TYPE_INTERSIL   0x00
 
#define ADM8211_TYPE_RFMD   0x01
 
#define ADM8211_TYPE_MARVEL   0x02
 
#define ADM8211_TYPE_AIROHA   0x03
 
#define ADM8211_TYPE_ADMTEK   0x05
 

Variables

struct adm8211_csr __packed
 

Macro Definition Documentation

#define ADM8211_BBP_ADM8011   0x04

Definition at line 509 of file adm8211.h.

#define ADM8211_BBP_RFMD3000   0x00

Definition at line 507 of file adm8211.h.

#define ADM8211_BBP_RFMD3002   0x01

Definition at line 508 of file adm8211.h.

#define ADM8211_BBPCTL_ADDR   0x0000ff00

Definition at line 259 of file adm8211.h.

#define ADM8211_BBPCTL_CCAP   (1 << 21)

Definition at line 255 of file adm8211.h.

#define ADM8211_BBPCTL_DATA   0x000000ff

Definition at line 260 of file adm8211.h.

#define ADM8211_BBPCTL_MMISEL   (1 << 31)

Definition at line 250 of file adm8211.h.

#define ADM8211_BBPCTL_RD   (1 << 16)

Definition at line 258 of file adm8211.h.

#define ADM8211_BBPCTL_RF3000   (0x20 << 24)

Definition at line 252 of file adm8211.h.

#define ADM8211_BBPCTL_RXCE   (1 << 22)

Definition at line 254 of file adm8211.h.

#define ADM8211_BBPCTL_SPICADD   (0x7F << 24)

Definition at line 251 of file adm8211.h.

#define ADM8211_BBPCTL_TXCE   (1 << 23)

Definition at line 253 of file adm8211.h.

#define ADM8211_BBPCTL_TYPE   0x001c0000

Definition at line 256 of file adm8211.h.

#define ADM8211_BBPCTL_WR   (1 << 17)

Definition at line 257 of file adm8211.h.

#define ADM8211_CMDR_APM   (1 << 18)

Definition at line 276 of file adm8211.h.

#define ADM8211_CMDR_DRT   ((1 << 3) | (1 << 2))

Definition at line 278 of file adm8211.h.

#define ADM8211_CMDR_DRT_16DW   (0x1 << 2)

Definition at line 280 of file adm8211.h.

#define ADM8211_CMDR_DRT_8DW   (0x0 << 2)

Definition at line 279 of file adm8211.h.

#define ADM8211_CMDR_DRT_SF   (0x2 << 2)

Definition at line 281 of file adm8211.h.

#define ADM8211_CMDR_PM   (1 << 19)

Definition at line 275 of file adm8211.h.

#define ADM8211_CMDR_RTE   (1 << 4)

Definition at line 277 of file adm8211.h.

#define ADM8211_CSR_GPIO_EN0   (1 << 12)

Definition at line 240 of file adm8211.h.

#define ADM8211_CSR_GPIO_EN1   (1 << 13)

Definition at line 239 of file adm8211.h.

#define ADM8211_CSR_GPIO_EN2   (1 << 14)

Definition at line 238 of file adm8211.h.

#define ADM8211_CSR_GPIO_EN3   (1 << 15)

Definition at line 237 of file adm8211.h.

#define ADM8211_CSR_GPIO_EN4   (1 << 16)

Definition at line 236 of file adm8211.h.

#define ADM8211_CSR_GPIO_EN5   (1 << 17)

Definition at line 235 of file adm8211.h.

#define ADM8211_CSR_GPIO_IN   0x0000003f

Definition at line 247 of file adm8211.h.

#define ADM8211_CSR_GPIO_O0   (1 << 6)

Definition at line 246 of file adm8211.h.

#define ADM8211_CSR_GPIO_O1   (1 << 7)

Definition at line 245 of file adm8211.h.

#define ADM8211_CSR_GPIO_O2   (1 << 8)

Definition at line 244 of file adm8211.h.

#define ADM8211_CSR_GPIO_O3   (1 << 9)

Definition at line 243 of file adm8211.h.

#define ADM8211_CSR_GPIO_O4   (1 << 10)

Definition at line 242 of file adm8211.h.

#define ADM8211_CSR_GPIO_O5   (1 << 11)

Definition at line 241 of file adm8211.h.

#define ADM8211_CSR_READ (   r)    ioread32(&priv->map->r)

Definition at line 10 of file adm8211.h.

#define ADM8211_CSR_TEST0_EPNE   (1 << 18)

Definition at line 214 of file adm8211.h.

#define ADM8211_CSR_TEST0_EPRLD   (1 << 15)

Definition at line 217 of file adm8211.h.

#define ADM8211_CSR_TEST0_EPSNM   (1 << 17)

Definition at line 215 of file adm8211.h.

#define ADM8211_CSR_TEST0_EPTYP   (1 << 16)

Definition at line 216 of file adm8211.h.

#define ADM8211_CSR_WRITE (   r,
  val 
)    iowrite32((val), &priv->map->r)

Definition at line 11 of file adm8211.h.

#define ADM8211_FER_INTR_EV_ENT   (1 << 15)

Definition at line 320 of file adm8211.h.

#define ADM8211_FRCTL_AID   0x0000ffff

Definition at line 102 of file adm8211.h.

#define ADM8211_FRCTL_AID_ON   0x0000c000

Definition at line 103 of file adm8211.h.

#define ADM8211_FRCTL_DRVBCON   (1 << 25)

Definition at line 101 of file adm8211.h.

#define ADM8211_FRCTL_DRVPRSP   (1 << 26)

Definition at line 100 of file adm8211.h.

#define ADM8211_FRCTL_MAXPSP   (1 << 27)

Definition at line 99 of file adm8211.h.

#define ADM8211_FRCTL_PWRMGT   (1 << 31)

Definition at line 98 of file adm8211.h.

#define ADM8211_IDLE ( )
Value:
do { \
if (priv->nar & (ADM8211_NAR_SR | ADM8211_NAR_ST)) { \
ADM8211_CSR_WRITE(NAR, priv->nar & \
ADM8211_CSR_READ(NAR); \
msleep(20); \
} \
} while (0)

Definition at line 152 of file adm8211.h.

#define ADM8211_IDLE_RX ( )
Value:
do { \
if (priv->nar & ADM8211_NAR_SR) { \
ADM8211_CSR_WRITE(NAR, priv->nar & ~ADM8211_NAR_SR); \
ADM8211_CSR_READ(NAR); \
mdelay(20); \
} \
} while (0)

Definition at line 162 of file adm8211.h.

#define ADM8211_IER_AIE   (1 << 15)

Definition at line 191 of file adm8211.h.

#define ADM8211_IER_ATIMEIE   (1 << 21)

Definition at line 188 of file adm8211.h.

#define ADM8211_IER_ATIMTCIE   (1 << 27)

Definition at line 182 of file adm8211.h.

#define ADM8211_IER_BCNTCIE   (1 << 30)

Definition at line 179 of file adm8211.h.

#define ADM8211_IER_FBEIE   (1 << 13)

Definition at line 193 of file adm8211.h.

#define ADM8211_IER_GPIE   (1 << 29)

Definition at line 180 of file adm8211.h.

#define ADM8211_IER_GPTIE   (1 << 11)

Definition at line 195 of file adm8211.h.

#define ADM8211_IER_LinkOffIE   (1 << 28)

Definition at line 181 of file adm8211.h.

#define ADM8211_IER_LinkOnIE   (1 << 24)

Definition at line 185 of file adm8211.h.

#define ADM8211_IER_NIE   (1 << 16)

Definition at line 190 of file adm8211.h.

#define ADM8211_IER_PCFIE   (1 << 31)

Definition at line 178 of file adm8211.h.

#define ADM8211_IER_RCIE   (1 << 6)

Definition at line 198 of file adm8211.h.

#define ADM8211_IER_REIE   (1 << 12)

Definition at line 194 of file adm8211.h.

#define ADM8211_IER_RSIE   (1 << 8)

Definition at line 196 of file adm8211.h.

#define ADM8211_IER_RUIE   (1 << 7)

Definition at line 197 of file adm8211.h.

#define ADM8211_IER_SQLIE   (1 << 23)

Definition at line 186 of file adm8211.h.

#define ADM8211_IER_TBTTIE   (1 << 20)

Definition at line 189 of file adm8211.h.

#define ADM8211_IER_TCIE   (1 << 0)

Definition at line 204 of file adm8211.h.

#define ADM8211_IER_TDUIE   (1 << 2)

Definition at line 202 of file adm8211.h.

#define ADM8211_IER_TEIE   (1 << 14)

Definition at line 192 of file adm8211.h.

#define ADM8211_IER_TLTTIE   (1 << 3)

Definition at line 201 of file adm8211.h.

#define ADM8211_IER_TPSIE   (1 << 1)

Definition at line 203 of file adm8211.h.

#define ADM8211_IER_TRTIE   (1 << 4)

Definition at line 200 of file adm8211.h.

#define ADM8211_IER_TSCZE   (1 << 25)

Definition at line 184 of file adm8211.h.

#define ADM8211_IER_TSFTFIE   (1 << 26)

Definition at line 183 of file adm8211.h.

#define ADM8211_IER_TUIE   (1 << 5)

Definition at line 199 of file adm8211.h.

#define ADM8211_IER_WEPIE   (1 << 22)

Definition at line 187 of file adm8211.h.

#define ADM8211_NAR_CFP   (1 << 27)

Definition at line 139 of file adm8211.h.

#define ADM8211_NAR_CTX   (1 << 0)

Definition at line 150 of file adm8211.h.

#define ADM8211_NAR_EA   (1 << 5)

Definition at line 146 of file adm8211.h.

#define ADM8211_NAR_HF   (1 << 30)

Definition at line 136 of file adm8211.h.

#define ADM8211_NAR_MM   (1 << 7)

Definition at line 144 of file adm8211.h.

#define ADM8211_NAR_OM   ((1 << 11) | (1 << 10))

Definition at line 143 of file adm8211.h.

#define ADM8211_NAR_PB   (1 << 3)

Definition at line 147 of file adm8211.h.

#define ADM8211_NAR_PR   (1 << 6)

Definition at line 145 of file adm8211.h.

#define ADM8211_NAR_SF   (1 << 21)

Definition at line 140 of file adm8211.h.

#define ADM8211_NAR_SQ   (1 << 28)

Definition at line 138 of file adm8211.h.

#define ADM8211_NAR_SR   (1 << 1)

Definition at line 149 of file adm8211.h.

#define ADM8211_NAR_ST   (1 << 13)

Definition at line 142 of file adm8211.h.

#define ADM8211_NAR_STPDMA   (1 << 2)

Definition at line 148 of file adm8211.h.

#define ADM8211_NAR_TR   ((1 << 15) | (1 << 14))

Definition at line 141 of file adm8211.h.

#define ADM8211_NAR_TXCF   (1 << 31)

Definition at line 135 of file adm8211.h.

#define ADM8211_NAR_UTR   (1 << 29)

Definition at line 137 of file adm8211.h.

#define ADM8211_PAR_BAR   (1 << 1)

Definition at line 94 of file adm8211.h.

#define ADM8211_PAR_BLE   (1 << 7)

Definition at line 92 of file adm8211.h.

#define ADM8211_PAR_CAL   ((1 << 15) | (1 << 14))

Definition at line 90 of file adm8211.h.

#define ADM8211_PAR_DSL   0x0000007c

Definition at line 93 of file adm8211.h.

#define ADM8211_PAR_MRLE   (1 << 23)

Definition at line 87 of file adm8211.h.

#define ADM8211_PAR_MRME   (1 << 21)

Definition at line 88 of file adm8211.h.

#define ADM8211_PAR_MWIE   (1 << 24)

Definition at line 86 of file adm8211.h.

#define ADM8211_PAR_PBL   0x00003f00

Definition at line 91 of file adm8211.h.

#define ADM8211_PAR_RAP   ((1 << 18) | (1 << 17))

Definition at line 89 of file adm8211.h.

#define ADM8211_PAR_SWR   (1 << 0)

Definition at line 95 of file adm8211.h.

#define ADM8211_RESTORE ( )
Value:
do { \
ADM8211_CSR_WRITE(NAR, priv->nar); \
} while (0)

Definition at line 171 of file adm8211.h.

#define ADM8211_REV_AB   0x11

Definition at line 358 of file adm8211.h.

#define ADM8211_REV_AF   0x15

Definition at line 359 of file adm8211.h.

#define ADM8211_REV_BA   0x20

Definition at line 360 of file adm8211.h.

#define ADM8211_REV_CA   0x30

Definition at line 361 of file adm8211.h.

#define ADM8211_SIG1   0x82011317 /* ADM8211A */

Definition at line 7 of file adm8211.h.

#define ADM8211_SIG2   0x82111317 /* ADM8211B/ADM8211C */

Definition at line 8 of file adm8211.h.

#define ADM8211_SPR_SCLK   (1 << 1)

Definition at line 210 of file adm8211.h.

#define ADM8211_SPR_SCS   (1 << 0)

Definition at line 211 of file adm8211.h.

#define ADM8211_SPR_SDI   (1 << 2)

Definition at line 209 of file adm8211.h.

#define ADM8211_SPR_SDO   (1 << 3)

Definition at line 208 of file adm8211.h.

#define ADM8211_SPR_SRS   (1 << 11)

Definition at line 207 of file adm8211.h.

#define ADM8211_SRAM (   x)
Value:
(priv->pdev->revision < ADM8211_REV_BA ? \
ADM8211_SRAM_A_ ## x : ADM8211_SRAM_B_ ## x)

Definition at line 419 of file adm8211.h.

#define ADM8211_SRAM_A_SHARE_KEY   0x0160

Definition at line 423 of file adm8211.h.

#define ADM8211_SRAM_A_SIZE   0x0200

Definition at line 434 of file adm8211.h.

#define ADM8211_SRAM_A_SSID   0x0180

Definition at line 426 of file adm8211.h.

#define ADM8211_SRAM_A_SUPP_RATE   0x0191

Definition at line 430 of file adm8211.h.

#define ADM8211_SRAM_B_SHARE_KEY   0x00c0

Definition at line 424 of file adm8211.h.

#define ADM8211_SRAM_B_SIZE   0x01c0

Definition at line 435 of file adm8211.h.

#define ADM8211_SRAM_B_SSID   0x00d4

Definition at line 427 of file adm8211.h.

#define ADM8211_SRAM_B_SUPP_RATE   0x00dd

Definition at line 431 of file adm8211.h.

#define ADM8211_SRAM_INDIV_KEY   0x0000

Definition at line 422 of file adm8211.h.

#define ADM8211_SRAM_SIZE   ADM8211_SRAM(SIZE)

Definition at line 436 of file adm8211.h.

#define ADM8211_SRAM_SSID   ADM8211_SRAM(SSID)

Definition at line 428 of file adm8211.h.

#define ADM8211_SRAM_SUPP_RATE   ADM8211_SRAM(SUPP_RATE)

Definition at line 432 of file adm8211.h.

#define ADM8211_STSR_AISS   (1 << 15)

Definition at line 119 of file adm8211.h.

#define ADM8211_STSR_ATIME   (1 << 21)

Definition at line 116 of file adm8211.h.

#define ADM8211_STSR_ATIMTC   (1 << 27)

Definition at line 110 of file adm8211.h.

#define ADM8211_STSR_BCNTC   (1 << 30)

Definition at line 107 of file adm8211.h.

#define ADM8211_STSR_FBE   (1 << 13)

Definition at line 121 of file adm8211.h.

#define ADM8211_STSR_GPINT   (1 << 29)

Definition at line 108 of file adm8211.h.

#define ADM8211_STSR_GPTT   (1 << 11)

Definition at line 123 of file adm8211.h.

#define ADM8211_STSR_LinkOff   (1 << 28)

Definition at line 109 of file adm8211.h.

#define ADM8211_STSR_LinkOn   (1 << 24)

Definition at line 113 of file adm8211.h.

#define ADM8211_STSR_NISS   (1 << 16)

Definition at line 118 of file adm8211.h.

#define ADM8211_STSR_PCF   (1 << 31)

Definition at line 106 of file adm8211.h.

#define ADM8211_STSR_RCI   (1 << 6)

Definition at line 126 of file adm8211.h.

#define ADM8211_STSR_RDU   (1 << 7)

Definition at line 125 of file adm8211.h.

#define ADM8211_STSR_REIS   (1 << 12)

Definition at line 122 of file adm8211.h.

#define ADM8211_STSR_RPS   (1 << 8)

Definition at line 124 of file adm8211.h.

#define ADM8211_STSR_SQL   (1 << 23)

Definition at line 114 of file adm8211.h.

#define ADM8211_STSR_TBTT   (1 << 20)

Definition at line 117 of file adm8211.h.

#define ADM8211_STSR_TCI   (1 << 0)

Definition at line 132 of file adm8211.h.

#define ADM8211_STSR_TDU   (1 << 2)

Definition at line 130 of file adm8211.h.

#define ADM8211_STSR_TEIS   (1 << 14)

Definition at line 120 of file adm8211.h.

#define ADM8211_STSR_TLT   (1 << 3)

Definition at line 129 of file adm8211.h.

#define ADM8211_STSR_TPS   (1 << 1)

Definition at line 131 of file adm8211.h.

#define ADM8211_STSR_TRT   (1 << 4)

Definition at line 128 of file adm8211.h.

#define ADM8211_STSR_TSCZ   (1 << 25)

Definition at line 112 of file adm8211.h.

#define ADM8211_STSR_TSFTF   (1 << 26)

Definition at line 111 of file adm8211.h.

#define ADM8211_STSR_TUF   (1 << 5)

Definition at line 127 of file adm8211.h.

#define ADM8211_STSR_WEPTD   (1 << 22)

Definition at line 115 of file adm8211.h.

#define ADM8211_SYNCTL_CAL   (1 << 27)

Definition at line 267 of file adm8211.h.

#define ADM8211_SYNCTL_CS0   (1 << 29)

Definition at line 265 of file adm8211.h.

#define ADM8211_SYNCTL_CS1   (1 << 28)

Definition at line 266 of file adm8211.h.

#define ADM8211_SYNCTL_GENERAL   (0x7 << 22)

Definition at line 271 of file adm8211.h.

#define ADM8211_SYNCTL_RD   (1 << 30)

Definition at line 264 of file adm8211.h.

#define ADM8211_SYNCTL_RFMD   (1 << 22)

Definition at line 270 of file adm8211.h.

#define ADM8211_SYNCTL_RFtype   ((1 << 24) | (1 << 23) | (1 << 22))

Definition at line 269 of file adm8211.h.

#define ADM8211_SYNCTL_SELCAL   (1 << 26)

Definition at line 268 of file adm8211.h.

#define ADM8211_SYNCTL_WR   (1 << 31)

Definition at line 263 of file adm8211.h.

#define ADM8211_SYNRF_CAL_EN   (1 << 19)

Definition at line 296 of file adm8211.h.

#define ADM8211_SYNRF_IF_SELECT_0   (1 << 31)

Definition at line 299 of file adm8211.h.

#define ADM8211_SYNRF_IF_SELECT_1   ((1 << 31) | (1 << 28))

Definition at line 300 of file adm8211.h.

#define ADM8211_SYNRF_LEIF   (1 << 28)

Definition at line 287 of file adm8211.h.

#define ADM8211_SYNRF_LERF   (1 << 29)

Definition at line 286 of file adm8211.h.

#define ADM8211_SYNRF_PA_PE   (1 << 23)

Definition at line 292 of file adm8211.h.

#define ADM8211_SYNRF_PE1   (1 << 25)

Definition at line 290 of file adm8211.h.

#define ADM8211_SYNRF_PE2   (1 << 24)

Definition at line 291 of file adm8211.h.

#define ADM8211_SYNRF_PHYRST   (1 << 18)

Definition at line 297 of file adm8211.h.

#define ADM8211_SYNRF_RADIO   (1 << 20)

Definition at line 295 of file adm8211.h.

#define ADM8211_SYNRF_SELRF   (1 << 30)

Definition at line 285 of file adm8211.h.

#define ADM8211_SYNRF_SELSYN   (1 << 31)

Definition at line 284 of file adm8211.h.

#define ADM8211_SYNRF_SYNCLK   (1 << 27)

Definition at line 288 of file adm8211.h.

#define ADM8211_SYNRF_SYNDATA   (1 << 26)

Definition at line 289 of file adm8211.h.

#define ADM8211_SYNRF_TR_SW   (1 << 22)

Definition at line 293 of file adm8211.h.

#define ADM8211_SYNRF_TR_SWN   (1 << 21)

Definition at line 294 of file adm8211.h.

#define ADM8211_SYNRF_WRITE_CLOCK_0   (1 << 31)

Definition at line 303 of file adm8211.h.

#define ADM8211_SYNRF_WRITE_CLOCK_1   ((1 << 31) | (1 << 27))

Definition at line 304 of file adm8211.h.

#define ADM8211_SYNRF_WRITE_SYNDATA_0   (1 << 31)

Definition at line 301 of file adm8211.h.

#define ADM8211_SYNRF_WRITE_SYNDATA_1   ((1 << 31) | (1 << 26))

Definition at line 302 of file adm8211.h.

#define ADM8211_TXHDRCTL_ENABLE_EXTEND_HEADER   (1 << 15) /* ? */

Definition at line 472 of file adm8211.h.

#define ADM8211_TXHDRCTL_ENABLE_RTS   (1 << 4)

Definition at line 470 of file adm8211.h.

#define ADM8211_TXHDRCTL_ENABLE_WEP_ENGINE   (1 << 5)

Definition at line 471 of file adm8211.h.

#define ADM8211_TXHDRCTL_FRAG_NO   (1 << 3) /* ? */

Definition at line 469 of file adm8211.h.

#define ADM8211_TXHDRCTL_MORE_DATA   (1 << 2)

Definition at line 468 of file adm8211.h.

#define ADM8211_TXHDRCTL_MORE_FRAG   (1 << 1)

Definition at line 467 of file adm8211.h.

#define ADM8211_TXHDRCTL_SHORT_PREAMBLE   (1 << 0)

Definition at line 466 of file adm8211.h.

#define ADM8211_TYPE_ADMTEK   0x05

Definition at line 573 of file adm8211.h.

#define ADM8211_TYPE_AIROHA   0x03

Definition at line 572 of file adm8211.h.

#define ADM8211_TYPE_INTERSIL   0x00

Definition at line 569 of file adm8211.h.

#define ADM8211_TYPE_MARVEL   0x02

Definition at line 571 of file adm8211.h.

#define ADM8211_TYPE_RFMD   0x01

Definition at line 570 of file adm8211.h.

#define ADM8211_WCSR_ATIMW   (1 << 3)

Definition at line 230 of file adm8211.h.

#define ADM8211_WCSR_ATIMWE   (1 << 18)

Definition at line 223 of file adm8211.h.

#define ADM8211_WCSR_CRCT   (1 << 30)

Definition at line 220 of file adm8211.h.

#define ADM8211_WCSR_KEYUP   (1 << 6)

Definition at line 227 of file adm8211.h.

#define ADM8211_WCSR_KEYWE   (1 << 17)

Definition at line 224 of file adm8211.h.

#define ADM8211_WCSR_LSO   (1 << 0)

Definition at line 232 of file adm8211.h.

#define ADM8211_WCSR_LSOE   (1 << 8)

Definition at line 226 of file adm8211.h.

#define ADM8211_WCSR_MPR   (1 << 1)

Definition at line 231 of file adm8211.h.

#define ADM8211_WCSR_MPRE   (1 << 9)

Definition at line 225 of file adm8211.h.

#define ADM8211_WCSR_TIMW   (1 << 4)

Definition at line 229 of file adm8211.h.

#define ADM8211_WCSR_TIMWE   (1 << 19)

Definition at line 222 of file adm8211.h.

#define ADM8211_WCSR_TSFTW   (1 << 5)

Definition at line 228 of file adm8211.h.

#define ADM8211_WCSR_TSFTWE   (1 << 20)

Definition at line 221 of file adm8211.h.

#define ADM8211_WEPCTL_ADDR   (0x000001ff)

Definition at line 314 of file adm8211.h.

#define ADM8211_WEPCTL_CURRENT_TABLE   (1 << 29)

Definition at line 309 of file adm8211.h.

#define ADM8211_WEPCTL_SEL_WEPTABLE   (1 << 23)

Definition at line 313 of file adm8211.h.

#define ADM8211_WEPCTL_TABLE_RD   (1 << 27)

Definition at line 311 of file adm8211.h.

#define ADM8211_WEPCTL_TABLE_WR   (1 << 28)

Definition at line 310 of file adm8211.h.

#define ADM8211_WEPCTL_WEPENABLE   (1 << 31)

Definition at line 307 of file adm8211.h.

#define ADM8211_WEPCTL_WEPRXBYP   (1 << 25)

Definition at line 312 of file adm8211.h.

#define ADM8211_WEPCTL_WPAENABLE   (1 << 30)

Definition at line 308 of file adm8211.h.

#define ADM8211_WESK_DATA   (0x0000ffff)

Definition at line 317 of file adm8211.h.

#define PLCP_SIGNAL_11M   0x6e

Definition at line 452 of file adm8211.h.

#define PLCP_SIGNAL_1M   0x0a

Definition at line 449 of file adm8211.h.

#define PLCP_SIGNAL_2M   0x14

Definition at line 450 of file adm8211.h.

#define PLCP_SIGNAL_5M5   0x37

Definition at line 451 of file adm8211.h.

#define RDES0_STATUS_CRC16E   (1 << 22)

Definition at line 379 of file adm8211.h.

#define RDES0_STATUS_CRC32E   (1 << 20)

Definition at line 381 of file adm8211.h.

#define RDES0_STATUS_DA0   (1 << 16)

Definition at line 384 of file adm8211.h.

#define RDES0_STATUS_DA1   (1 << 17)

Definition at line 383 of file adm8211.h.

#define RDES0_STATUS_DE   (1 << 28)

Definition at line 373 of file adm8211.h.

#define RDES0_STATUS_ES   (1 << 30)

Definition at line 371 of file adm8211.h.

#define RDES0_STATUS_FL   (0x00000fff)

Definition at line 386 of file adm8211.h.

#define RDES0_STATUS_FS   (1 << 27)

Definition at line 374 of file adm8211.h.

#define RDES0_STATUS_ICVE   (1 << 19)

Definition at line 382 of file adm8211.h.

#define RDES0_STATUS_LS   (1 << 26)

Definition at line 375 of file adm8211.h.

#define RDES0_STATUS_OWN   (1 << 31)

Definition at line 370 of file adm8211.h.

#define RDES0_STATUS_PCF   (1 << 25)

Definition at line 376 of file adm8211.h.

#define RDES0_STATUS_RXDR   ((1 << 15) | (1 << 14) | (1 << 13) | (1 << 12))

Definition at line 385 of file adm8211.h.

#define RDES0_STATUS_RXTOE   (1 << 21)

Definition at line 380 of file adm8211.h.

#define RDES0_STATUS_SFDE   (1 << 24)

Definition at line 377 of file adm8211.h.

#define RDES0_STATUS_SIGE   (1 << 23)

Definition at line 378 of file adm8211.h.

#define RDES0_STATUS_SQL   (1 << 29)

Definition at line 372 of file adm8211.h.

#define RDES1_CONTROL_RBS1   (0x00000fff)

Definition at line 391 of file adm8211.h.

#define RDES1_CONTROL_RBS2   (0x00fff000)

Definition at line 390 of file adm8211.h.

#define RDES1_CONTROL_RCH   (1 << 24)

Definition at line 389 of file adm8211.h.

#define RDES1_CONTROL_RER   (1 << 25)

Definition at line 388 of file adm8211.h.

#define RDES1_STATUS_RSSI   (0x0000007f)

Definition at line 393 of file adm8211.h.

#define RF3000_CCA_CTRL   0x02

Definition at line 345 of file adm8211.h.

#define RF3000_DIVERSITY__RSSI   0x03

Definition at line 346 of file adm8211.h.

#define RF3000_HIGH_GAIN_CALIB   0x15

Definition at line 355 of file adm8211.h.

#define RF3000_LOW_GAIN_CALIB   0x14

Definition at line 354 of file adm8211.h.

#define RF3000_MODEM_CTRL__RX_STATUS   0x01

Definition at line 344 of file adm8211.h.

#define RF3000_RX_LEN_LSB   0x06

Definition at line 349 of file adm8211.h.

#define RF3000_RX_LEN_MSB   0x05

Definition at line 348 of file adm8211.h.

#define RF3000_RX_SERVICE_FIELD   0x07

Definition at line 350 of file adm8211.h.

#define RF3000_RX_SIGNAL_FIELD   0x04

Definition at line 347 of file adm8211.h.

#define RF3000_TX_LEN_LSB   0x13

Definition at line 353 of file adm8211.h.

#define RF3000_TX_LEN_MSB   0x12

Definition at line 352 of file adm8211.h.

#define RF3000_TX_VAR_GAIN__TX_LEN_EXT   0x11

Definition at line 351 of file adm8211.h.

#define RX_COPY_BREAK   128

Definition at line 490 of file adm8211.h.

#define RX_PKT_SIZE   2500

Definition at line 491 of file adm8211.h.

#define SI4126_IF_N_DIV   5

Definition at line 329 of file adm8211.h.

#define SI4126_IF_R_DIV   8

Definition at line 332 of file adm8211.h.

#define SI4126_MAIN_CONF   0

Definition at line 324 of file adm8211.h.

#define SI4126_MAIN_IFDIV   ((1 << 11) | (1 << 10))

Definition at line 336 of file adm8211.h.

#define SI4126_MAIN_XINDIV2   (1 << 6)

Definition at line 335 of file adm8211.h.

#define SI4126_PHASE_DET_GAIN   1

Definition at line 325 of file adm8211.h.

#define SI4126_POWERDOWN   2

Definition at line 326 of file adm8211.h.

#define SI4126_POWERDOWN_PDIB   (1 << 1)

Definition at line 338 of file adm8211.h.

#define SI4126_POWERDOWN_PDRB   (1 << 0)

Definition at line 339 of file adm8211.h.

#define SI4126_RF1_N_DIV   3 /* only Si4136 */

Definition at line 327 of file adm8211.h.

#define SI4126_RF1_R_DIV   6 /* only Si4136 */

Definition at line 330 of file adm8211.h.

#define SI4126_RF2_N_DIV   4

Definition at line 328 of file adm8211.h.

#define SI4126_RF2_R_DIV   7

Definition at line 331 of file adm8211.h.

#define TDES0_CONTROL_DONE   (1 << 30)

Definition at line 397 of file adm8211.h.

#define TDES0_CONTROL_OWN   (1 << 31)

Definition at line 396 of file adm8211.h.

#define TDES0_CONTROL_TXDR   (0x0ff00000)

Definition at line 398 of file adm8211.h.

#define TDES0_STATUS_ACR   (0x00000fff)

Definition at line 408 of file adm8211.h.

#define TDES0_STATUS_DONE   (1 << 30)

Definition at line 401 of file adm8211.h.

#define TDES0_STATUS_ES   (1 << 29)

Definition at line 402 of file adm8211.h.

#define TDES0_STATUS_OWN   (1 << 31)

Definition at line 400 of file adm8211.h.

#define TDES0_STATUS_SOFBR   (1 << 24)

Definition at line 407 of file adm8211.h.

#define TDES0_STATUS_TLT   (1 << 28)

Definition at line 403 of file adm8211.h.

#define TDES0_STATUS_TRO   (1 << 25)

Definition at line 406 of file adm8211.h.

#define TDES0_STATUS_TRT   (1 << 27)

Definition at line 404 of file adm8211.h.

#define TDES0_STATUS_TUF   (1 << 26)

Definition at line 405 of file adm8211.h.

#define TDES1_CONTROL_FS   (1 << 29)

Definition at line 412 of file adm8211.h.

#define TDES1_CONTROL_IC   (1 << 31)

Definition at line 410 of file adm8211.h.

#define TDES1_CONTROL_LS   (1 << 30)

Definition at line 411 of file adm8211.h.

#define TDES1_CONTROL_RBS1   (0x00000fff)

Definition at line 416 of file adm8211.h.

#define TDES1_CONTROL_RBS2   (0x00fff000)

Definition at line 415 of file adm8211.h.

#define TDES1_CONTROL_TCH   (1 << 24)

Definition at line 414 of file adm8211.h.

#define TDES1_CONTROL_TER   (1 << 25)

Definition at line 413 of file adm8211.h.

Variable Documentation