• Home
  • Raw
  • Download

Lines Matching refs:BIT

26 #define MT_CMB_CTRL_XTAL_RDY		BIT(22)
27 #define MT_CMB_CTRL_PLL_LD BIT(23)
35 #define MT_EFUSE_CTRL_KICK BIT(30)
36 #define MT_EFUSE_CTRL_SEL BIT(31)
42 #define MT_COEXCFG0_COEX_EN BIT(0)
45 #define MT_WLAN_FUN_CTRL_WLAN_EN BIT(0)
46 #define MT_WLAN_FUN_CTRL_WLAN_CLK_EN BIT(1)
47 #define MT_WLAN_FUN_CTRL_WLAN_RESET_RF BIT(2)
49 #define MT_WLAN_FUN_CTRL_WLAN_RESET BIT(3) /* MT76x0 */
50 #define MT_WLAN_FUN_CTRL_CSR_F20M_CKEN BIT(3) /* MT76x2 */
52 #define MT_WLAN_FUN_CTRL_PCIE_CLK_REQ BIT(4)
53 #define MT_WLAN_FUN_CTRL_FRC_WL_ANT_SEL BIT(5)
54 #define MT_WLAN_FUN_CTRL_INV_ANT_SEL BIT(6)
55 #define MT_WLAN_FUN_CTRL_WAKE_HOST BIT(7)
57 #define MT_WLAN_FUN_CTRL_THERM_RST BIT(8) /* MT76x2 */
58 #define MT_WLAN_FUN_CTRL_THERM_CKEN BIT(9) /* MT76x2 */
79 #define MT_WLAN_MTC_CTRL_MTCMOS_PWR_UP BIT(0)
80 #define MT_WLAN_MTC_CTRL_PWR_ACK BIT(12)
81 #define MT_WLAN_MTC_CTRL_PWR_ACK_S BIT(13)
83 #define MT_WLAN_MTC_CTRL_PBF_MEM_PD BIT(20)
84 #define MT_WLAN_MTC_CTRL_FCE_MEM_PD BIT(21)
85 #define MT_WLAN_MTC_CTRL_TSO_MEM_PD BIT(22)
86 #define MT_WLAN_MTC_CTRL_BBP_MEM_RB BIT(24)
87 #define MT_WLAN_MTC_CTRL_PBF_MEM_RB BIT(25)
88 #define MT_WLAN_MTC_CTRL_FCE_MEM_RB BIT(26)
89 #define MT_WLAN_MTC_CTRL_TSO_MEM_RB BIT(27)
90 #define MT_WLAN_MTC_CTRL_STATE_UP BIT(28)
95 #define MT_INT_RX_DONE(_n) BIT(_n)
98 #define MT_INT_TX_DONE(_n) BIT(_n + 4)
99 #define MT_INT_RX_COHERENT BIT(16)
100 #define MT_INT_TX_COHERENT BIT(17)
101 #define MT_INT_ANY_COHERENT BIT(18)
102 #define MT_INT_MCU_CMD BIT(19)
103 #define MT_INT_TBTT BIT(20)
104 #define MT_INT_PRE_TBTT BIT(21)
105 #define MT_INT_TX_STAT BIT(22)
106 #define MT_INT_AUTO_WAKEUP BIT(23)
107 #define MT_INT_GPTIMER BIT(24)
108 #define MT_INT_RXDELAYINT BIT(26)
109 #define MT_INT_TXDELAYINT BIT(27)
112 #define MT_WPDMA_GLO_CFG_TX_DMA_EN BIT(0)
113 #define MT_WPDMA_GLO_CFG_TX_DMA_BUSY BIT(1)
114 #define MT_WPDMA_GLO_CFG_RX_DMA_EN BIT(2)
115 #define MT_WPDMA_GLO_CFG_RX_DMA_BUSY BIT(3)
117 #define MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE BIT(6)
118 #define MT_WPDMA_GLO_CFG_BIG_ENDIAN BIT(7)
120 #define MT_WPDMA_GLO_CFG_CLK_GATE_DIS BIT(30)
121 #define MT_WPDMA_GLO_CFG_RX_2B_OFFSET BIT(31)
150 #define MT_USB_DMA_CFG_PHY_CLR BIT(16)
151 #define MT_USB_DMA_CFG_TX_CLR BIT(19)
152 #define MT_USB_DMA_CFG_TXOP_HALT BIT(20)
153 #define MT_USB_DMA_CFG_RX_BULK_AGG_EN BIT(21)
154 #define MT_USB_DMA_CFG_RX_BULK_EN BIT(22)
155 #define MT_USB_DMA_CFG_TX_BULK_EN BIT(23)
156 #define MT_USB_DMA_CFG_UDMA_RX_WL_DROP BIT(25)
158 #define MT_USB_DMA_CFG_RX_BUSY BIT(30)
159 #define MT_USB_DMA_CFG_TX_BUSY BIT(31)
175 #define MT_PBF_SYS_CTRL_MCU_RESET BIT(0)
176 #define MT_PBF_SYS_CTRL_DMA_RESET BIT(1)
177 #define MT_PBF_SYS_CTRL_MAC_RESET BIT(2)
178 #define MT_PBF_SYS_CTRL_PBF_RESET BIT(3)
179 #define MT_PBF_SYS_CTRL_ASY_RESET BIT(4)
182 #define MT_PBF_CFG_TX0Q_EN BIT(0)
183 #define MT_PBF_CFG_TX1Q_EN BIT(1)
184 #define MT_PBF_CFG_TX2Q_EN BIT(2)
185 #define MT_PBF_CFG_TX3Q_EN BIT(3)
186 #define MT_PBF_CFG_RX0Q_EN BIT(4)
187 #define MT_PBF_CFG_RX_DROP_EN BIT(8)
199 #define MT_RF_CSR_CFG_WR BIT(30)
200 #define MT_RF_CSR_CFG_KICK BIT(31)
210 #define MT_RF_CTRL_WRITE BIT(12)
211 #define MT_RF_CTRL_BUSY BIT(13)
212 #define MT_RF_CTRL_IDX BIT(16)
221 #define MT_FCE_L2_STUFF_HT_L2_EN BIT(0)
222 #define MT_FCE_L2_STUFF_QOS_L2_EN BIT(1)
223 #define MT_FCE_L2_STUFF_RX_STUFF_EN BIT(2)
224 #define MT_FCE_L2_STUFF_TX_STUFF_EN BIT(3)
225 #define MT_FCE_L2_STUFF_WR_MPDU_LEN_EN BIT(4)
226 #define MT_FCE_L2_STUFF_MVINV_BSWAP BIT(5)
246 #define MT_MAC_SYS_CTRL_RESET_CSR BIT(0)
247 #define MT_MAC_SYS_CTRL_RESET_BBP BIT(1)
248 #define MT_MAC_SYS_CTRL_ENABLE_TX BIT(2)
249 #define MT_MAC_SYS_CTRL_ENABLE_RX BIT(3)
260 #define MT_MAC_BSSID_DW1_MBSS_LOCAL_BIT BIT(21)
261 #define MT_MAC_BSSID_DW1_MBSS_MODE_B2 BIT(22)
262 #define MT_MAC_BSSID_DW1_MBEACON_N_B3 BIT(23)
271 #define MT_BBP_CSR_CFG_READ BIT(16)
272 #define MT_BBP_CSR_CFG_BUSY BIT(17)
273 #define MT_BBP_CSR_CFG_PAR_DUR BIT(18)
274 #define MT_BBP_CSR_CFG_RW_MODE BIT(19)
284 #define MT_WCID_DROP_MASK(_n) BIT((_n) % 32)
292 #define MT_MAC_APC_BSSID0_H_EN BIT(16)
299 #define MT_XIFS_TIME_CFG_BB_RXEND_EN BIT(29)
307 #define MT_BEACON_TIME_CFG_TIMER_EN BIT(16)
309 #define MT_BEACON_TIME_CFG_TBTT_EN BIT(19)
310 #define MT_BEACON_TIME_CFG_BEACON_TX BIT(20)
321 #define MT_INT_TIMER_EN_PRE_TBTT_EN BIT(0)
322 #define MT_INT_TIMER_EN_GP_TIMER_EN BIT(1)
325 #define MT_MAC_STATUS_TX BIT(0)
326 #define MT_MAC_STATUS_RX BIT(1)
355 #define MT_TX_BAND_CFG_UPPER_40M BIT(0)
356 #define MT_TX_BAND_CFG_5G BIT(1)
357 #define MT_TX_BAND_CFG_2G BIT(2)
378 #define MT_TX_RTS_FALLBACK BIT(24)
396 #define MT_PROT_CTRL_RTS_CTS BIT(16)
397 #define MT_PROT_CTRL_CTS2SELF BIT(17)
398 #define MT_PROT_NAV_SHORT BIT(18)
399 #define MT_PROT_NAV_LONG BIT(19)
400 #define MT_PROT_TXOP_ALLOW_CCK BIT(20)
401 #define MT_PROT_TXOP_ALLOW_OFDM BIT(21)
402 #define MT_PROT_TXOP_ALLOW_MM20 BIT(22)
403 #define MT_PROT_TXOP_ALLOW_MM40 BIT(23)
404 #define MT_PROT_TXOP_ALLOW_GF20 BIT(24)
405 #define MT_PROT_TXOP_ALLOW_GF40 BIT(25)
406 #define MT_PROT_RTS_THR_EN BIT(26)
424 #define MT_TX_FBK_LIMIT_MPDU_UP_CLEAR BIT(16)
425 #define MT_TX_FBK_LIMIT_AMPDU_UP_CLEAR BIT(17)
426 #define MT_TX_FBK_LIMIT_RATE_LUT BIT(18)
456 #define MT_RX_FILTR_CFG_CRC_ERR BIT(0)
457 #define MT_RX_FILTR_CFG_PHY_ERR BIT(1)
458 #define MT_RX_FILTR_CFG_PROMISC BIT(2)
459 #define MT_RX_FILTR_CFG_OTHER_BSS BIT(3)
460 #define MT_RX_FILTR_CFG_VER_ERR BIT(4)
461 #define MT_RX_FILTR_CFG_MCAST BIT(5)
462 #define MT_RX_FILTR_CFG_BCAST BIT(6)
463 #define MT_RX_FILTR_CFG_DUP BIT(7)
464 #define MT_RX_FILTR_CFG_CFACK BIT(8)
465 #define MT_RX_FILTR_CFG_CFEND BIT(9)
466 #define MT_RX_FILTR_CFG_ACK BIT(10)
467 #define MT_RX_FILTR_CFG_CTS BIT(11)
468 #define MT_RX_FILTR_CFG_RTS BIT(12)
469 #define MT_RX_FILTR_CFG_PSPOLL BIT(13)
470 #define MT_RX_FILTR_CFG_BA BIT(14)
471 #define MT_RX_FILTR_CFG_BAR BIT(15)
472 #define MT_RX_FILTR_CFG_CTRL_RSV BIT(16)
476 #define MT_AUTO_RSP_PREAMB_SHORT BIT(4)
482 #define MT_RX_PARSER_RX_SET_NAV_ALL BIT(0)
516 #define MT_TX_STAT_FIFO_VALID BIT(0)
518 #define MT_TX_STAT_FIFO_SUCCESS BIT(5)
519 #define MT_TX_STAT_FIFO_AGGR BIT(6)
520 #define MT_TX_STAT_FIFO_ACKREQ BIT(7)
586 #define MT_WCID_ATTR_PAIRWISE BIT(0)
590 #define MT_WCID_ATTR_PKEY_MODE_EXT BIT(10)
591 #define MT_WCID_ATTR_BSS_IDX_EXT BIT(11)
592 #define MT_WCID_ATTR_WAPI_MCBC BIT(15)