Home | History | Annotate | Download | only in ic

Lines Matching refs:AR_READ

243 	if (AR_READ(sc, AR_ENT_OTP) & AR_ENT_OTP_MPSD)
259 reg = AR_READ(sc, AR_EEPROM_OFFSET(addr));
261 reg = AR_READ(sc, AR_EEPROM_STATUS_DATA);
321 reg = AR_READ(sc, AR_OTP_BASE(addr));
323 reg = AR_READ(sc, AR_OTP_STATUS);
325 *val = AR_READ(sc, AR_OTP_READ_DATA);
528 return ((AR_READ(sc, AR_GPIO_IN) & AR9300_GPIO_IN_VAL) &
538 reg = AR_READ(sc, AR_GPIO_IN_OUT);
552 reg = AR_READ(sc, AR_GPIO_OE_OUT);
568 reg = AR_READ(sc, AR_GPIO_OUTPUT_MUX(mux));
573 reg = AR_READ(sc, AR_GPIO_OE_OUT);
587 reg = AR_READ(sc, AR_GPIO_INPUT_MUX2);
843 reg = AR_READ(sc, AR_RXBP_THRESH);
886 tsf = AR_READ(sc, AR_TSF_U32);
887 tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
1349 intr = AR_READ(sc, AR_INTR_ASYNC_CAUSE);
1351 intr = AR_READ(sc, AR_INTR_SYNC_CAUSE);
1356 if ((AR_READ(sc, AR_INTR_ASYNC_CAUSE) & AR_INTR_MAC_IRQ) &&
1357 (AR_READ(sc, AR_RTC_STATUS) & AR_RTC_STATUS_M) == AR_RTC_STATUS_ON)
1358 intr = AR_READ(sc, AR_ISR);
1361 sync = AR_READ(sc, AR_INTR_SYNC_CAUSE) & sc->sc_isync;
1391 uint32_t intr2 = AR_READ(sc, AR_ISR_S2);
1403 intr = AR_READ(sc, AR_ISR_RAC);
1427 uint32_t intr5 = AR_READ(sc, AR_ISR_S5_S);
1451 (void)AR_READ(sc, AR_INTR_SYNC_CAUSE);
1876 synth_delay = MS(AR_READ(sc, AR_PHY_RX_DELAY), AR_PHY_RX_DELAY_DELAY);
1892 if (AR_READ(sc, AR_PHY_RFBUS_GRANT) & AR_PHY_RFBUS_GRANT_EN)
1917 phy = AR_READ(sc, AR_PHY_GEN_CTRL);
1952 reg = AR_READ(sc, AR_PHY_TIMING3);
1962 reg = AR_READ(sc, AR_PHY_SGI_DELTA);
2038 reg = AR_READ(sc, AR_PHY_CCA(i));
2042 reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
2058 reg = AR_READ(sc, AR_PHY_CCA(i));
2062 reg = AR_READ(sc, AR_PHY_EXT_CCA(i));
2078 if (AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
2132 if (!(AR_READ(sc, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF))
2177 if (AR_READ(sc, AR_ENT_OTP) & AR_ENT_OTP_CHAIN2_DISABLE)
2195 reg = AR_READ(sc, AR_PHY_AGC_CONTROL);
2217 reg = AR_READ(sc, AR_PHY_TIMING4);
2238 if (!(AR_READ(sc, AR_PHY_TIMING4) & AR_PHY_TIMING4_DO_CAL)) {
2257 cal->pwr_meas_i = AR_READ(sc, AR_PHY_IQ_ADC_MEAS_0_B(i));
2258 cal->pwr_meas_q = AR_READ(sc, AR_PHY_IQ_ADC_MEAS_1_B(i));
2260 (int32_t)AR_READ(sc, AR_PHY_IQ_ADC_MEAS_2_B(i));
2295 reg = AR_READ(sc, AR_PHY_RX_IQCAL_CORR_B(i));
2439 reg = AR_READ(sc, AR_PHY_TX_IQCAL_CONTROL_1);
2447 reg = AR_READ(sc, AR_PHY_TX_IQCAL_START);
2457 reg = AR_READ(sc, AR_PHY_TX_IQCAL_STATUS_B(i));
2467 reg = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(i, j));
2472 reg = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(i, j));
2481 reg = AR_READ(sc, AR_PHY_TX_IQCAL_CORR_COEFF_01_B(i));
2486 reg = AR_READ(sc, AR_PHY_RX_IQCAL_CORR_B(i));
2533 reg = AR_READ(sc, AR_PHY_PAPRD_AM2AM);
2538 reg = AR_READ(sc, AR_PHY_PAPRD_AM2PM);
2542 reg = AR_READ(sc, AR_PHY_PAPRD_HT40);
2550 reg = AR_READ(sc, AR_PHY_PAPRD_CTRL1_B(i));
2558 reg = AR_READ(sc, AR_PHY_PAPRD_CTRL0_B(i));
2573 reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL1);
2585 reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL3);
2598 reg = AR_READ(sc, AR_PHY_PAPRD_TRAINER_CNTL4);
2605 reg = AR_READ(sc, AR_PHY_PAPRD_PRE_POST_SCALE_B0(i));
2612 sc->sc_txgain[i] = AR_READ(sc, AR_PHY_TXGAIN_TABLE(i));
2615 sc->sc_trainpow = MS(AR_READ(sc, AR_PHY_PWRTX_RATE5),
2644 scale = MS(AR_READ(sc, AR_PHY_TPC_12),
2647 reg = AR_READ(sc, AR_PHY_TPC_19);
2651 reg = AR_READ(sc, AR_PHY_TPC_18);
2655 reg = AR_READ(sc, AR_PHY_BB_THERM_ADC_4);
2659 delta = (int8_t)MS(AR_READ(sc, AR_PHY_TPC_11_B(chain)),
2675 reg = AR_READ(sc, AR_PHY_TX_FORCED_GAIN);
2694 reg = AR_READ(sc, AR_PHY_TPC_1);
3032 reg = AR_READ(sc, AR_PHY_PA_GAIN123_B(chain));
3037 reg = AR_READ(sc, AR_PHY_PAPRD_CTRL1_B(chain));
3068 if (!(AR_READ(sc, AR_PHY_PAPRD_TRAINER_STAT1) &
3075 lo[i] = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(0, i));
3078 hi[i] = AR_READ(sc, AR_PHY_CHAN_INFO_TAB(0, i));
3288 reg = AR_READ(sc, AR_PCU_MISC_MODE2);
3375 reg = AR_READ(sc, AR_PHY_DESIRED_SZ);
3379 reg = AR_READ(sc, AR_PHY_AGC);
3384 reg = AR_READ(sc, AR_PHY_FIND_SIG);
3395 reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
3401 reg = AR_READ(sc, AR_PHY_SFCORR);
3407 reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
3424 reg = AR_READ(sc, AR_PHY_SFCORR_LOW);
3430 reg = AR_READ(sc, AR_PHY_SFCORR);
3436 reg = AR_READ(sc, AR_PHY_SFCORR_EXT);
3453 reg = AR_READ(sc, AR_PHY_CCK_DETECT);
3464 reg = AR_READ(sc, AR_PHY_FIND_SIG);
3475 reg = AR_READ(sc, AR_PHY_TIMING5);