Symbol: AR_READ
sys/dev/ic/arn5008.c
1039
reg = AR_READ(sc, AR_ISR_S0_S);
sys/dev/ic/arn5008.c
1043
reg = AR_READ(sc, AR_ISR_S1_S);
sys/dev/ic/arn5008.c
1191
intr = AR_READ(sc, AR_INTR_ASYNC_CAUSE);
sys/dev/ic/arn5008.c
1193
intr = AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/arn5008.c
1198
if ((AR_READ(sc, AR_INTR_ASYNC_CAUSE) & AR_INTR_MAC_IRQ) &&
sys/dev/ic/arn5008.c
1199
(AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) == AR_RTC_STATUS_ON)
sys/dev/ic/arn5008.c
1200
intr = AR_READ(sc, AR_ISR);
sys/dev/ic/arn5008.c
1203
sync = AR_READ(sc, AR_INTR_SYNC_CAUSE) & sc->sc_isync;
sys/dev/ic/arn5008.c
1234
uint32_t intr2 = AR_READ(sc, AR_ISR_S2);
sys/dev/ic/arn5008.c
1244
intr = AR_READ(sc, AR_ISR_RAC);
sys/dev/ic/arn5008.c
1264
intr5 = AR_READ(sc, AR_ISR_S5_S);
sys/dev/ic/arn5008.c
1294
(void)AR_READ(sc, AR_INTR_SYNC_ENABLE);
sys/dev/ic/arn5008.c
1299
(void)AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/arn5008.c
1699
synth_delay = MS(AR_READ(sc, AR_PHY_RX_DELAY), AR_PHY_RX_DELAY_DELAY);
sys/dev/ic/arn5008.c
1715
if (AR_READ(sc, AR_PHY_RFBUS_GRANT) & AR_PHY_RFBUS_GRANT_EN)
sys/dev/ic/arn5008.c
1742
phy = AR_READ(sc, AR_PHY_TURBO) & AR_PHY_FC_ENABLE_DAC_FIFO;
sys/dev/ic/arn5008.c
1777
reg = AR_READ(sc, AR_PHY_TIMING3);
sys/dev/ic/arn5008.c
1787
reg = AR_READ(sc, AR_PHY_HALFGI);
sys/dev/ic/arn5008.c
1865
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/arn5008.c
1872
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/arn5008.c
1891
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/arn5008.c
1895
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/arn5008.c
1910
if (AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
sys/dev/ic/arn5008.c
1947
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF))
sys/dev/ic/arn5008.c
1989
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0);
sys/dev/ic/arn5008.c
2013
if (!(AR_READ(sc, AR_PHY_TIMING_CTRL4_0) &
sys/dev/ic/arn5008.c
2038
cal->pwr_meas_i += AR_READ(sc, AR_PHY_CAL_MEAS_0(i));
sys/dev/ic/arn5008.c
2039
cal->pwr_meas_q += AR_READ(sc, AR_PHY_CAL_MEAS_1(i));
sys/dev/ic/arn5008.c
2041
(int32_t)AR_READ(sc, AR_PHY_CAL_MEAS_2(i));
sys/dev/ic/arn5008.c
2078
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4(i));
sys/dev/ic/arn5008.c
2105
cal->pwr_meas_odd_i += AR_READ(sc, AR_PHY_CAL_MEAS_0(i));
sys/dev/ic/arn5008.c
2106
cal->pwr_meas_even_i += AR_READ(sc, AR_PHY_CAL_MEAS_1(i));
sys/dev/ic/arn5008.c
2107
cal->pwr_meas_odd_q += AR_READ(sc, AR_PHY_CAL_MEAS_2(i));
sys/dev/ic/arn5008.c
2108
cal->pwr_meas_even_q += AR_READ(sc, AR_PHY_CAL_MEAS_3(i));
sys/dev/ic/arn5008.c
2129
reg = AR_READ(sc, AR_PHY_NEW_ADC_DC_GAIN_CORR(i));
sys/dev/ic/arn5008.c
2157
cal->pwr_meas_odd_i += AR_READ(sc, AR_PHY_CAL_MEAS_0(i));
sys/dev/ic/arn5008.c
2158
cal->pwr_meas_even_i += AR_READ(sc, AR_PHY_CAL_MEAS_1(i));
sys/dev/ic/arn5008.c
2159
cal->pwr_meas_odd_q += AR_READ(sc, AR_PHY_CAL_MEAS_2(i));
sys/dev/ic/arn5008.c
2160
cal->pwr_meas_even_q += AR_READ(sc, AR_PHY_CAL_MEAS_3(i));
sys/dev/ic/arn5008.c
2182
reg = AR_READ(sc, AR_PHY_NEW_ADC_DC_GAIN_CORR(i));
sys/dev/ic/arn5008.c
2465
reg = AR_READ(sc, AR_PCU_MISC_MODE2);
sys/dev/ic/arn5008.c
2704
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/arn5008.c
2708
reg = AR_READ(sc, AR_PHY_AGC_CTL1);
sys/dev/ic/arn5008.c
2713
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/arn5008.c
2725
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/arn5008.c
2731
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/arn5008.c
2737
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/arn5008.c
2754
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/arn5008.c
2760
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/arn5008.c
2766
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/arn5008.c
278
reg = AR_READ(sc, AR_EEPROM_OFFSET(addr));
sys/dev/ic/arn5008.c
2783
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/arn5008.c
2794
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/arn5008.c
280
reg = AR_READ(sc, AR_EEPROM_STATUS_DATA);
sys/dev/ic/arn5008.c
2805
reg = AR_READ(sc, AR_PHY_TIMING5);
sys/dev/ic/arn5008.c
369
return !((AR_READ(sc, AR7010_GPIO_IN) >> pin) & 1);
sys/dev/ic/arn5008.c
370
return (AR_READ(sc, AR_GPIO_IN_OUT) >> (sc->sc_ngpiopins + pin)) & 1;
sys/dev/ic/arn5008.c
385
reg = AR_READ(sc, AR7010_GPIO_OUT);
sys/dev/ic/arn5008.c
393
reg = AR_READ(sc, AR_GPIO_IN_OUT);
sys/dev/ic/arn5008.c
413
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/arn5008.c
436
reg = AR_READ(sc, AR_GPIO_OUTPUT_MUX(mux));
sys/dev/ic/arn5008.c
443
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/arn5008.c
457
reg = AR_READ(sc, AR_GPIO_INPUT_MUX2);
sys/dev/ic/arn5008.c
735
tsf = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/arn5008.c
736
tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
sys/dev/ic/arn5416.c
183
reg = AR_READ(sc, AR_PHY_CCK_TX_CTRL);
sys/dev/ic/arn5416.c
247
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0 + offset);
sys/dev/ic/arn5416.c
258
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/arn5416.c
269
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/arn5416.c
273
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/arn5416.c
278
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn5416.c
282
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/arn5416.c
293
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/arn5416.c
297
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/arn5416.c
301
reg = AR_READ(sc, AR_PHY_EXT_CCA(0));
sys/dev/ic/arn5416.c
306
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/arn5416.c
315
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn5416.c
338
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/arn5416.c
431
overlap = MS(AR_READ(sc, AR_PHY_TPCRG5),
sys/dev/ic/arn5416.c
452
reg = AR_READ(sc, AR_PHY_TPCRG1);
sys/dev/ic/arn5416.c
473
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_0);
sys/dev/ic/arn5416.c
477
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_1);
sys/dev/ic/arn5416.c
481
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL7);
sys/dev/ic/arn5416.c
748
reg = (AR_READ(sc, AR_PHY(256)) >> 24) & 0xff;
sys/dev/ic/arn9003.c
1349
intr = AR_READ(sc, AR_INTR_ASYNC_CAUSE);
sys/dev/ic/arn9003.c
1351
intr = AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/arn9003.c
1356
if ((AR_READ(sc, AR_INTR_ASYNC_CAUSE) & AR_INTR_MAC_IRQ) &&
sys/dev/ic/arn9003.c
1357
(AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) == AR_RTC_STATUS_ON)
sys/dev/ic/arn9003.c
1358
intr = AR_READ(sc, AR_ISR);
sys/dev/ic/arn9003.c
1361
sync = AR_READ(sc, AR_INTR_SYNC_CAUSE) & sc->sc_isync;
sys/dev/ic/arn9003.c
1391
uint32_t intr2 = AR_READ(sc, AR_ISR_S2);
sys/dev/ic/arn9003.c
1403
intr = AR_READ(sc, AR_ISR_RAC);
sys/dev/ic/arn9003.c
1427
uint32_t intr5 = AR_READ(sc, AR_ISR_S5_S);
sys/dev/ic/arn9003.c
1451
(void)AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/arn9003.c
1876
synth_delay = MS(AR_READ(sc, AR_PHY_RX_DELAY), AR_PHY_RX_DELAY_DELAY);
sys/dev/ic/arn9003.c
1892
if (AR_READ(sc, AR_PHY_RFBUS_GRANT) & AR_PHY_RFBUS_GRANT_EN)
sys/dev/ic/arn9003.c
1917
phy = AR_READ(sc, AR_PHY_GEN_CTRL);
sys/dev/ic/arn9003.c
1952
reg = AR_READ(sc, AR_PHY_TIMING3);
sys/dev/ic/arn9003.c
1962
reg = AR_READ(sc, AR_PHY_SGI_DELTA);
sys/dev/ic/arn9003.c
2038
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/arn9003.c
2042
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/arn9003.c
2058
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/arn9003.c
2062
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/arn9003.c
2078
if (AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
sys/dev/ic/arn9003.c
2132
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF))
sys/dev/ic/arn9003.c
2177
if (AR_READ(sc, AR_ENT_OTP) & AR_ENT_OTP_CHAIN2_DISABLE)
sys/dev/ic/arn9003.c
2195
reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
sys/dev/ic/arn9003.c
2217
reg = AR_READ(sc, AR_PHY_TIMING4);
sys/dev/ic/arn9003.c
2238
if (!(AR_READ(sc, AR_PHY_TIMING4) & AR_PHY_TIMING4_DO_CAL)) {
sys/dev/ic/arn9003.c
2257
cal->pwr_meas_i = AR_READ(sc, AR_PHY_IQ_ADC_MEAS_0_B(i));
sys/dev/ic/arn9003.c
2258
cal->pwr_meas_q = AR_READ(sc, AR_PHY_IQ_ADC_MEAS_1_B(i));
sys/dev/ic/arn9003.c
2260
(int32_t)AR_READ(sc, AR_PHY_IQ_ADC_MEAS_2_B(i));
sys/dev/ic/arn9003.c
2295
reg = AR_READ(sc, AR_PHY_RX_IQCAL_CORR_B(i));
sys/dev/ic/arn9003.c
243
if (AR_READ(sc, AR_ENT_OTP) & AR_ENT_OTP_MPSD)
sys/dev/ic/arn9003.c
2439
reg = AR_READ(sc, AR_PHY_TX_IQCAL_CONTROL_1);
sys/dev/ic/arn9003.c
2447
reg = AR_READ(sc, AR_PHY_TX_IQCAL_START);
sys/dev/ic/arn9003.c
2457
reg = AR_READ(sc, AR_PHY_TX_IQCAL_STATUS_B(i));
sys/dev/ic/arn9003.c
2467
reg = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(i, j));
sys/dev/ic/arn9003.c
2472
reg = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(i, j));
sys/dev/ic/arn9003.c
2481
reg = AR_READ(sc, AR_PHY_TX_IQCAL_CORR_COEFF_01_B(i));
sys/dev/ic/arn9003.c
2486
reg = AR_READ(sc, AR_PHY_RX_IQCAL_CORR_B(i));
sys/dev/ic/arn9003.c
2533
reg = AR_READ(sc, AR_PHY_PAPRD_AM2AM);
sys/dev/ic/arn9003.c
2538
reg = AR_READ(sc, AR_PHY_PAPRD_AM2PM);
sys/dev/ic/arn9003.c
2542
reg = AR_READ(sc, AR_PHY_PAPRD_HT40);
sys/dev/ic/arn9003.c
2550
reg = AR_READ(sc, AR_PHY_PAPRD_CTRL1_B(i));
sys/dev/ic/arn9003.c
2558
reg = AR_READ(sc, AR_PHY_PAPRD_CTRL0_B(i));
sys/dev/ic/arn9003.c
2573
reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL1);
sys/dev/ic/arn9003.c
2585
reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL3);
sys/dev/ic/arn9003.c
259
reg = AR_READ(sc, AR_EEPROM_OFFSET(addr));
sys/dev/ic/arn9003.c
2598
reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL4);
sys/dev/ic/arn9003.c
2605
reg = AR_READ(sc, AR_PHY_PAPRD_PRE_POST_SCALE_B0(i));
sys/dev/ic/arn9003.c
261
reg = AR_READ(sc, AR_EEPROM_STATUS_DATA);
sys/dev/ic/arn9003.c
2612
sc->sc_txgain[i] = AR_READ(sc, AR_PHY_TXGAIN_TABLE(i));
sys/dev/ic/arn9003.c
2615
sc->sc_trainpow = MS(AR_READ(sc, AR_PHY_PWRTX_RATE5),
sys/dev/ic/arn9003.c
2644
scale = MS(AR_READ(sc, AR_PHY_TPC_12),
sys/dev/ic/arn9003.c
2647
reg = AR_READ(sc, AR_PHY_TPC_19);
sys/dev/ic/arn9003.c
2651
reg = AR_READ(sc, AR_PHY_TPC_18);
sys/dev/ic/arn9003.c
2655
reg = AR_READ(sc, AR_PHY_BB_THERM_ADC_4);
sys/dev/ic/arn9003.c
2659
delta = (int8_t)MS(AR_READ(sc, AR_PHY_TPC_11_B(chain)),
sys/dev/ic/arn9003.c
2675
reg = AR_READ(sc, AR_PHY_TX_FORCED_GAIN);
sys/dev/ic/arn9003.c
2694
reg = AR_READ(sc, AR_PHY_TPC_1);
sys/dev/ic/arn9003.c
3032
reg = AR_READ(sc, AR_PHY_PA_GAIN123_B(chain));
sys/dev/ic/arn9003.c
3037
reg = AR_READ(sc, AR_PHY_PAPRD_CTRL1_B(chain));
sys/dev/ic/arn9003.c
3068
if (!(AR_READ(sc, AR_PHY_PAPRD_TRAINER_STAT1) &
sys/dev/ic/arn9003.c
3075
lo[i] = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(0, i));
sys/dev/ic/arn9003.c
3078
hi[i] = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(0, i));
sys/dev/ic/arn9003.c
321
reg = AR_READ(sc, AR_OTP_BASE(addr));
sys/dev/ic/arn9003.c
323
reg = AR_READ(sc, AR_OTP_STATUS);
sys/dev/ic/arn9003.c
325
*val = AR_READ(sc, AR_OTP_READ_DATA);
sys/dev/ic/arn9003.c
3288
reg = AR_READ(sc, AR_PCU_MISC_MODE2);
sys/dev/ic/arn9003.c
3375
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/arn9003.c
3379
reg = AR_READ(sc, AR_PHY_AGC);
sys/dev/ic/arn9003.c
3384
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/arn9003.c
3395
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/arn9003.c
3401
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/arn9003.c
3407
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/arn9003.c
3424
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/arn9003.c
3430
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/arn9003.c
3436
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/arn9003.c
3453
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/arn9003.c
3464
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/arn9003.c
3475
reg = AR_READ(sc, AR_PHY_TIMING5);
sys/dev/ic/arn9003.c
528
return ((AR_READ(sc, AR_GPIO_IN) & AR9300_GPIO_IN_VAL) &
sys/dev/ic/arn9003.c
538
reg = AR_READ(sc, AR_GPIO_IN_OUT);
sys/dev/ic/arn9003.c
552
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/arn9003.c
568
reg = AR_READ(sc, AR_GPIO_OUTPUT_MUX(mux));
sys/dev/ic/arn9003.c
573
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/arn9003.c
587
reg = AR_READ(sc, AR_GPIO_INPUT_MUX2);
sys/dev/ic/arn9003.c
843
reg = AR_READ(sc, AR_RXBP_THRESH);
sys/dev/ic/arn9003.c
886
tsf = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/arn9003.c
887
tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
sys/dev/ic/arn9280.c
170
phy = AR_READ(sc, AR9280_PHY_SYNTH_CONTROL) & ~0x3fffffff;
sys/dev/ic/arn9280.c
191
reg = AR_READ(sc, AR_PHY_CCK_TX_CTRL);
sys/dev/ic/arn9280.c
220
reg = AR_READ(sc, AR_AN_SYNTH9);
sys/dev/ic/arn9280.c
256
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0 + offset);
sys/dev/ic/arn9280.c
264
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/arn9280.c
279
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/arn9280.c
287
reg = AR_READ(sc, AR_AN_RF2G1_CH0);
sys/dev/ic/arn9280.c
294
reg = AR_READ(sc, AR_AN_RF2G1_CH1);
sys/dev/ic/arn9280.c
302
reg = AR_READ(sc, AR_AN_RF5G1_CH0);
sys/dev/ic/arn9280.c
309
reg = AR_READ(sc, AR_AN_RF5G1_CH1);
sys/dev/ic/arn9280.c
316
reg = AR_READ(sc, AR_AN_TOP2);
sys/dev/ic/arn9280.c
335
reg = AR_READ(sc, AR_PHY_XPA_CFG);
sys/dev/ic/arn9280.c
342
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn9280.c
346
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/arn9280.c
356
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/arn9280.c
360
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/arn9280.c
364
reg = AR_READ(sc, AR_PHY_EXT_CCA0);
sys/dev/ic/arn9280.c
369
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/arn9280.c
378
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn9280.c
384
reg = AR_READ(sc, AR_PHY_CCK_TX_CTRL);
sys/dev/ic/arn9280.c
391
reg = AR_READ(sc, AR_AN_TOP1);
sys/dev/ic/arn9280.c
402
reg = AR_READ(sc, AR_PHY_FRAME_CTL);
sys/dev/ic/arn9280.c
407
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL9);
sys/dev/ic/arn9280.c
583
reg = AR_READ(sc, AR_PHY_TX_GAIN_TBL(i));
sys/dev/ic/arn9280.c
598
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL4);
sys/dev/ic/arn9280.c
622
reg = AR_READ(sc, AR_PHY_TX_GAIN_TBL(i));
sys/dev/ic/arn9285.c
141
if ((AR_READ(sc, AR_AN_SYNTH9) & 0x7) == 0x1) { /* XE rev. */
sys/dev/ic/arn9285.c
194
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0);
sys/dev/ic/arn9285.c
200
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ);
sys/dev/ic/arn9285.c
212
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/arn9285.c
227
reg = AR_READ(sc, AR_PHY_RXGAIN);
sys/dev/ic/arn9285.c
233
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/arn9285.c
240
reg = AR_READ(sc, AR_PHY_MULTICHAIN_GAIN_CTL);
sys/dev/ic/arn9285.c
253
reg = AR_READ(sc, AR_PHY_MULTICHAIN_GAIN_CTL); /* Flush. */
sys/dev/ic/arn9285.c
255
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/arn9285.c
261
reg = AR_READ(sc, AR_PHY_CCK_DETECT); /* Flush. */
sys/dev/ic/arn9285.c
313
reg = AR_READ(sc, AR9285_AN_RF2G3);
sys/dev/ic/arn9285.c
321
reg = AR_READ(sc, AR9285_AN_RF2G4);
sys/dev/ic/arn9285.c
330
reg = AR_READ(sc, AR9285_AN_RF2G3);
sys/dev/ic/arn9285.c
342
reg = AR_READ(sc, AR9285_AN_RF2G4);
sys/dev/ic/arn9285.c
355
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn9285.c
359
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/arn9285.c
369
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/arn9285.c
373
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/arn9285.c
377
reg = AR_READ(sc, AR_PHY_EXT_CCA0);
sys/dev/ic/arn9285.c
382
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/arn9285.c
391
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn9285.c
423
svg[i] = AR_READ(sc, regs[i]);
sys/dev/ic/arn9285.c
440
reg = AR_READ(sc, AR9285_AN_RF2G8);
sys/dev/ic/arn9285.c
444
reg = AR_READ(sc, AR9285_AN_RF2G7);
sys/dev/ic/arn9285.c
448
reg = AR_READ(sc, AR9285_AN_RF2G6);
sys/dev/ic/arn9285.c
468
if (AR_READ(sc, AR9285_AN_RF2G9) & AR9285_AN_RXTXBB1_SPARE9) {
sys/dev/ic/arn9285.c
481
if (AR_READ(sc, AR9285_AN_RF2G9) & AR9285_AN_RXTXBB1_SPARE9)
sys/dev/ic/arn9285.c
496
reg = AR_READ(sc, AR9285_AN_RF2G6);
sys/dev/ic/arn9285.c
521
svg[i] = AR_READ(sc, regs[i]);
sys/dev/ic/arn9285.c
538
reg = AR_READ(sc, AR9285_AN_RF2G8);
sys/dev/ic/arn9285.c
542
reg = AR_READ(sc, AR9285_AN_RF2G7);
sys/dev/ic/arn9285.c
547
reg = rf2g3_svg = AR_READ(sc, AR9285_AN_RF2G3);
sys/dev/ic/arn9285.c
560
reg = AR_READ(sc, AR9285_AN_RF2G6);
sys/dev/ic/arn9285.c
565
if (!(AR_READ(sc, AR9285_AN_RF2G9) & AR9285_AN_RXTXBB1_SPARE9))
sys/dev/ic/arn9285.c
603
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/arn9285.c
620
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/arn9285.c
669
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL7);
sys/dev/ic/arn9285.c
672
reg = AR_READ(sc, AR_PHY_TX_GAIN_TBL(i));
sys/dev/ic/arn9285.c
682
reg = AR_READ(sc, AR_PHY_CLC_TBL(i));
sys/dev/ic/arn9285.c
693
rf2g5_svg = reg = AR_READ(sc, AR9285_AN_RF2G5);
sys/dev/ic/arn9285.c
694
if ((AR_READ(sc, AR_AN_SYNTH9) & 0x7) == 0x1) /* XE rev. */
sys/dev/ic/arn9285.c
749
overlap = MS(AR_READ(sc, AR_PHY_TPCRG5),
sys/dev/ic/arn9285.c
763
reg = AR_READ(sc, AR_PHY_TPCRG1);
sys/dev/ic/arn9287.c
175
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0 + offset);
sys/dev/ic/arn9287.c
182
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/arn9287.c
189
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/arn9287.c
197
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/arn9287.c
206
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/arn9287.c
216
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/arn9287.c
220
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/arn9287.c
224
reg = AR_READ(sc, AR_PHY_EXT_CCA0);
sys/dev/ic/arn9287.c
228
reg = AR_READ(sc, AR9287_AN_RF2G3_CH0);
sys/dev/ic/arn9287.c
239
reg = AR_READ(sc, AR9287_AN_RF2G3_CH1);
sys/dev/ic/arn9287.c
250
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/arn9287.c
255
reg = AR_READ(sc, AR9287_AN_TOP2);
sys/dev/ic/arn9287.c
346
overlap = MS(AR_READ(sc, AR_PHY_TPCRG5),
sys/dev/ic/arn9287.c
367
reg = AR_READ(sc, AR_PHY_TPCRG1);
sys/dev/ic/arn9287.c
383
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_0);
sys/dev/ic/arn9287.c
387
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_1);
sys/dev/ic/arn9287.c
392
reg = AR_READ(sc, AR_PHY_CH0_TX_PWRCTRL11 + offset);
sys/dev/ic/arn9287.c
548
reg = AR_READ(sc, AR9287_AN_TXPC0);
sys/dev/ic/arn9287.c
563
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL4);
sys/dev/ic/arn9287.c
582
reg = AR_READ(sc, AR_PHY_CH0_TX_PWRCTRL11);
sys/dev/ic/arn9287.c
586
reg = AR_READ(sc, AR_PHY_CH1_TX_PWRCTRL11);
sys/dev/ic/arn9287.c
626
reg = AR_READ(sc, AR_AHB_MODE);
sys/dev/ic/arn9380.c
316
reg = AR_READ(sc, AR9485_PHY_65NM_CH0_TOP2);
sys/dev/ic/arn9380.c
322
reg = AR_READ(sc, AR_PHY_65NM_CH0_TOP);
sys/dev/ic/arn9380.c
326
reg = AR_READ(sc, AR_PHY_65NM_CH0_THERM);
sys/dev/ic/arn9380.c
334
reg = AR_READ(sc, AR_PHY_SWITCH_COM);
sys/dev/ic/arn9380.c
337
reg = AR_READ(sc, AR_PHY_SWITCH_COM_2);
sys/dev/ic/arn9380.c
343
reg = AR_READ(sc, AR_PHY_SWITCH_CHAIN(i));
sys/dev/ic/arn9380.c
350
reg = AR_READ(sc, AR_PHY_MC_GAIN_CTRL);
sys/dev/ic/arn9380.c
358
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/arn9380.c
368
reg = AR_READ(sc, AR_PHY_65NM_CH0_BIAS1);
sys/dev/ic/arn9380.c
377
reg = AR_READ(sc, AR_PHY_65NM_CH0_BIAS2);
sys/dev/ic/arn9380.c
389
reg = AR_READ(sc, AR_PHY_65NM_CH0_BIAS4);
sys/dev/ic/arn9380.c
429
reg = AR_READ(sc, AR_PHY_EXT_ATTEN_CTL(i));
sys/dev/ic/arn9380.c
444
reg = AR_READ(sc, AR9485_PHY_CH0_XTAL);
sys/dev/ic/arn9380.c
482
if (AR_READ(sc, addr) == val)
sys/dev/ic/arn9380.c
535
reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
sys/dev/ic/arn9380.c
538
reg = AR_READ(sc, AR_PHY_CCK_SPUR_MIT);
sys/dev/ic/arn9380.c
547
reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
sys/dev/ic/arn9380.c
551
reg = AR_READ(sc, AR_PHY_CCK_SPUR_MIT);
sys/dev/ic/arn9380.c
580
reg = AR_READ(sc, AR_PHY_TIMING11);
sys/dev/ic/arn9380.c
592
reg = AR_READ(sc, AR_PHY_SPUR_REG);
sys/dev/ic/arn9380.c
604
if (AR_READ(sc, AR_PHY_GEN_CTRL) & AR_PHY_GC_DYN2040_PRI_CH)
sys/dev/ic/arn9380.c
632
reg = AR_READ(sc, AR_PHY_GEN_CTRL);
sys/dev/ic/arn9380.c
655
reg = AR_READ(sc, AR_PHY_TIMING11);
sys/dev/ic/arn9380.c
662
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/arn9380.c
671
reg = AR_READ(sc, AR_PHY_SPUR_REG);
sys/dev/ic/arn9380.c
675
if (AR_READ(sc, AR_PHY_MODE) & AR_PHY_MODE_DYNAMIC)
sys/dev/ic/arn9380.c
689
reg = AR_READ(sc, AR_PHY_PILOT_SPUR_MASK);
sys/dev/ic/arn9380.c
694
reg = AR_READ(sc, AR_PHY_SPUR_MASK_A);
sys/dev/ic/arn9380.c
699
reg = AR_READ(sc, AR_PHY_CHAN_SPUR_MASK);
sys/dev/ic/arn9380.c
882
reg = AR_READ(sc, AR_PHY_TPC_11_B(i));
sys/dev/ic/arn9380.c
887
reg = AR_READ(sc, AR_PHY_TPC_6_B(i));
sys/dev/ic/arn9380.c
909
reg = AR_READ(sc, AR_PHY_TPC_19);
sys/dev/ic/arn9380.c
913
reg = AR_READ(sc, AR_PHY_TPC_18);
sys/dev/ic/arn9380.c
93
#define ar9485_pmu_read AR_READ
sys/dev/ic/athn.c
1192
reg = AR_READ(sc, AR_GPIO_INPUT_MUX1);
sys/dev/ic/athn.c
1204
reg = AR_READ(sc, AR_GPIO_INPUT_MUX1);
sys/dev/ic/athn.c
1249
reg = AR_READ(sc, AR_GPIO_PDPU);
sys/dev/ic/athn.c
1610
txfcnt = AR_READ(sc, AR_TFCNT); /* Tx frame count. */
sys/dev/ic/athn.c
1611
rxfcnt = AR_READ(sc, AR_RFCNT); /* Rx frame count. */
sys/dev/ic/athn.c
1612
cyccnt = AR_READ(sc, AR_CCCNT); /* Cycle count. */
sys/dev/ic/athn.c
1634
phy1 = AR_READ(sc, AR_PHY_ERR_1);
sys/dev/ic/athn.c
1635
phy2 = AR_READ(sc, AR_PHY_ERR_2);
sys/dev/ic/athn.c
1723
reg = AR_READ(sc, AR_TXCFG);
sys/dev/ic/athn.c
1735
reg = AR_READ(sc, AR_RXCFG);
sys/dev/ic/athn.c
1762
reg = AR_READ(sc, AR_TXCFG);
sys/dev/ic/athn.c
1783
if (!(AR_READ(sc, AR_CR) & AR_CR_RXE))
sys/dev/ic/athn.c
1799
if (MS(AR_READ(sc, AR_OBS_BUS_1), AR_OBS_BUS_1_RX_STATE) == 0)
sys/dev/ic/athn.c
1837
return MS(AR_READ(sc, AR_QSTS(qid)), AR_Q_STS_PEND_FR_CNT) != 0 ||
sys/dev/ic/athn.c
1838
(AR_READ(sc, AR_Q_TXE) & (1 << qid)) != 0;
sys/dev/ic/athn.c
1855
tsflo = AR_READ(sc, AR_TSF_L32) / 1024;
sys/dev/ic/athn.c
1861
if (AR_READ(sc, AR_TSF_L32) / 1024 == tsflo)
sys/dev/ic/athn.c
1976
tsfhi = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/athn.c
1977
tsflo = AR_READ(sc, AR_TSF_L32);
sys/dev/ic/athn.c
2008
reg = AR_READ(sc, AR_RSSI_THR);
sys/dev/ic/athn.c
2073
reg = AR_READ(sc, AR_STA_ID1);
sys/dev/ic/athn.c
2082
reg = AR_READ(sc, AR_STA_ID1);
sys/dev/ic/athn.c
2091
reg = AR_READ(sc, AR_STA_ID1);
sys/dev/ic/athn.c
2120
mask2 = AR_READ(sc, AR_IMR_S2);
sys/dev/ic/athn.c
2143
(void)AR_READ(sc, AR_IER);
sys/dev/ic/athn.c
2146
(void)AR_READ(sc, AR_INTR_ASYNC_ENABLE);
sys/dev/ic/athn.c
2149
(void)AR_READ(sc, AR_INTR_SYNC_ENABLE);
sys/dev/ic/athn.c
2197
if ((def_ant = AR_READ(sc, AR_DEF_ANTENNA)) == 0)
sys/dev/ic/athn.c
2200
sta_id1 = AR_READ(sc, AR_STA_ID1) & AR_STA_ID1_BASE_RATE_11B;
sys/dev/ic/athn.c
2201
cfg_led = AR_READ(sc, AR_CFG_LED) & (AR_CFG_LED_ASSOC_CTL_M |
sys/dev/ic/athn.c
2215
tsfhi = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/athn.c
2216
tsflo = AR_READ(sc, AR_TSF_L32);
sys/dev/ic/athn.c
2275
reg = AR_READ(sc, AR_AES_MUTE_MASK1);
sys/dev/ic/athn.c
2543
reg = AR_READ(sc, AR_RX_FILTER);
sys/dev/ic/athn.c
528
reg = AR_READ(sc, AR_PHY_ERR);
sys/dev/ic/athn.c
599
reg = AR_READ(sc, AR_SREV);
sys/dev/ic/athn.c
687
if ((AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) ==
sys/dev/ic/athn.c
708
if (AR_READ(sc, AR_INTR_SYNC_CAUSE) &
sys/dev/ic/athn.c
722
if (!(AR_READ(sc, AR_RTC_RC) &
sys/dev/ic/athn.c
742
if ((AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) ==
sys/dev/ic/athn.c
755
if ((AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) ==
sys/dev/ic/athnreg.h
1469
AR_WRITE(sc, reg, AR_READ(sc, reg) | (mask))
sys/dev/ic/athnreg.h
1472
AR_WRITE(sc, reg, AR_READ(sc, reg) & ~(mask))
sys/dev/usb/if_athn_usb.c
1505
reg = AR_READ(sc, AR_RX_FILTER);