• Home
  • Raw
  • Download

Lines Matching refs:rt2x00_get_field32

133 	value = rt2x00_get_field32(reg, BBP_CSR_CFG_VALUE);  in rt2800_bbp_read()
251 value = rt2x00_get_field32(reg, RF_CSR_CFG_DATA_MT7620); in rt2800_rfcsr_read()
266 value = rt2x00_get_field32(reg, RF_CSR_CFG_DATA); in rt2800_rfcsr_read()
476 if (rt2x00_get_field32(reg, PLL_LD) && in rt2800_enable_wlan_rt3290()
477 rt2x00_get_field32(reg, XTAL_RDY)) in rt2800_enable_wlan_rt3290()
575 if (!rt2x00_get_field32(reg, WPDMA_GLO_CFG_TX_DMA_BUSY) && in rt2800_wait_wpdma_ready()
576 !rt2x00_get_field32(reg, WPDMA_GLO_CFG_RX_DMA_BUSY)) in rt2800_wait_wpdma_ready()
762 if (rt2x00_get_field32(reg, PBF_SYS_CTRL_READY)) in rt2800_load_firmware()
856 s8 rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); in rt2800_agc_to_rssi()
857 s8 rssi1 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI1); in rt2800_agc_to_rssi()
858 s8 rssi2 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI2); in rt2800_agc_to_rssi()
905 rxdesc->cipher = rt2x00_get_field32(word, RXWI_W0_UDF); in rt2800_process_rxwi()
906 rxdesc->size = rt2x00_get_field32(word, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); in rt2800_process_rxwi()
910 if (rt2x00_get_field32(word, RXWI_W1_SHORT_GI)) in rt2800_process_rxwi()
913 if (rt2x00_get_field32(word, RXWI_W1_BW)) in rt2800_process_rxwi()
920 rxdesc->signal = rt2x00_get_field32(word, RXWI_W1_MCS); in rt2800_process_rxwi()
921 rxdesc->rate_mode = rt2x00_get_field32(word, RXWI_W1_PHYMODE); in rt2800_process_rxwi()
946 u8 idx = rt2x00_get_field32(status, TX_STA_FIFO_MCS); in rt2800_rate_from_status()
948 switch (rt2x00_get_field32(status, TX_STA_FIFO_PHYMODE)) { in rt2800_rate_from_status()
965 if (rt2x00_get_field32(status, TX_STA_FIFO_BW)) in rt2800_rate_from_status()
968 if (rt2x00_get_field32(status, TX_STA_FIFO_SGI)) in rt2800_rate_from_status()
990 wcid = rt2x00_get_field32(reg, TX_STA_FIFO_WCID); in rt2800_txdone_entry_check()
991 ack = rt2x00_get_field32(reg, TX_STA_FIFO_TX_ACK_REQUIRED); in rt2800_txdone_entry_check()
992 pid = rt2x00_get_field32(reg, TX_STA_FIFO_PID_TYPE); in rt2800_txdone_entry_check()
993 is_agg = rt2x00_get_field32(reg, TX_STA_FIFO_TX_AGGRE); in rt2800_txdone_entry_check()
1002 tx_wcid = rt2x00_get_field32(word, TXWI_W1_WIRELESS_CLI_ID); in rt2800_txdone_entry_check()
1003 tx_ack = rt2x00_get_field32(word, TXWI_W1_ACK); in rt2800_txdone_entry_check()
1004 tx_pid = rt2x00_get_field32(word, TXWI_W1_PACKETID); in rt2800_txdone_entry_check()
1033 mcs = rt2x00_get_field32(word, TXWI_W0_MCS); in rt2800_txdone_entry()
1034 ampdu = rt2x00_get_field32(word, TXWI_W0_AMPDU); in rt2800_txdone_entry()
1036 real_mcs = rt2x00_get_field32(status, TX_STA_FIFO_MCS); in rt2800_txdone_entry()
1037 aggr = rt2x00_get_field32(status, TX_STA_FIFO_TX_AGGRE); in rt2800_txdone_entry()
1038 wcid = rt2x00_get_field32(status, TX_STA_FIFO_WCID); in rt2800_txdone_entry()
1039 ack_req = rt2x00_get_field32(status, TX_STA_FIFO_TX_ACK_REQUIRED); in rt2800_txdone_entry()
1079 if (rt2x00_get_field32(status, TX_STA_FIFO_TX_SUCCESS)) { in rt2800_txdone_entry()
1131 qid = rt2x00_get_field32(reg, TX_STA_FIFO_PID_QUEUE); in rt2800_txdone()
1530 return rt2x00_get_field32(reg, WLAN_GPIO_IN_BIT0); in rt2800_rfkill_poll()
1533 return rt2x00_get_field32(reg, GPIO_CTRL_VAL2); in rt2800_rfkill_poll()
2174 if (!rt2x00_get_field32(reg, mask)) in rt2800_wait_bbp_rf_ready()
2225 led_g_mode = rt2x00_get_field32(reg, LED_CFG_LED_POLAR) ? 3 : 0; in rt2800_config_3572bt_ant()
2226 led_r_mode = rt2x00_get_field32(reg, LED_CFG_LED_POLAR) ? 0 : 3; in rt2800_config_3572bt_ant()
2227 if (led_g_mode != rt2x00_get_field32(reg, LED_CFG_G_LED_MODE) || in rt2800_config_3572bt_ant()
2228 led_r_mode != rt2x00_get_field32(reg, LED_CFG_R_LED_MODE)) { in rt2800_config_3572bt_ant()
5248 t = rt2x00_get_field32(reg, TX_PWR_CFG_1B_48MBS); in rt2800_config_txpower_rt6352()
5253 t = rt2x00_get_field32(reg, TX_PWR_CFG_2B_MCS6_MCS7); in rt2800_config_txpower_rt6352()
5260 t = rt2x00_get_field32(reg, TX_PWR_CFG_3B_MCS14); in rt2800_config_txpower_rt6352()
5267 t = rt2x00_get_field32(reg, TX_PWR_CFG_4B_STBC_MCS6); in rt2800_config_txpower_rt6352()
5703 qual->rx_failed = rt2x00_get_field32(reg, RX_STA_CNT0_CRC_ERR); in rt2800_link_stats()
5857 if (rt2x00_get_field32(reg, WLAN_EN) == 1) { in rt2800_init_registers()
5863 if (!(rt2x00_get_field32(reg, LDO0_EN) == 1)) { in rt2800_init_registers()
10759 return rt2x00_get_field32(reg, EFUSE_CTRL_PRESENT); in rt2800_efuse_detect()
11668 if (rt2x00_get_field32(reg, MAC_DEBUG_INDEX_XTAL)) { in rt2800_probe_hw_mode()
11821 rt = rt2x00_get_field32(reg, MAC_CSR0_CHIPSET); in rt2800_probe_rt()
11822 rev = rt2x00_get_field32(reg, MAC_CSR0_REVISION); in rt2800_probe_rt()
12071 tsf = (u64) rt2x00_get_field32(reg, TSF_TIMER_DW1_HIGH_WORD) << 32; in rt2800_get_tsf()
12073 tsf |= rt2x00_get_field32(reg, TSF_TIMER_DW0_LOW_WORD); in rt2800_get_tsf()