sys/dev/ic/rt2560.c
1024
hw = (RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr) /
sys/dev/ic/rt2560.c
1242
hw = (RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr) /
sys/dev/ic/rt2560.c
1332
tsf_hi = RAL_READ(sc, RT2560_CSR17);
sys/dev/ic/rt2560.c
1333
tsf_lo = RAL_READ(sc, RT2560_CSR16);
sys/dev/ic/rt2560.c
1489
if ((r = RAL_READ(sc, RT2560_CSR7)) == 0)
sys/dev/ic/rt2560.c
1513
if ((r = RAL_READ(sc, RT2560_CSR7)) == 0)
sys/dev/ic/rt2560.c
2264
if (!(RAL_READ(sc, RT2560_BBPCSR) & RT2560_BBP_BUSY))
sys/dev/ic/rt2560.c
2289
val = RAL_READ(sc, RT2560_BBPCSR);
sys/dev/ic/rt2560.c
2306
if (!(RAL_READ(sc, RT2560_RFCSR) & RT2560_RF_BUSY))
sys/dev/ic/rt2560.c
2426
RAL_READ(sc, RT2560_CNT0);
sys/dev/ic/rt2560.c
2530
tmp = RAL_READ(sc, RT2560_CSR11);
sys/dev/ic/rt2560.c
2604
tmp = RAL_READ(sc, RT2560_CSR3);
sys/dev/ic/rt2560.c
2610
tmp = RAL_READ(sc, RT2560_CSR4);
sys/dev/ic/rt2560.c
2621
tmp = RAL_READ(sc, RT2560_RXCSR0);
sys/dev/ic/rt2560.c
2655
tmp = RAL_READ(sc, RT2560_BBPCSR1) & ~0x00070007;
sys/dev/ic/rt2560.c
2839
RAL_READ(sc, RT2560_CNT0);
sys/dev/ic/rt2560.c
2840
RAL_READ(sc, RT2560_CNT4);
sys/dev/ic/rt2560.c
331
sc->asic_rev = RAL_READ(sc, RT2560_CSR0);
sys/dev/ic/rt2560.c
984
n = (RAL_READ(sc, RT2560_CSR21) & RT2560_93C46) ? 5 : 7;
sys/dev/ic/rt2560.c
998
tmp = RAL_READ(sc, RT2560_CSR21);
sys/dev/ic/rt2661.c
1120
tsf_hi = RAL_READ(sc, RT2661_TXRX_CSR13);
sys/dev/ic/rt2661.c
1121
tsf_lo = RAL_READ(sc, RT2661_TXRX_CSR12);
sys/dev/ic/rt2661.c
1218
RAL_READ(sc, RT2661_M2H_CMD_DONE_CSR);
sys/dev/ic/rt2661.c
1237
r1 = RAL_READ(sc, RT2661_INT_SOURCE_CSR);
sys/dev/ic/rt2661.c
1238
r2 = RAL_READ(sc, RT2661_MCU_INT_SOURCE_CSR);
sys/dev/ic/rt2661.c
1258
r1 = RAL_READ(sc, RT2661_INT_SOURCE_CSR);
sys/dev/ic/rt2661.c
1259
r2 = RAL_READ(sc, RT2661_MCU_INT_SOURCE_CSR);
sys/dev/ic/rt2661.c
1995
if (!(RAL_READ(sc, RT2661_PHY_CSR3) & RT2661_BBP_BUSY))
sys/dev/ic/rt2661.c
2017
if (!(RAL_READ(sc, RT2661_PHY_CSR3) & RT2661_BBP_BUSY))
sys/dev/ic/rt2661.c
2030
val = RAL_READ(sc, RT2661_PHY_CSR3);
sys/dev/ic/rt2661.c
2047
if (!(RAL_READ(sc, RT2661_PHY_CSR4) & RT2661_RF_BUSY))
sys/dev/ic/rt2661.c
2068
if (RAL_READ(sc, RT2661_H2M_MAILBOX_CSR) & RT2661_H2M_BUSY)
sys/dev/ic/rt2661.c
2091
tmp = RAL_READ(sc, RT2661_TXRX_CSR0);
sys/dev/ic/rt2661.c
211
if ((val = RAL_READ(sc, RT2661_MAC_CSR0)) != 0)
sys/dev/ic/rt2661.c
2111
tmp = RAL_READ(sc, RT2661_TXRX_CSR4);
sys/dev/ic/rt2661.c
2126
tmp = RAL_READ(sc, RT2661_TXRX_CSR4);
sys/dev/ic/rt2661.c
2203
tmp = RAL_READ(sc, RT2661_PHY_CSR0);
sys/dev/ic/rt2661.c
2320
tmp = RAL_READ(sc, RT2661_TXRX_CSR0);
sys/dev/ic/rt2661.c
2406
tmp = RAL_READ(sc, RT2661_MAC_CSR9);
sys/dev/ic/rt2661.c
2670
if (RAL_READ(sc, RT2661_MAC_CSR12) & 8)
sys/dev/ic/rt2661.c
2692
tmp = RAL_READ(sc, RT2661_TXRX_CSR0) & 0xffff;
sys/dev/ic/rt2661.c
2752
tmp = RAL_READ(sc, RT2661_TXRX_CSR0);
sys/dev/ic/rt2661.c
2807
if (RAL_READ(sc, RT2661_MCU_CNTL_CSR) & RT2661_MCU_READY)
sys/dev/ic/rt2661.c
2844
cca = RAL_READ(sc, RT2661_STA_CSR1) & 0xffff;
sys/dev/ic/rt2661.c
2891
tmp = RAL_READ(sc, RT2661_TXRX_CSR0);
sys/dev/ic/rt2661.c
3006
tmp = RAL_READ(sc, RT2661_TXRX_CSR9) & 0xff000000;
sys/dev/ic/rt2661.c
797
tmp = RAL_READ(sc, RT2661_TXRX_CSR9);
sys/dev/ic/rt2661.c
876
n = (RAL_READ(sc, RT2661_E2PROM_CSR) & RT2661_93C46) ? 5 : 7;
sys/dev/ic/rt2661.c
890
tmp = RAL_READ(sc, RT2661_E2PROM_CSR);
sys/dev/ic/rt2661.c
918
val = RAL_READ(sc, RT2661_STA_CSR4);
sys/dev/ic/rt2860.c
1013
tmp = RAL_READ(sc, RT2860_WCID_ENTRY(wcid) + 4);
sys/dev/ic/rt2860.c
1038
tmp = RAL_READ(sc, RT2860_BCN_TIME_CFG);
sys/dev/ic/rt2860.c
1112
tmp = RAL_READ(sc, RT3070_EFUSE_CTRL);
sys/dev/ic/rt2860.c
1117
tmp = RAL_READ(sc, RT3070_EFUSE_CTRL);
sys/dev/ic/rt2860.c
1130
tmp = RAL_READ(sc, reg);
sys/dev/ic/rt2860.c
1164
n = ((RAL_READ(sc, RT2860_PCI_EECTRL) & 0x30) == 0) ? 5 : 7;
sys/dev/ic/rt2860.c
1178
tmp = RAL_READ(sc, RT2860_PCI_EECTRL);
sys/dev/ic/rt2860.c
1210
tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG);
sys/dev/ic/rt2860.c
1226
while ((stat = RAL_READ(sc, RT2860_TX_STAT_FIFO)) & RT2860_TXQ_VLD) {
sys/dev/ic/rt2860.c
1268
hw = RAL_READ(sc, RT2860_TX_DTX_IDX(qid));
sys/dev/ic/rt2860.c
1332
hw = RAL_READ(sc, RT2860_FS_DRX_IDX) & 0xfff;
sys/dev/ic/rt2860.c
1556
r = RAL_READ(sc, RT2860_INT_STATUS);
sys/dev/ic/rt2860.c
1572
r = RAL_READ(sc, RT2860_INT_STATUS);
sys/dev/ic/rt2860.c
2032
if (!(RAL_READ(sc, RT2860_H2M_BBPAGENT) & RT2860_BBP_CSR_KICK))
sys/dev/ic/rt2860.c
2057
if (!(RAL_READ(sc, RT2860_H2M_BBPAGENT) & RT2860_BBP_CSR_KICK))
sys/dev/ic/rt2860.c
2075
val = RAL_READ(sc, RT2860_H2M_BBPAGENT);
sys/dev/ic/rt2860.c
2095
if (!(RAL_READ(sc, RT2860_RF_CSR_CFG0) & RT2860_RF_REG_CTRL))
sys/dev/ic/rt2860.c
2117
if (!(RAL_READ(sc, RT3070_RF_CSR_CFG) & RT3070_RF_KICK))
sys/dev/ic/rt2860.c
2129
tmp = RAL_READ(sc, RT3070_RF_CSR_CFG);
sys/dev/ic/rt2860.c
2148
if (!(RAL_READ(sc, RT3070_RF_CSR_CFG) & RT3070_RF_KICK))
sys/dev/ic/rt2860.c
2172
if (!(RAL_READ(sc, RT2860_H2M_MAILBOX) & RT2860_H2M_BUSY))
sys/dev/ic/rt2860.c
2188
tmp = RAL_READ(sc, RT2860_H2M_MAILBOX_CID);
sys/dev/ic/rt2860.c
2204
tmp = RAL_READ(sc, RT2860_H2M_MAILBOX_STATUS);
sys/dev/ic/rt2860.c
2243
tmp = RAL_READ(sc, RT2860_AUTO_RSP_CFG);
sys/dev/ic/rt2860.c
2298
tmp = RAL_READ(sc, RT2860_TX_BAND_CFG);
sys/dev/ic/rt2860.c
231
tmp = RAL_READ(sc, RT2860_ASIC_VER_ID);
sys/dev/ic/rt2860.c
2330
tmp = RAL_READ(sc, RT2860_GPIO_CTRL);
sys/dev/ic/rt2860.c
2594
tmp = RAL_READ(sc, RT3070_LDO_CFG0);
sys/dev/ic/rt2860.c
2603
tmp = RAL_READ(sc, RT3070_GPIO_SWITCH);
sys/dev/ic/rt2860.c
2647
tmp = RAL_READ(sc, RT3070_OPT_14);
sys/dev/ic/rt2860.c
2726
RAL_WRITE(sc, RT3070_OPT_14, RAL_READ(sc, RT3070_OPT_14) | 1);
sys/dev/ic/rt2860.c
2823
tmp = RAL_READ(sc, RT3070_LDO_CFG0);
sys/dev/ic/rt2860.c
2859
tmp = RAL_READ(sc, RT3070_LDO_CFG0);
sys/dev/ic/rt2860.c
2979
tmp = RAL_READ(sc, RT2860_INT_TIMER_EN);
sys/dev/ic/rt2860.c
2985
tmp = RAL_READ(sc, RT2860_INT_TIMER_CFG);
sys/dev/ic/rt2860.c
2991
tmp = RAL_READ(sc, RT2860_INT_TIMER_EN);
sys/dev/ic/rt2860.c
3020
tmp = RAL_READ(sc, RT2860_BKOFF_SLOT_CFG);
sys/dev/ic/rt2860.c
3056
tmp = RAL_READ(sc, RT2860_RX_FILTR_CFG);
sys/dev/ic/rt2860.c
3200
attr = RAL_READ(sc, RT2860_SKEY_MODE_0_7);
sys/dev/ic/rt2860.c
3206
attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid));
sys/dev/ic/rt2860.c
3224
attr = RAL_READ(sc, RT2860_SKEY_MODE_0_7);
sys/dev/ic/rt2860.c
3231
attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid));
sys/dev/ic/rt2860.c
3318
tmp = RAL_READ(sc, RT3070_EFUSE_CTRL);
sys/dev/ic/rt2860.c
3706
tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG);
sys/dev/ic/rt2860.c
3762
if (!(RAL_READ(sc, RT2860_GPIO_CTRL) & (1 << 2))) {
sys/dev/ic/rt2860.c
3774
tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG);
sys/dev/ic/rt2860.c
3808
tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG);
sys/dev/ic/rt2860.c
3848
if (!(RAL_READ(sc, RT2860_PCI_CFG) & RT2860_PCI_CFG_PCI)) {
sys/dev/ic/rt2860.c
3851
tmp = RAL_READ(sc, RT2860_US_CYC_CNT);
sys/dev/ic/rt2860.c
3858
if (!(RAL_READ(sc, RT2860_MAC_STATUS_REG) &
sys/dev/ic/rt2860.c
3911
tmp = RAL_READ(sc, RT2860_WPDMA_GLO_CFG);
sys/dev/ic/rt2860.c
3992
tmp = RAL_READ(sc, RT2860_TX_RTS_CFG);
sys/dev/ic/rt2860.c
4054
tmp = RAL_READ(sc, RT2860_MAC_SYS_CTRL);
sys/dev/ic/rt2860.c
4098
if (RAL_READ(sc, RT2860_SYS_CTRL) & RT2860_MCU_READY)
sys/dev/ic/rt2860.c
4168
tmp = RAL_READ(sc, RT2860_PCI_EECTRL);
sys/dev/ic/rt2860.c
4170
tmp = RAL_READ(sc, RT2860_GPIO_CTRL);
sys/dev/ic/rt2860.c
4178
tmp = RAL_READ(sc, RT2860_PCI_EECTRL);
sys/dev/ic/rt2860.c
4180
tmp = RAL_READ(sc, RT2860_GPIO_CTRL);
sys/dev/ic/rt2860.c
4263
tmp = RAL_READ(sc, RT2860_BCN_TIME_CFG);
sys/dev/ic/rt2860.c
917
uint32_t tmp = RAL_READ(sc, RT2860_DEBUG);
sys/dev/ic/rt2860.c
998
tmp = RAL_READ(sc, RT2860_WCID_ENTRY(wcid) + 4);