Lines Matching refs:RAL_READ

253 		tmp = RAL_READ(sc, RT2860_ASIC_VER_ID);  in rt2860_attach()
819 uint32_t tmp = RAL_READ(sc, RT2860_DEBUG); in rt2860_updatestats()
877 tmp = RAL_READ(sc, RT2860_WCID_ENTRY(wcid) + 4); in rt2860_ampdu_rx_start()
892 tmp = RAL_READ(sc, RT2860_WCID_ENTRY(wcid) + 4); in rt2860_ampdu_rx_stop()
914 tmp = RAL_READ(sc, RT2860_BCN_TIME_CFG); in rt2860_newstate()
973 tmp = RAL_READ(sc, RT3070_EFUSE_CTRL); in rt3090_efuse_read_2()
978 tmp = RAL_READ(sc, RT3070_EFUSE_CTRL); in rt3090_efuse_read_2()
991 tmp = RAL_READ(sc, reg); in rt3090_efuse_read_2()
1025 n = ((RAL_READ(sc, RT2860_PCI_EECTRL) & 0x30) == 0) ? 5 : 7; in rt2860_eeprom_read_2()
1039 tmp = RAL_READ(sc, RT2860_PCI_EECTRL); in rt2860_eeprom_read_2()
1071 tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG); in rt2860_intr_coherent()
1088 while ((stat = RAL_READ(sc, RT2860_TX_STAT_FIFO)) & RT2860_TXQ_VLD) { in rt2860_drain_stats_fifo()
1134 hw = RAL_READ(sc, RT2860_TX_DTX_IDX(qid)); in rt2860_tx_intr()
1191 hw = RAL_READ(sc, RT2860_FS_DRX_IDX) & 0xfff; in rt2860_rx_intr()
1397 r = RAL_READ(sc, RT2860_INT_STATUS); in rt2860_intr()
2030 if (!(RAL_READ(sc, RT2860_H2M_BBPAGENT) & RT2860_BBP_CSR_KICK)) in rt2860_mcu_bbp_write()
2055 if (!(RAL_READ(sc, RT2860_H2M_BBPAGENT) & RT2860_BBP_CSR_KICK)) in rt2860_mcu_bbp_read()
2073 val = RAL_READ(sc, RT2860_H2M_BBPAGENT); in rt2860_mcu_bbp_read()
2093 if (!(RAL_READ(sc, RT2860_RF_CSR_CFG0) & RT2860_RF_REG_CTRL)) in rt2860_rf_write()
2115 if (!(RAL_READ(sc, RT3070_RF_CSR_CFG) & RT3070_RF_KICK)) in rt3090_rf_read()
2127 tmp = RAL_READ(sc, RT3070_RF_CSR_CFG); in rt3090_rf_read()
2146 if (!(RAL_READ(sc, RT3070_RF_CSR_CFG) & RT3070_RF_KICK)) in rt3090_rf_write()
2170 if (!(RAL_READ(sc, RT2860_H2M_MAILBOX) & RT2860_H2M_BUSY)) in rt2860_mcu_cmd()
2186 tmp = RAL_READ(sc, RT2860_H2M_MAILBOX_CID); in rt2860_mcu_cmd()
2202 tmp = RAL_READ(sc, RT2860_H2M_MAILBOX_STATUS); in rt2860_mcu_cmd()
2242 tmp = RAL_READ(sc, RT2860_AUTO_RSP_CFG); in rt2860_set_txpreamble()
2277 tmp = RAL_READ(sc, RT2860_BCN_TIME_CFG); in rt2860_scan_start()
2354 tmp = RAL_READ(sc, RT2860_TX_BAND_CFG); in rt2860_select_chan_group()
2381 tmp = RAL_READ(sc, RT2860_GPIO_CTRL); in rt2860_select_chan_group()
2643 tmp = RAL_READ(sc, RT3070_LDO_CFG0); in rt3090_rf_init()
2652 tmp = RAL_READ(sc, RT3070_GPIO_SWITCH); in rt3090_rf_init()
2689 tmp = RAL_READ(sc, RT3070_OPT_14); in rt3090_rf_init()
2770 RAL_WRITE(sc, RT3070_OPT_14, RAL_READ(sc, RT3070_OPT_14) | 1); in rt5390_rf_init()
2867 tmp = RAL_READ(sc, RT3070_LDO_CFG0); in rt3090_rf_wakeup()
2903 tmp = RAL_READ(sc, RT3070_LDO_CFG0); in rt5390_rf_wakeup()
3023 tmp = RAL_READ(sc, RT2860_INT_TIMER_EN); in rt2860_set_gp_timer()
3029 tmp = RAL_READ(sc, RT2860_INT_TIMER_CFG); in rt2860_set_gp_timer()
3035 tmp = RAL_READ(sc, RT2860_INT_TIMER_EN); in rt2860_set_gp_timer()
3063 tmp = RAL_READ(sc, RT2860_BKOFF_SLOT_CFG); in rt2860_updateslot()
3099 tmp = RAL_READ(sc, RT2860_RX_FILTR_CFG); in rt2860_update_promisc()
3244 attr = RAL_READ(sc, RT2860_SKEY_MODE_0_7); in rt2860_set_key()
3250 attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid)); in rt2860_set_key()
3267 attr = RAL_READ(sc, RT2860_SKEY_MODE_0_7); in rt2860_delete_key()
3274 attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid)); in rt2860_delete_key()
3358 tmp = RAL_READ(sc, RT3070_EFUSE_CTRL); in rt2860_read_eeprom()
3745 tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG); in rt2860_txrx_enable()
3806 if (!(RAL_READ(sc, RT2860_GPIO_CTRL) & (1 << 2))) { in rt2860_init_locked()
3818 tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG); in rt2860_init_locked()
3850 tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG); in rt2860_init_locked()
3889 if (!(RAL_READ(sc, RT2860_PCI_CFG) & RT2860_PCI_CFG_PCI)) { in rt2860_init_locked()
3892 tmp = RAL_READ(sc, RT2860_US_CYC_CNT); in rt2860_init_locked()
3899 if (!(RAL_READ(sc, RT2860_MAC_STATUS_REG) & in rt2860_init_locked()
3952 tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG); in rt2860_init_locked()
4035 tmp = RAL_READ(sc, RT2860_TX_RTS_CFG); in rt2860_init_locked()
4095 tmp = RAL_READ(sc, RT2860_MAC_SYS_CTRL); in rt2860_stop_locked()
4143 if (RAL_READ(sc, RT2860_SYS_CTRL) & RT2860_MCU_READY) in rt2860_load_microcode()
4216 tmp = RAL_READ(sc, RT2860_PCI_EECTRL); in rt3090_set_rx_antenna()
4218 tmp = RAL_READ(sc, RT2860_GPIO_CTRL); in rt3090_set_rx_antenna()
4226 tmp = RAL_READ(sc, RT2860_PCI_EECTRL); in rt3090_set_rx_antenna()
4228 tmp = RAL_READ(sc, RT2860_GPIO_CTRL); in rt3090_set_rx_antenna()
4309 tmp = RAL_READ(sc, RT2860_BCN_TIME_CFG); in rt2860_enable_tsf_sync()