Linux Kernel
3.7.1
|
Go to the source code of this file.
#define CSR_EEPROM_GP_BAD_SIG_EEP_GOOD_SIG_OTP (0x00000001) |
#define CSR_EEPROM_GP_BAD_SIGNATURE_BOTH_EEP_AND_OTP (0x00000000) |
#define CSR_EEPROM_GP_GOOD_SIG_EEP_LESS_THAN_4K (0x00000002) |
#define CSR_EEPROM_GP_GOOD_SIG_EEP_MORE_THAN_4K (0x00000004) |
#define CSR_EEPROM_GP_VALID_MSK (0x00000007) /* signature */ |
#define CSR_FH_INT_BIT_RX_CHNL0 (1 << 16) /* Rx channel 0 */ |
#define CSR_FH_INT_BIT_RX_CHNL1 (1 << 17) /* Rx channel 1 */ |
#define CSR_FH_INT_BIT_TX_CHNL0 (1 << 0) /* Tx channel 0 */ |
#define CSR_FH_INT_BIT_TX_CHNL1 (1 << 1) /* Tx channel 1 */ |
#define CSR_FH_INT_RX_MASK |
#define CSR_FH_INT_STATUS (CSR_BASE+0x010) /* busmaster int status/ack*/ |
#define CSR_FH_INT_TX_MASK |
#define CSR_GIO_CHICKEN_BITS_REG_BIT_DIS_L0S_EXIT_TIMER (0x20000000) |
#define CSR_GIO_CHICKEN_BITS_REG_BIT_L1A_NO_L0S_RX (0x00800000) |
#define CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY (0x00000001) |
#define CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_HYB (0x00000001) |
#define CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_IPA (0x00000002) |
#define CSR_GP_DRIVER_REG_BIT_RADIO_SKU_3x3_HYB (0x00000000) |
#define CSR_GP_REG_POWER_SAVE_STATUS_MSK (0x03000000) /* bit 24/25 */ |
#define CSR_GPIO_IN (CSR_BASE+0x018) /* read external chip pins */ |
#define CSR_HW_IF_CONFIG_REG (CSR_BASE+0x000) /* hardware interface config */ |
#define CSR_HW_IF_CONFIG_REG_BIT_EEPROM_OWN_SEM (0x00200000) |
#define CSR_HW_IF_CONFIG_REG_BIT_HAP_WAKE_L1A (0x00080000) |
#define CSR_HW_IF_CONFIG_REG_BIT_NIC_PREPARE_DONE (0x02000000) /* ME_OWN */ |
#define CSR_HW_IF_CONFIG_REG_BIT_NIC_READY (0x00400000) /* PCI_OWN_SEM */ |
#define CSR_HW_IF_CONFIG_REG_PREPARE (0x08000000) /* WAKE_ME */ |
#define CSR_HW_REV_DASH | ( | _val | ) | (((_val) & 0x0000003) >> 0) |
#define CSR_HW_REV_STEP | ( | _val | ) | (((_val) & 0x000000C) >> 2) |
#define CSR_HW_REV_TYPE_6x30 CSR_HW_REV_TYPE_6x05 |
#define CSR_HW_REV_TYPE_6x35 CSR_HW_REV_TYPE_6x05 |
#define CSR_INI_SET_MASK |
#define CSR_INT (CSR_BASE+0x008) /* host interrupt status/ack */ |
#define CSR_INT_BIT_ALIVE (1 << 0) /* uCode interrupts once it initializes */ |
#define CSR_INT_BIT_FH_TX (1 << 27) /* Tx DMA FH_INT[1:0] */ |
#define CSR_INT_BIT_RF_KILL (1 << 7) /* HW RFKILL switch GP_CNTRL[27] toggled */ |
#define CSR_INT_BIT_RX_PERIODIC (1 << 28) /* Rx periodic */ |
#define CSR_INT_BIT_SCD (1 << 26) /* TXQ pointer advanced */ |
#define CSR_INT_BIT_SW_RX (1 << 3) /* Rx, command responses */ |
#define CSR_INT_BIT_WAKEUP (1 << 1) /* NIC controller waking up (pwr mgmt) */ |
#define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ |
#define CSR_INT_MASK (CSR_BASE+0x00c) /* host interrupt enable */ |
#define CSR_INT_PERIODIC_DIS (0x00) /* disable periodic int*/ |
#define CSR_INT_PERIODIC_ENA (0xFF) /* 255*32 usec ~ 8 msec*/ |
#define CSR_MAC_SHADOW_REG_CTRL (CSR_BASE+0x0A8) /* 6000 and up */ |
#define CSR_OTP_GP_REG_DEVICE_SELECT (0x00010000) /* 0 - EEPROM, 1 - OTP */ |
#define CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK (0x00100000) /* bit 20 */ |
#define CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK (0x00200000) /* bit 21 */ |
#define CSR_OTP_GP_REG_OTP_ACCESS_MODE (0x00020000) /* 0 - absolute, 1 - relative */ |
#define CSR_RESET (CSR_BASE+0x020) /* busmaster enable, NMI, etc*/ |
#define CSR_UCODE_DRV_GP1_BIT_D3_CFG_COMPLETE (0x00000020) |
#define CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT (0x00000008) |