Symbol: AR_READ
sys/dev/ic/ar5008.c
1218
reg = AR_READ(sc, AR_ISR_S0_S);
sys/dev/ic/ar5008.c
1222
reg = AR_READ(sc, AR_ISR_S1_S);
sys/dev/ic/ar5008.c
1365
intr = AR_READ(sc, AR_INTR_ASYNC_CAUSE);
sys/dev/ic/ar5008.c
1367
intr = AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/ar5008.c
1372
if ((AR_READ(sc, AR_INTR_ASYNC_CAUSE) & AR_INTR_MAC_IRQ) &&
sys/dev/ic/ar5008.c
1373
(AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) == AR_RTC_STATUS_ON)
sys/dev/ic/ar5008.c
1374
intr = AR_READ(sc, AR_ISR);
sys/dev/ic/ar5008.c
1377
sync = AR_READ(sc, AR_INTR_SYNC_CAUSE) & sc->isync;
sys/dev/ic/ar5008.c
1383
intr2 = AR_READ(sc, AR_ISR_S2);
sys/dev/ic/ar5008.c
1389
intr = AR_READ(sc, AR_ISR_RAC);
sys/dev/ic/ar5008.c
1406
intr5 = AR_READ(sc, AR_ISR_S5_S);
sys/dev/ic/ar5008.c
1440
(void)AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/ar5008.c
1850
delay = MS(AR_READ(sc, AR_PHY_RX_DELAY), AR_PHY_RX_DELAY_DELAY);
sys/dev/ic/ar5008.c
1866
if (AR_READ(sc, AR_PHY_RFBUS_GRANT) & AR_PHY_RFBUS_GRANT_EN)
sys/dev/ic/ar5008.c
1892
phy = AR_READ(sc, AR_PHY_TURBO) & AR_PHY_FC_ENABLE_DAC_FIFO;
sys/dev/ic/ar5008.c
1925
reg = AR_READ(sc, AR_PHY_TIMING3);
sys/dev/ic/ar5008.c
1935
reg = AR_READ(sc, AR_PHY_HALFGI);
sys/dev/ic/ar5008.c
2007
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/ar5008.c
2014
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/ar5008.c
2031
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/ar5008.c
2035
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/ar5008.c
2048
if (AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
sys/dev/ic/ar5008.c
2084
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF))
sys/dev/ic/ar5008.c
2107
agc_nfcal = AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/ar5008.c
2148
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0);
sys/dev/ic/ar5008.c
2171
if (!(AR_READ(sc, AR_PHY_TIMING_CTRL4_0) &
sys/dev/ic/ar5008.c
2196
cal->pwr_meas_i += AR_READ(sc, AR_PHY_CAL_MEAS_0(i));
sys/dev/ic/ar5008.c
2197
cal->pwr_meas_q += AR_READ(sc, AR_PHY_CAL_MEAS_1(i));
sys/dev/ic/ar5008.c
2199
(int32_t)AR_READ(sc, AR_PHY_CAL_MEAS_2(i));
sys/dev/ic/ar5008.c
2236
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4(i));
sys/dev/ic/ar5008.c
2263
cal->pwr_meas_odd_i += AR_READ(sc, AR_PHY_CAL_MEAS_0(i));
sys/dev/ic/ar5008.c
2264
cal->pwr_meas_even_i += AR_READ(sc, AR_PHY_CAL_MEAS_1(i));
sys/dev/ic/ar5008.c
2265
cal->pwr_meas_odd_q += AR_READ(sc, AR_PHY_CAL_MEAS_2(i));
sys/dev/ic/ar5008.c
2266
cal->pwr_meas_even_q += AR_READ(sc, AR_PHY_CAL_MEAS_3(i));
sys/dev/ic/ar5008.c
2287
reg = AR_READ(sc, AR_PHY_NEW_ADC_DC_GAIN_CORR(i));
sys/dev/ic/ar5008.c
2315
cal->pwr_meas_odd_i += AR_READ(sc, AR_PHY_CAL_MEAS_0(i));
sys/dev/ic/ar5008.c
2316
cal->pwr_meas_even_i += AR_READ(sc, AR_PHY_CAL_MEAS_1(i));
sys/dev/ic/ar5008.c
2317
cal->pwr_meas_odd_q += AR_READ(sc, AR_PHY_CAL_MEAS_2(i));
sys/dev/ic/ar5008.c
2318
cal->pwr_meas_even_q += AR_READ(sc, AR_PHY_CAL_MEAS_3(i));
sys/dev/ic/ar5008.c
2340
reg = AR_READ(sc, AR_PHY_NEW_ADC_DC_GAIN_CORR(i));
sys/dev/ic/ar5008.c
2614
reg = AR_READ(sc, AR_PCU_MISC_MODE2);
sys/dev/ic/ar5008.c
284
reg = AR_READ(sc, AR_EEPROM_OFFSET(addr));
sys/dev/ic/ar5008.c
2849
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/ar5008.c
2853
reg = AR_READ(sc, AR_PHY_AGC_CTL1);
sys/dev/ic/ar5008.c
2858
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/ar5008.c
286
reg = AR_READ(sc, AR_EEPROM_STATUS_DATA);
sys/dev/ic/ar5008.c
2870
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/ar5008.c
2876
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/ar5008.c
2882
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/ar5008.c
2899
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/ar5008.c
2905
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/ar5008.c
2911
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/ar5008.c
2928
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/ar5008.c
2939
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/ar5008.c
2950
reg = AR_READ(sc, AR_PHY_TIMING5);
sys/dev/ic/ar5008.c
375
return (!((AR_READ(sc, AR7010_GPIO_IN) >> pin) & 1));
sys/dev/ic/ar5008.c
376
return ((AR_READ(sc, AR_GPIO_IN_OUT) >> (sc->ngpiopins + pin)) & 1);
sys/dev/ic/ar5008.c
391
reg = AR_READ(sc, AR7010_GPIO_OUT);
sys/dev/ic/ar5008.c
398
reg = AR_READ(sc, AR_GPIO_IN_OUT);
sys/dev/ic/ar5008.c
417
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/ar5008.c
440
reg = AR_READ(sc, AR_GPIO_OUTPUT_MUX(mux));
sys/dev/ic/ar5008.c
447
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/ar5008.c
461
reg = AR_READ(sc, AR_GPIO_INPUT_MUX2);
sys/dev/ic/ar5008.c
740
tsf = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/ar5008.c
741
tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
sys/dev/ic/ar5416.c
201
reg = AR_READ(sc, AR_PHY_CCK_TX_CTRL);
sys/dev/ic/ar5416.c
261
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0 + offset);
sys/dev/ic/ar5416.c
272
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/ar5416.c
283
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/ar5416.c
287
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/ar5416.c
292
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar5416.c
296
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/ar5416.c
307
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/ar5416.c
311
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/ar5416.c
315
reg = AR_READ(sc, AR_PHY_EXT_CCA(0));
sys/dev/ic/ar5416.c
320
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/ar5416.c
328
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar5416.c
350
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/ar5416.c
442
overlap = MS(AR_READ(sc, AR_PHY_TPCRG5),
sys/dev/ic/ar5416.c
462
reg = AR_READ(sc, AR_PHY_TPCRG1);
sys/dev/ic/ar5416.c
483
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_0);
sys/dev/ic/ar5416.c
487
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_1);
sys/dev/ic/ar5416.c
491
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL7);
sys/dev/ic/ar5416.c
748
reg = (AR_READ(sc, AR_PHY(256)) >> 24) & 0xff;
sys/dev/ic/ar9003.c
1315
intr = AR_READ(sc, AR_INTR_ASYNC_CAUSE);
sys/dev/ic/ar9003.c
1317
intr = AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/ar9003.c
1322
if ((AR_READ(sc, AR_INTR_ASYNC_CAUSE) & AR_INTR_MAC_IRQ) &&
sys/dev/ic/ar9003.c
1323
(AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) == AR_RTC_STATUS_ON)
sys/dev/ic/ar9003.c
1324
intr = AR_READ(sc, AR_ISR);
sys/dev/ic/ar9003.c
1327
sync = AR_READ(sc, AR_INTR_SYNC_CAUSE) & sc->isync;
sys/dev/ic/ar9003.c
1333
intr2 = AR_READ(sc, AR_ISR_S2);
sys/dev/ic/ar9003.c
1341
intr = AR_READ(sc, AR_ISR_RAC);
sys/dev/ic/ar9003.c
1362
intr5 = AR_READ(sc, AR_ISR_S5_S);
sys/dev/ic/ar9003.c
1386
(void)AR_READ(sc, AR_INTR_SYNC_CAUSE);
sys/dev/ic/ar9003.c
1789
delay = MS(AR_READ(sc, AR_PHY_RX_DELAY), AR_PHY_RX_DELAY_DELAY);
sys/dev/ic/ar9003.c
1805
if (AR_READ(sc, AR_PHY_RFBUS_GRANT) & AR_PHY_RFBUS_GRANT_EN)
sys/dev/ic/ar9003.c
1830
phy = AR_READ(sc, AR_PHY_GEN_CTRL);
sys/dev/ic/ar9003.c
1863
reg = AR_READ(sc, AR_PHY_TIMING3);
sys/dev/ic/ar9003.c
1873
reg = AR_READ(sc, AR_PHY_SGI_DELTA);
sys/dev/ic/ar9003.c
1947
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/ar9003.c
1951
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/ar9003.c
1965
reg = AR_READ(sc, AR_PHY_CCA(i));
sys/dev/ic/ar9003.c
1969
reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
sys/dev/ic/ar9003.c
1982
if (AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
sys/dev/ic/ar9003.c
2018
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF))
sys/dev/ic/ar9003.c
2038
agc_nfcal = AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/ar9003.c
2084
if (AR_READ(sc, AR_ENT_OTP) & AR_ENT_OTP_CHAIN2_DISABLE)
sys/dev/ic/ar9003.c
2102
reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
sys/dev/ic/ar9003.c
2124
reg = AR_READ(sc, AR_PHY_TIMING4);
sys/dev/ic/ar9003.c
2144
if (!(AR_READ(sc, AR_PHY_TIMING4) & AR_PHY_TIMING4_DO_CAL)) {
sys/dev/ic/ar9003.c
2163
cal->pwr_meas_i = AR_READ(sc, AR_PHY_IQ_ADC_MEAS_0_B(i));
sys/dev/ic/ar9003.c
2164
cal->pwr_meas_q = AR_READ(sc, AR_PHY_IQ_ADC_MEAS_1_B(i));
sys/dev/ic/ar9003.c
2166
(int32_t)AR_READ(sc, AR_PHY_IQ_ADC_MEAS_2_B(i));
sys/dev/ic/ar9003.c
2201
reg = AR_READ(sc, AR_PHY_RX_IQCAL_CORR_B(i));
sys/dev/ic/ar9003.c
224
if (AR_READ(sc, AR_ENT_OTP) & AR_ENT_OTP_MPSD)
sys/dev/ic/ar9003.c
2344
reg = AR_READ(sc, AR_PHY_TX_IQCAL_CONTROL_1);
sys/dev/ic/ar9003.c
2352
reg = AR_READ(sc, AR_PHY_TX_IQCAL_START);
sys/dev/ic/ar9003.c
2362
reg = AR_READ(sc, AR_PHY_TX_IQCAL_STATUS_B(i));
sys/dev/ic/ar9003.c
2372
reg = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(i, j));
sys/dev/ic/ar9003.c
2377
reg = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(i, j));
sys/dev/ic/ar9003.c
2386
reg = AR_READ(sc, AR_PHY_TX_IQCAL_CORR_COEFF_01_B(i));
sys/dev/ic/ar9003.c
2391
reg = AR_READ(sc, AR_PHY_RX_IQCAL_CORR_B(i));
sys/dev/ic/ar9003.c
240
reg = AR_READ(sc, AR_EEPROM_OFFSET(addr));
sys/dev/ic/ar9003.c
242
reg = AR_READ(sc, AR_EEPROM_STATUS_DATA);
sys/dev/ic/ar9003.c
2437
reg = AR_READ(sc, AR_PHY_PAPRD_AM2AM);
sys/dev/ic/ar9003.c
2442
reg = AR_READ(sc, AR_PHY_PAPRD_AM2PM);
sys/dev/ic/ar9003.c
2446
reg = AR_READ(sc, AR_PHY_PAPRD_HT40);
sys/dev/ic/ar9003.c
2454
reg = AR_READ(sc, AR_PHY_PAPRD_CTRL1_B(i));
sys/dev/ic/ar9003.c
2462
reg = AR_READ(sc, AR_PHY_PAPRD_CTRL0_B(i));
sys/dev/ic/ar9003.c
2477
reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL1);
sys/dev/ic/ar9003.c
2489
reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL3);
sys/dev/ic/ar9003.c
2502
reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL4);
sys/dev/ic/ar9003.c
2509
reg = AR_READ(sc, AR_PHY_PAPRD_PRE_POST_SCALE_B0(i));
sys/dev/ic/ar9003.c
2516
sc->txgain[i] = AR_READ(sc, AR_PHY_TXGAIN_TABLE(i));
sys/dev/ic/ar9003.c
2519
sc->trainpow = MS(AR_READ(sc, AR_PHY_PWRTX_RATE5),
sys/dev/ic/ar9003.c
2547
scale = MS(AR_READ(sc, AR_PHY_TPC_12),
sys/dev/ic/ar9003.c
2550
reg = AR_READ(sc, AR_PHY_TPC_19);
sys/dev/ic/ar9003.c
2554
reg = AR_READ(sc, AR_PHY_TPC_18);
sys/dev/ic/ar9003.c
2558
reg = AR_READ(sc, AR_PHY_BB_THERM_ADC_4);
sys/dev/ic/ar9003.c
2562
delta = (int8_t)MS(AR_READ(sc, AR_PHY_TPC_11_B(chain)),
sys/dev/ic/ar9003.c
2578
reg = AR_READ(sc, AR_PHY_TX_FORCED_GAIN);
sys/dev/ic/ar9003.c
2597
reg = AR_READ(sc, AR_PHY_TPC_1);
sys/dev/ic/ar9003.c
2934
reg = AR_READ(sc, AR_PHY_PA_GAIN123_B(chain));
sys/dev/ic/ar9003.c
2939
reg = AR_READ(sc, AR_PHY_PAPRD_CTRL1_B(chain));
sys/dev/ic/ar9003.c
2970
if (!(AR_READ(sc, AR_PHY_PAPRD_TRAINER_STAT1) &
sys/dev/ic/ar9003.c
2977
lo[i] = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(0, i));
sys/dev/ic/ar9003.c
2980
hi[i] = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(0, i));
sys/dev/ic/ar9003.c
301
reg = AR_READ(sc, AR_OTP_BASE(addr));
sys/dev/ic/ar9003.c
303
reg = AR_READ(sc, AR_OTP_STATUS);
sys/dev/ic/ar9003.c
305
*val = AR_READ(sc, AR_OTP_READ_DATA);
sys/dev/ic/ar9003.c
3180
reg = AR_READ(sc, AR_PCU_MISC_MODE2);
sys/dev/ic/ar9003.c
3267
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/ar9003.c
3271
reg = AR_READ(sc, AR_PHY_AGC);
sys/dev/ic/ar9003.c
3276
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/ar9003.c
3287
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/ar9003.c
3293
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/ar9003.c
3299
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/ar9003.c
3316
reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
sys/dev/ic/ar9003.c
3322
reg = AR_READ(sc, AR_PHY_SFCORR);
sys/dev/ic/ar9003.c
3328
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/ar9003.c
3345
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/ar9003.c
3356
reg = AR_READ(sc, AR_PHY_FIND_SIG);
sys/dev/ic/ar9003.c
3367
reg = AR_READ(sc, AR_PHY_TIMING5);
sys/dev/ic/ar9003.c
504
return (((AR_READ(sc, AR_GPIO_IN) & AR9300_GPIO_IN_VAL) &
sys/dev/ic/ar9003.c
514
reg = AR_READ(sc, AR_GPIO_IN_OUT);
sys/dev/ic/ar9003.c
528
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/ar9003.c
544
reg = AR_READ(sc, AR_GPIO_OUTPUT_MUX(mux));
sys/dev/ic/ar9003.c
549
reg = AR_READ(sc, AR_GPIO_OE_OUT);
sys/dev/ic/ar9003.c
563
reg = AR_READ(sc, AR_GPIO_INPUT_MUX2);
sys/dev/ic/ar9003.c
819
reg = AR_READ(sc, AR_RXBP_THRESH);
sys/dev/ic/ar9003.c
865
tsf = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/ar9003.c
866
tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
sys/dev/ic/ar9280.c
182
phy = AR_READ(sc, AR9280_PHY_SYNTH_CONTROL) & ~0x3fffffff;
sys/dev/ic/ar9280.c
201
reg = AR_READ(sc, AR_PHY_CCK_TX_CTRL);
sys/dev/ic/ar9280.c
227
reg = AR_READ(sc, AR_AN_SYNTH9);
sys/dev/ic/ar9280.c
263
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0 + offset);
sys/dev/ic/ar9280.c
271
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/ar9280.c
286
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/ar9280.c
294
reg = AR_READ(sc, AR_AN_RF2G1_CH0);
sys/dev/ic/ar9280.c
301
reg = AR_READ(sc, AR_AN_RF2G1_CH1);
sys/dev/ic/ar9280.c
308
reg = AR_READ(sc, AR_AN_RF5G1_CH0);
sys/dev/ic/ar9280.c
315
reg = AR_READ(sc, AR_AN_RF5G1_CH1);
sys/dev/ic/ar9280.c
322
reg = AR_READ(sc, AR_AN_TOP2);
sys/dev/ic/ar9280.c
340
reg = AR_READ(sc, AR_PHY_XPA_CFG);
sys/dev/ic/ar9280.c
347
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar9280.c
351
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/ar9280.c
361
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/ar9280.c
365
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/ar9280.c
369
reg = AR_READ(sc, AR_PHY_EXT_CCA0);
sys/dev/ic/ar9280.c
374
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/ar9280.c
382
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar9280.c
387
reg = AR_READ(sc, AR_PHY_CCK_TX_CTRL);
sys/dev/ic/ar9280.c
394
reg = AR_READ(sc, AR_AN_TOP1);
sys/dev/ic/ar9280.c
405
reg = AR_READ(sc, AR_PHY_FRAME_CTL);
sys/dev/ic/ar9280.c
410
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL9);
sys/dev/ic/ar9280.c
579
reg = AR_READ(sc, AR_PHY_TX_GAIN_TBL(i));
sys/dev/ic/ar9280.c
594
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL4);
sys/dev/ic/ar9280.c
618
reg = AR_READ(sc, AR_PHY_TX_GAIN_TBL(i));
sys/dev/ic/ar9285.c
155
if ((AR_READ(sc, AR_AN_SYNTH9) & 0x7) == 0x1) { /* XE rev. */
sys/dev/ic/ar9285.c
207
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0);
sys/dev/ic/ar9285.c
213
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ);
sys/dev/ic/ar9285.c
225
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/ar9285.c
240
reg = AR_READ(sc, AR_PHY_RXGAIN);
sys/dev/ic/ar9285.c
246
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/ar9285.c
253
reg = AR_READ(sc, AR_PHY_MULTICHAIN_GAIN_CTL);
sys/dev/ic/ar9285.c
266
reg = AR_READ(sc, AR_PHY_MULTICHAIN_GAIN_CTL); /* Flush. */
sys/dev/ic/ar9285.c
268
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/ar9285.c
274
reg = AR_READ(sc, AR_PHY_CCK_DETECT); /* Flush. */
sys/dev/ic/ar9285.c
324
reg = AR_READ(sc, AR9285_AN_RF2G3);
sys/dev/ic/ar9285.c
332
reg = AR_READ(sc, AR9285_AN_RF2G4);
sys/dev/ic/ar9285.c
340
reg = AR_READ(sc, AR9285_AN_RF2G3);
sys/dev/ic/ar9285.c
352
reg = AR_READ(sc, AR9285_AN_RF2G4);
sys/dev/ic/ar9285.c
365
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar9285.c
369
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/ar9285.c
379
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/ar9285.c
383
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/ar9285.c
387
reg = AR_READ(sc, AR_PHY_EXT_CCA0);
sys/dev/ic/ar9285.c
392
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/ar9285.c
400
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar9285.c
431
svg[i] = AR_READ(sc, regs[i]);
sys/dev/ic/ar9285.c
448
reg = AR_READ(sc, AR9285_AN_RF2G8);
sys/dev/ic/ar9285.c
452
reg = AR_READ(sc, AR9285_AN_RF2G7);
sys/dev/ic/ar9285.c
456
reg = AR_READ(sc, AR9285_AN_RF2G6);
sys/dev/ic/ar9285.c
476
if (AR_READ(sc, AR9285_AN_RF2G9) & AR9285_AN_RXTXBB1_SPARE9) {
sys/dev/ic/ar9285.c
488
if (AR_READ(sc, AR9285_AN_RF2G9) & AR9285_AN_RXTXBB1_SPARE9)
sys/dev/ic/ar9285.c
503
reg = AR_READ(sc, AR9285_AN_RF2G6);
sys/dev/ic/ar9285.c
528
svg[i] = AR_READ(sc, regs[i]);
sys/dev/ic/ar9285.c
545
reg = AR_READ(sc, AR9285_AN_RF2G8);
sys/dev/ic/ar9285.c
549
reg = AR_READ(sc, AR9285_AN_RF2G7);
sys/dev/ic/ar9285.c
554
reg = rf2g3_svg = AR_READ(sc, AR9285_AN_RF2G3);
sys/dev/ic/ar9285.c
567
reg = AR_READ(sc, AR9285_AN_RF2G6);
sys/dev/ic/ar9285.c
572
if (!(AR_READ(sc, AR9285_AN_RF2G9) & AR9285_AN_RXTXBB1_SPARE9))
sys/dev/ic/ar9285.c
609
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/ar9285.c
625
if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) &
sys/dev/ic/ar9285.c
673
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL7);
sys/dev/ic/ar9285.c
676
reg = AR_READ(sc, AR_PHY_TX_GAIN_TBL(i));
sys/dev/ic/ar9285.c
686
reg = AR_READ(sc, AR_PHY_CLC_TBL(i));
sys/dev/ic/ar9285.c
697
rf2g5_svg = reg = AR_READ(sc, AR9285_AN_RF2G5);
sys/dev/ic/ar9285.c
698
if ((AR_READ(sc, AR_AN_SYNTH9) & 0x7) == 0x1) /* XE rev. */
sys/dev/ic/ar9285.c
753
overlap = MS(AR_READ(sc, AR_PHY_TPCRG5),
sys/dev/ic/ar9285.c
766
reg = AR_READ(sc, AR_PHY_TPCRG1);
sys/dev/ic/ar9287.c
184
reg = AR_READ(sc, AR_PHY_TIMING_CTRL4_0 + offset);
sys/dev/ic/ar9287.c
191
reg = AR_READ(sc, AR_PHY_GAIN_2GHZ + offset);
sys/dev/ic/ar9287.c
198
reg = AR_READ(sc, AR_PHY_RXGAIN + offset);
sys/dev/ic/ar9287.c
206
reg = AR_READ(sc, AR_PHY_SETTLING);
sys/dev/ic/ar9287.c
213
reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
sys/dev/ic/ar9287.c
223
reg = AR_READ(sc, AR_PHY_RF_CTL3);
sys/dev/ic/ar9287.c
227
reg = AR_READ(sc, AR_PHY_CCA(0));
sys/dev/ic/ar9287.c
231
reg = AR_READ(sc, AR_PHY_EXT_CCA0);
sys/dev/ic/ar9287.c
235
reg = AR_READ(sc, AR9287_AN_RF2G3_CH0);
sys/dev/ic/ar9287.c
246
reg = AR_READ(sc, AR9287_AN_RF2G3_CH1);
sys/dev/ic/ar9287.c
257
reg = AR_READ(sc, AR_PHY_RF_CTL2);
sys/dev/ic/ar9287.c
262
reg = AR_READ(sc, AR9287_AN_TOP2);
sys/dev/ic/ar9287.c
354
overlap = MS(AR_READ(sc, AR_PHY_TPCRG5),
sys/dev/ic/ar9287.c
374
reg = AR_READ(sc, AR_PHY_TPCRG1);
sys/dev/ic/ar9287.c
390
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_0);
sys/dev/ic/ar9287.c
394
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL6_1);
sys/dev/ic/ar9287.c
399
reg = AR_READ(sc, AR_PHY_CH0_TX_PWRCTRL11 + offset);
sys/dev/ic/ar9287.c
545
reg = AR_READ(sc, AR9287_AN_TXPC0);
sys/dev/ic/ar9287.c
560
reg = AR_READ(sc, AR_PHY_TX_PWRCTRL4);
sys/dev/ic/ar9287.c
579
reg = AR_READ(sc, AR_PHY_CH0_TX_PWRCTRL11);
sys/dev/ic/ar9287.c
583
reg = AR_READ(sc, AR_PHY_CH1_TX_PWRCTRL11);
sys/dev/ic/ar9287.c
622
reg = AR_READ(sc, AR_AHB_MODE);
sys/dev/ic/ar9380.c
311
reg = AR_READ(sc, AR9485_PHY_65NM_CH0_TOP2);
sys/dev/ic/ar9380.c
316
reg = AR_READ(sc, AR_PHY_65NM_CH0_TOP);
sys/dev/ic/ar9380.c
320
reg = AR_READ(sc, AR_PHY_65NM_CH0_THERM);
sys/dev/ic/ar9380.c
328
reg = AR_READ(sc, AR_PHY_SWITCH_COM);
sys/dev/ic/ar9380.c
331
reg = AR_READ(sc, AR_PHY_SWITCH_COM_2);
sys/dev/ic/ar9380.c
337
reg = AR_READ(sc, AR_PHY_SWITCH_CHAIN(i));
sys/dev/ic/ar9380.c
344
reg = AR_READ(sc, AR_PHY_MC_GAIN_CTRL);
sys/dev/ic/ar9380.c
352
reg = AR_READ(sc, AR_PHY_CCK_DETECT);
sys/dev/ic/ar9380.c
362
reg = AR_READ(sc, AR_PHY_65NM_CH0_BIAS1);
sys/dev/ic/ar9380.c
371
reg = AR_READ(sc, AR_PHY_65NM_CH0_BIAS2);
sys/dev/ic/ar9380.c
383
reg = AR_READ(sc, AR_PHY_65NM_CH0_BIAS4);
sys/dev/ic/ar9380.c
419
reg = AR_READ(sc, AR_PHY_EXT_ATTEN_CTL(i));
sys/dev/ic/ar9380.c
434
reg = AR_READ(sc, AR9485_PHY_CH0_XTAL);
sys/dev/ic/ar9380.c
469
if (AR_READ(sc, addr) == val)
sys/dev/ic/ar9380.c
478
#define ar9486_pmu_read AR_READ
sys/dev/ic/ar9380.c
520
reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
sys/dev/ic/ar9380.c
523
reg = AR_READ(sc, AR_PHY_CCK_SPUR_MIT);
sys/dev/ic/ar9380.c
532
reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
sys/dev/ic/ar9380.c
536
reg = AR_READ(sc, AR_PHY_CCK_SPUR_MIT);
sys/dev/ic/ar9380.c
565
reg = AR_READ(sc, AR_PHY_TIMING11);
sys/dev/ic/ar9380.c
577
reg = AR_READ(sc, AR_PHY_SPUR_REG);
sys/dev/ic/ar9380.c
588
if (AR_READ(sc, AR_PHY_GEN_CTRL) & AR_PHY_GC_DYN2040_PRI_CH)
sys/dev/ic/ar9380.c
613
reg = AR_READ(sc, AR_PHY_GEN_CTRL);
sys/dev/ic/ar9380.c
632
reg = AR_READ(sc, AR_PHY_TIMING11);
sys/dev/ic/ar9380.c
639
reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
sys/dev/ic/ar9380.c
648
reg = AR_READ(sc, AR_PHY_SPUR_REG);
sys/dev/ic/ar9380.c
652
if (AR_READ(sc, AR_PHY_MODE) & AR_PHY_MODE_DYNAMIC)
sys/dev/ic/ar9380.c
666
reg = AR_READ(sc, AR_PHY_PILOT_SPUR_MASK);
sys/dev/ic/ar9380.c
671
reg = AR_READ(sc, AR_PHY_SPUR_MASK_A);
sys/dev/ic/ar9380.c
676
reg = AR_READ(sc, AR_PHY_CHAN_SPUR_MASK);
sys/dev/ic/ar9380.c
855
reg = AR_READ(sc, AR_PHY_TPC_11_B(i));
sys/dev/ic/ar9380.c
860
reg = AR_READ(sc, AR_PHY_TPC_6_B(i));
sys/dev/ic/ar9380.c
880
reg = AR_READ(sc, AR_PHY_TPC_19);
sys/dev/ic/ar9380.c
884
reg = AR_READ(sc, AR_PHY_TPC_18);
sys/dev/ic/athn.c
1148
reg = AR_READ(sc, AR_GPIO_INPUT_MUX1);
sys/dev/ic/athn.c
1160
reg = AR_READ(sc, AR_GPIO_INPUT_MUX1);
sys/dev/ic/athn.c
1205
reg = AR_READ(sc, AR_GPIO_PDPU);
sys/dev/ic/athn.c
1669
txfcnt = AR_READ(sc, AR_TFCNT); /* Tx frame count. */
sys/dev/ic/athn.c
1670
rxfcnt = AR_READ(sc, AR_RFCNT); /* Rx frame count. */
sys/dev/ic/athn.c
1671
cyccnt = AR_READ(sc, AR_CCCNT); /* Cycle count. */
sys/dev/ic/athn.c
1693
phy1 = AR_READ(sc, AR_PHY_ERR_1);
sys/dev/ic/athn.c
1694
phy2 = AR_READ(sc, AR_PHY_ERR_2);
sys/dev/ic/athn.c
1779
reg = AR_READ(sc, AR_TXCFG);
sys/dev/ic/athn.c
1791
reg = AR_READ(sc, AR_RXCFG);
sys/dev/ic/athn.c
1818
reg = AR_READ(sc, AR_TXCFG);
sys/dev/ic/athn.c
1839
if (!(AR_READ(sc, AR_CR) & AR_CR_RXE))
sys/dev/ic/athn.c
1854
if (MS(AR_READ(sc, AR_OBS_BUS_1), AR_OBS_BUS_1_RX_STATE) == 0)
sys/dev/ic/athn.c
1890
return (MS(AR_READ(sc, AR_QSTS(qid)), AR_Q_STS_PEND_FR_CNT) != 0 ||
sys/dev/ic/athn.c
1891
(AR_READ(sc, AR_Q_TXE) & (1 << qid)) != 0);
sys/dev/ic/athn.c
1908
tsflo = AR_READ(sc, AR_TSF_L32) / 1024;
sys/dev/ic/athn.c
1914
if (AR_READ(sc, AR_TSF_L32) / 1024 == tsflo)
sys/dev/ic/athn.c
2035
tsfhi = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/athn.c
2036
tsflo = AR_READ(sc, AR_TSF_L32);
sys/dev/ic/athn.c
2067
reg = AR_READ(sc, AR_RSSI_THR);
sys/dev/ic/athn.c
2132
reg = AR_READ(sc, AR_STA_ID1);
sys/dev/ic/athn.c
2141
reg = AR_READ(sc, AR_STA_ID1);
sys/dev/ic/athn.c
2150
reg = AR_READ(sc, AR_STA_ID1);
sys/dev/ic/athn.c
2179
mask2 = AR_READ(sc, AR_IMR_S2);
sys/dev/ic/athn.c
2201
(void)AR_READ(sc, AR_IER);
sys/dev/ic/athn.c
2204
(void)AR_READ(sc, AR_INTR_ASYNC_ENABLE);
sys/dev/ic/athn.c
2207
(void)AR_READ(sc, AR_INTR_SYNC_ENABLE);
sys/dev/ic/athn.c
2254
if ((def_ant = AR_READ(sc, AR_DEF_ANTENNA)) == 0)
sys/dev/ic/athn.c
2257
sta_id1 = AR_READ(sc, AR_STA_ID1) & AR_STA_ID1_BASE_RATE_11B;
sys/dev/ic/athn.c
2258
cfg_led = AR_READ(sc, AR_CFG_LED) & (AR_CFG_LED_ASSOC_CTL_M |
sys/dev/ic/athn.c
2272
tsfhi = AR_READ(sc, AR_TSF_U32);
sys/dev/ic/athn.c
2273
tsflo = AR_READ(sc, AR_TSF_L32);
sys/dev/ic/athn.c
2330
reg = AR_READ(sc, AR_AES_MUTE_MASK1);
sys/dev/ic/athn.c
2652
reg = AR_READ(sc, AR_RX_FILTER);
sys/dev/ic/athn.c
2762
uint32_t reg = AR_READ(sc, AR_TIME_OUT);
sys/dev/ic/athn.c
2773
uint32_t reg = AR_READ(sc, AR_TIME_OUT);
sys/dev/ic/athn.c
2788
uint32_t reg = AR_READ(sc, AR_USEC);
sys/dev/ic/athn.c
534
reg = AR_READ(sc, AR_PHY_ERR);
sys/dev/ic/athn.c
567
reg = AR_READ(sc, AR_SREV);
sys/dev/ic/athn.c
651
if ((AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) ==
sys/dev/ic/athn.c
672
if (AR_READ(sc, AR_INTR_SYNC_CAUSE) &
sys/dev/ic/athn.c
686
if (!(AR_READ(sc, AR_RTC_RC) &
sys/dev/ic/athn.c
706
if ((AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) ==
sys/dev/ic/athn.c
719
if ((AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) ==
sys/dev/ic/athnreg.h
1481
AR_WRITE(sc, reg, AR_READ(sc, reg) | (mask))
sys/dev/ic/athnreg.h
1484
AR_WRITE(sc, reg, AR_READ(sc, reg) & ~(mask))
sys/dev/usb/if_athn_usb.c
1060
reg = AR_READ(sc, AR_RX_FILTER);
sys/dev/usb/if_athn_usb.c
1120
reg = AR_READ(sc, AR_RX_FILTER);