Symbol: AR_WRITE
sys/dev/ic/ar5008.c
1078
AR_WRITE(sc, AR_RXDP, bf->bf_daddr);
sys/dev/ic/ar5008.c
1083
AR_WRITE(sc, AR_CR, AR_CR_RXE);
sys/dev/ic/ar5008.c
1330
AR_WRITE(sc, AR_QTXDP(ATHN_QID_BEACON), bf->bf_daddr);
sys/dev/ic/ar5008.c
1353
AR_WRITE(sc, AR_Q_TXE, 1 << ATHN_QID_BEACON);
sys/dev/ic/ar5008.c
1424
AR_WRITE(sc, AR_RC, AR_RC_HOSTIF);
sys/dev/ic/ar5008.c
1425
AR_WRITE(sc, AR_RC, 0);
sys/dev/ic/ar5008.c
1439
AR_WRITE(sc, AR_INTR_SYNC_CAUSE, sync);
sys/dev/ic/ar5008.c
1812
AR_WRITE(sc, AR_QTXDP(qid), bf->bf_daddr);
sys/dev/ic/ar5008.c
1822
AR_WRITE(sc, AR_Q_TXE, 1 << qid);
sys/dev/ic/ar5008.c
1841
AR_WRITE(sc, AR_PHY_MODE, reg);
sys/dev/ic/ar5008.c
1864
AR_WRITE(sc, AR_PHY_RFBUS_REQ, AR_PHY_RFBUS_REQ_EN);
sys/dev/ic/ar5008.c
1881
AR_WRITE(sc, AR_PHY_RFBUS_REQ, 0);
sys/dev/ic/ar5008.c
1902
AR_WRITE(sc, AR_PHY_TURBO, phy);
sys/dev/ic/ar5008.c
1904
AR_WRITE(sc, AR_2040_MODE,
sys/dev/ic/ar5008.c
1908
AR_WRITE(sc, AR_GTXTO, SM(AR_GTXTO_TIMEOUT_LIMIT, 25));
sys/dev/ic/ar5008.c
1910
AR_WRITE(sc, AR_CST, SM(AR_CST_TIMEOUT_LIMIT, 15));
sys/dev/ic/ar5008.c
1928
AR_WRITE(sc, AR_PHY_TIMING3, reg);
sys/dev/ic/ar5008.c
1938
AR_WRITE(sc, AR_PHY_HALFGI, reg);
sys/dev/ic/ar5008.c
1957
AR_WRITE(sc, AR_PHY_ACTIVE, AR_PHY_ACTIVE_EN);
sys/dev/ic/ar5008.c
1965
AR_WRITE(sc, AR_PHY_ACTIVE, AR_PHY_ACTIVE_DIS);
sys/dev/ic/ar5008.c
1978
AR_WRITE(sc, AR_PHY_RX_CHAINMASK, 0x7);
sys/dev/ic/ar5008.c
1979
AR_WRITE(sc, AR_PHY_CAL_CHAINMASK, 0x7);
sys/dev/ic/ar5008.c
1981
AR_WRITE(sc, AR_PHY_RX_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar5008.c
1982
AR_WRITE(sc, AR_PHY_CAL_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar5008.c
1984
AR_WRITE(sc, AR_SELFGEN_MASK, sc->txchainmask);
sys/dev/ic/ar5008.c
1992
AR_WRITE(sc, AR_PHY_RX_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar5008.c
1993
AR_WRITE(sc, AR_PHY_CAL_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar5008.c
2033
AR_WRITE(sc, AR_PHY_CCA(i), reg);
sys/dev/ic/ar5008.c
2037
AR_WRITE(sc, AR_PHY_EXT_CCA(i), reg);
sys/dev/ic/ar5008.c
2151
AR_WRITE(sc, AR_PHY_TIMING_CTRL4_0, reg);
sys/dev/ic/ar5008.c
2159
AR_WRITE(sc, AR_PHY_CALMODE, mode);
sys/dev/ic/ar5008.c
2239
AR_WRITE(sc, AR_PHY_TIMING_CTRL4(i), reg);
sys/dev/ic/ar5008.c
2290
AR_WRITE(sc, AR_PHY_NEW_ADC_DC_GAIN_CORR(i), reg);
sys/dev/ic/ar5008.c
2345
AR_WRITE(sc, AR_PHY_NEW_ADC_DC_GAIN_CORR(i), reg);
sys/dev/ic/ar5008.c
2361
AR_WRITE(sc, AR_PHY_POWER_TX_RATE1,
sys/dev/ic/ar5008.c
2366
AR_WRITE(sc, AR_PHY_POWER_TX_RATE2,
sys/dev/ic/ar5008.c
2371
AR_WRITE(sc, AR_PHY_POWER_TX_RATE3,
sys/dev/ic/ar5008.c
2376
AR_WRITE(sc, AR_PHY_POWER_TX_RATE4,
sys/dev/ic/ar5008.c
2381
AR_WRITE(sc, AR_PHY_POWER_TX_RATE5,
sys/dev/ic/ar5008.c
2386
AR_WRITE(sc, AR_PHY_POWER_TX_RATE6,
sys/dev/ic/ar5008.c
2391
AR_WRITE(sc, AR_PHY_POWER_TX_RATE7,
sys/dev/ic/ar5008.c
2396
AR_WRITE(sc, AR_PHY_POWER_TX_RATE8,
sys/dev/ic/ar5008.c
2401
AR_WRITE(sc, AR_PHY_POWER_TX_RATE9,
sys/dev/ic/ar5008.c
2429
AR_WRITE(sc, AR_PHY_TIMING7, mask[0]);
sys/dev/ic/ar5008.c
2430
AR_WRITE(sc, AR_PHY_TIMING9, mask[0]);
sys/dev/ic/ar5008.c
2432
AR_WRITE(sc, AR_PHY_TIMING8, mask[1]);
sys/dev/ic/ar5008.c
2433
AR_WRITE(sc, AR_PHY_TIMING10, mask[1]);
sys/dev/ic/ar5008.c
2435
AR_WRITE(sc, AR_PHY_PILOT_MASK_01_30, mask[2]);
sys/dev/ic/ar5008.c
2436
AR_WRITE(sc, AR_PHY_CHANNEL_MASK_01_30, mask[2]);
sys/dev/ic/ar5008.c
2438
AR_WRITE(sc, AR_PHY_PILOT_MASK_31_60, mask[3]);
sys/dev/ic/ar5008.c
2439
AR_WRITE(sc, AR_PHY_CHANNEL_MASK_31_60, mask[3]);
sys/dev/ic/ar5008.c
2453
AR_WRITE(sc, AR_PHY_BIN_MASK_1, reg);
sys/dev/ic/ar5008.c
2454
AR_WRITE(sc, AR_PHY_VIT_MASK2_M_46_61, reg);
sys/dev/ic/ar5008.c
2461
AR_WRITE(sc, AR_PHY_BIN_MASK_2, reg);
sys/dev/ic/ar5008.c
2462
AR_WRITE(sc, AR_PHY_VIT_MASK2_M_31_45, reg);
sys/dev/ic/ar5008.c
2470
AR_WRITE(sc, AR_PHY_BIN_MASK_3, reg);
sys/dev/ic/ar5008.c
2471
AR_WRITE(sc, AR_PHY_VIT_MASK2_M_16_30, reg);
sys/dev/ic/ar5008.c
2478
AR_WRITE(sc, AR_PHY_MASK_CTL, reg);
sys/dev/ic/ar5008.c
2479
AR_WRITE(sc, AR_PHY_VIT_MASK2_M_00_15, reg);
sys/dev/ic/ar5008.c
2485
AR_WRITE(sc, AR_PHY_BIN_MASK2_1, reg);
sys/dev/ic/ar5008.c
2486
AR_WRITE(sc, AR_PHY_VIT_MASK2_P_15_01, reg);
sys/dev/ic/ar5008.c
2492
AR_WRITE(sc, AR_PHY_BIN_MASK2_2, reg);
sys/dev/ic/ar5008.c
2493
AR_WRITE(sc, AR_PHY_VIT_MASK2_P_30_16, reg);
sys/dev/ic/ar5008.c
2499
AR_WRITE(sc, AR_PHY_BIN_MASK2_3, reg);
sys/dev/ic/ar5008.c
2500
AR_WRITE(sc, AR_PHY_VIT_MASK2_P_45_31, reg);
sys/dev/ic/ar5008.c
2507
AR_WRITE(sc, AR_PHY_BIN_MASK2_4, reg);
sys/dev/ic/ar5008.c
2508
AR_WRITE(sc, AR_PHY_VIT_MASK2_P_61_46, reg);
sys/dev/ic/ar5008.c
2522
AR_WRITE(sc, AR_PHY(0), 0x00000007);
sys/dev/ic/ar5008.c
2523
AR_WRITE(sc, AR_PHY_ADC_SERIAL_CTL, AR_PHY_SEL_EXTERNAL_RADIO);
sys/dev/ic/ar5008.c
2528
AR_WRITE(sc, AR_PHY_ADC_SERIAL_CTL, AR_PHY_SEL_INTERNAL_ADDAC);
sys/dev/ic/ar5008.c
2550
AR_WRITE(sc, ini->regs[i], val);
sys/dev/ic/ar5008.c
2566
AR_WRITE(sc, AR_PHY(68), 0x30002311);
sys/dev/ic/ar5008.c
2567
AR_WRITE(sc, AR_PHY_RF_CTL3, 0x0a020001);
sys/dev/ic/ar5008.c
2574
AR_WRITE(sc, ini->cmregs[i], ini->cmvals[i]);
sys/dev/ic/ar5008.c
2596
AR_WRITE(sc, ini->fastregs[i], pvals[i]);
sys/dev/ic/ar5008.c
2619
AR_WRITE(sc, AR_PCU_MISC_MODE2, reg);
sys/dev/ic/ar5008.c
2623
AR_WRITE(sc, AR_PHY(651), 0x11);
sys/dev/ic/ar5008.c
2851
AR_WRITE(sc, AR_PHY_DESIRED_SZ, reg);
sys/dev/ic/ar5008.c
2856
AR_WRITE(sc, AR_PHY_AGC_CTL1, reg);
sys/dev/ic/ar5008.c
2860
AR_WRITE(sc, AR_PHY_FIND_SIG, reg);
sys/dev/ic/ar5008.c
2874
AR_WRITE(sc, AR_PHY_SFCORR_LOW, reg);
sys/dev/ic/ar5008.c
2880
AR_WRITE(sc, AR_PHY_SFCORR, reg);
sys/dev/ic/ar5008.c
2887
AR_WRITE(sc, AR_PHY_SFCORR_EXT, reg);
sys/dev/ic/ar5008.c
2903
AR_WRITE(sc, AR_PHY_SFCORR_LOW, reg);
sys/dev/ic/ar5008.c
2909
AR_WRITE(sc, AR_PHY_SFCORR, reg);
sys/dev/ic/ar5008.c
2916
AR_WRITE(sc, AR_PHY_SFCORR_EXT, reg);
sys/dev/ic/ar5008.c
2930
AR_WRITE(sc, AR_PHY_CCK_DETECT, reg);
sys/dev/ic/ar5008.c
2941
AR_WRITE(sc, AR_PHY_FIND_SIG, reg);
sys/dev/ic/ar5008.c
2952
AR_WRITE(sc, AR_PHY_TIMING5, reg);
sys/dev/ic/ar5008.c
396
AR_WRITE(sc, AR7010_GPIO_OUT, reg);
sys/dev/ic/ar5008.c
403
AR_WRITE(sc, AR_GPIO_IN_OUT, reg);
sys/dev/ic/ar5008.c
420
AR_WRITE(sc, AR_GPIO_OE_OUT, reg);
sys/dev/ic/ar5008.c
445
AR_WRITE(sc, AR_GPIO_OUTPUT_MUX(mux), reg);
sys/dev/ic/ar5008.c
450
AR_WRITE(sc, AR_GPIO_OE_OUT, reg);
sys/dev/ic/ar5008.c
463
AR_WRITE(sc, AR_GPIO_INPUT_MUX2, reg);
sys/dev/ic/ar5008.c
720
AR_WRITE(sc, AR_RXDP, SIMPLEQ_FIRST(&rxq->head)->bf_daddr);
sys/dev/ic/ar5008.c
721
AR_WRITE(sc, AR_CR, AR_CR_RXE);
sys/dev/ic/ar5008.c
892
AR_WRITE(sc, AR_RXDP, nbf->bf_daddr);
sys/dev/ic/ar5416.c
206
AR_WRITE(sc, AR_PHY_CCK_TX_CTRL, reg);
sys/dev/ic/ar5416.c
232
AR_WRITE(sc, AR_PHY(0x37), phy);
sys/dev/ic/ar5416.c
249
AR_WRITE(sc, AR_PHY_SWITCH_COM, modal->antCtrlCommon);
sys/dev/ic/ar5416.c
258
AR_WRITE(sc, AR_PHY_SWITCH_CHAIN_0 + offset,
sys/dev/ic/ar5416.c
266
AR_WRITE(sc, AR_PHY_TIMING_CTRL4_0 + offset, reg);
sys/dev/ic/ar5416.c
277
AR_WRITE(sc, AR_PHY_GAIN_2GHZ + offset, reg);
sys/dev/ic/ar5416.c
285
AR_WRITE(sc, AR_PHY_RXGAIN + offset, reg);
sys/dev/ic/ar5416.c
290
AR_WRITE(sc, AR_PHY_GAIN_2GHZ + offset, reg);
sys/dev/ic/ar5416.c
294
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar5416.c
299
AR_WRITE(sc, AR_PHY_DESIRED_SZ, reg);
sys/dev/ic/ar5416.c
305
AR_WRITE(sc, AR_PHY_RF_CTL4, reg);
sys/dev/ic/ar5416.c
309
AR_WRITE(sc, AR_PHY_RF_CTL3, reg);
sys/dev/ic/ar5416.c
313
AR_WRITE(sc, AR_PHY_CCA(0), reg);
sys/dev/ic/ar5416.c
317
AR_WRITE(sc, AR_PHY_EXT_CCA(0), reg);
sys/dev/ic/ar5416.c
324
AR_WRITE(sc, AR_PHY_RF_CTL2, reg);
sys/dev/ic/ar5416.c
330
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar5416.c
467
AR_WRITE(sc, AR_PHY_TPCRG1, reg);
sys/dev/ic/ar5416.c
485
AR_WRITE(sc, AR_PHY_TX_PWRCTRL6_0, reg);
sys/dev/ic/ar5416.c
489
AR_WRITE(sc, AR_PHY_TX_PWRCTRL6_1, reg);
sys/dev/ic/ar5416.c
493
AR_WRITE(sc, AR_PHY_TX_PWRCTRL7, reg);
sys/dev/ic/ar5416.c
512
AR_WRITE(sc, AR_PHY_TPCRG5 + offset, reg);
sys/dev/ic/ar5416.c
516
AR_WRITE(sc, AR_PHY_PDADC_TBL_BASE + offset + j,
sys/dev/ic/ar5416.c
672
AR_WRITE(sc, AR_PHY_POWER_TX_SUB,
sys/dev/ic/ar5416.c
704
AR_WRITE(sc, AR_PHY_SPUR_REG,
sys/dev/ic/ar5416.c
717
AR_WRITE(sc, AR_PHY_TIMING11,
sys/dev/ic/ar5416.c
743
AR_WRITE(sc, AR_PHY(0), 0x00000007);
sys/dev/ic/ar5416.c
745
AR_WRITE(sc, AR_PHY(0x36), 0x00007058);
sys/dev/ic/ar5416.c
747
AR_WRITE(sc, AR_PHY(0x20), 0x00010000);
sys/dev/ic/ar5416.c
813
AR_WRITE(sc, 0x98b0, 0x1e5795e5);
sys/dev/ic/ar5416.c
814
AR_WRITE(sc, 0x98e0, 0x02008020);
sys/dev/ic/ar5416.c
817
AR_WRITE(sc, 0x98b0, 0x02108421);
sys/dev/ic/ar5416.c
818
AR_WRITE(sc, 0x98ec, 0x00000008);
sys/dev/ic/ar5416.c
821
AR_WRITE(sc, 0x98b0, 0x0e73ff17);
sys/dev/ic/ar5416.c
822
AR_WRITE(sc, 0x98e0, 0x00000420);
sys/dev/ic/ar5416.c
826
AR_WRITE(sc, 0x98f0, 0x01400018);
sys/dev/ic/ar5416.c
828
AR_WRITE(sc, 0x98f0, 0x01c00018);
sys/dev/ic/ar5416.c
845
AR_WRITE(sc, 0x989c, bank6tpc[i]);
sys/dev/ic/ar5416.c
847
AR_WRITE(sc, 0x98d0, 0x0000000f);
sys/dev/ic/ar5416.c
849
AR_WRITE(sc, 0x98d0, 0x0010000f);
sys/dev/ic/ar5416.c
852
AR_WRITE(sc, 0x989c, 0x00000500);
sys/dev/ic/ar5416.c
853
AR_WRITE(sc, 0x989c, 0x00000800);
sys/dev/ic/ar5416.c
854
AR_WRITE(sc, 0x98cc, 0x0000000e);
sys/dev/ic/ar5416.c
868
AR_WRITE(sc, AR_PHY_BB_RFGAIN(i), pvals[i]);
sys/dev/ic/ar5416.c
900
AR_WRITE(sc, 0x989c, rwbank6[i]);
sys/dev/ic/ar5416.c
901
AR_WRITE(sc, 0x98d0, 0x0010000f);
sys/dev/ic/ar5416.c
958
AR_WRITE(sc, 0x989c, pvals[i]);
sys/dev/ic/ar5416.c
959
AR_WRITE(sc, 0x98cc, 0); /* Finalize. */
sys/dev/ic/ar9003.c
1047
AR_WRITE(sc, AR_LP_RXDP, bf->bf_daddr);
sys/dev/ic/ar9003.c
1049
AR_WRITE(sc, AR_HP_RXDP, bf->bf_daddr);
sys/dev/ic/ar9003.c
1054
AR_WRITE(sc, AR_CR, 0);
sys/dev/ic/ar9003.c
1153
AR_WRITE(sc, AR_QTXDP(qid), txq->wait->bf_daddr);
sys/dev/ic/ar9003.c
1280
AR_WRITE(sc, AR_QTXDP(ATHN_QID_BEACON), bf->bf_daddr);
sys/dev/ic/ar9003.c
1303
AR_WRITE(sc, AR_Q_TXE, 1 << ATHN_QID_BEACON);
sys/dev/ic/ar9003.c
1370
AR_WRITE(sc, AR_RC, AR_RC_HOSTIF);
sys/dev/ic/ar9003.c
1371
AR_WRITE(sc, AR_RC, 0);
sys/dev/ic/ar9003.c
1385
AR_WRITE(sc, AR_INTR_SYNC_CAUSE, sync);
sys/dev/ic/ar9003.c
1762
AR_WRITE(sc, AR_QTXDP(qid), bf->bf_daddr);
sys/dev/ic/ar9003.c
1780
AR_WRITE(sc, AR_PHY_MODE, reg);
sys/dev/ic/ar9003.c
1803
AR_WRITE(sc, AR_PHY_RFBUS_REQ, AR_PHY_RFBUS_REQ_EN);
sys/dev/ic/ar9003.c
1820
AR_WRITE(sc, AR_PHY_RFBUS_REQ, 0);
sys/dev/ic/ar9003.c
1840
AR_WRITE(sc, AR_PHY_GEN_CTRL, phy);
sys/dev/ic/ar9003.c
1842
AR_WRITE(sc, AR_2040_MODE,
sys/dev/ic/ar9003.c
1846
AR_WRITE(sc, AR_GTXTO, SM(AR_GTXTO_TIMEOUT_LIMIT, 25));
sys/dev/ic/ar9003.c
1848
AR_WRITE(sc, AR_CST, SM(AR_CST_TIMEOUT_LIMIT, 15));
sys/dev/ic/ar9003.c
1866
AR_WRITE(sc, AR_PHY_TIMING3, reg);
sys/dev/ic/ar9003.c
1876
AR_WRITE(sc, AR_PHY_SGI_DELTA, reg);
sys/dev/ic/ar9003.c
1895
AR_WRITE(sc, AR_PHY_ACTIVE, AR_PHY_ACTIVE_EN);
sys/dev/ic/ar9003.c
1903
AR_WRITE(sc, AR_PHY_ACTIVE, AR_PHY_ACTIVE_DIS);
sys/dev/ic/ar9003.c
1914
AR_WRITE(sc, AR_PHY_RX_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar9003.c
1915
AR_WRITE(sc, AR_PHY_CAL_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar9003.c
1922
AR_WRITE(sc, AR_SELFGEN_MASK, 0x3);
sys/dev/ic/ar9003.c
1924
AR_WRITE(sc, AR_SELFGEN_MASK, sc->txchainmask);
sys/dev/ic/ar9003.c
1932
AR_WRITE(sc, AR_PHY_RX_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar9003.c
1933
AR_WRITE(sc, AR_PHY_CAL_CHAINMASK, sc->rxchainmask);
sys/dev/ic/ar9003.c
1967
AR_WRITE(sc, AR_PHY_CCA(i), reg);
sys/dev/ic/ar9003.c
1971
AR_WRITE(sc, AR_PHY_EXT_CCA(i), reg);
sys/dev/ic/ar9003.c
2093
AR_WRITE(sc, AR_PHY_ACTIVE, AR_PHY_ACTIVE_DIS);
sys/dev/ic/ar9003.c
2096
AR_WRITE(sc, AR_PHY_ACTIVE, AR_PHY_ACTIVE_EN);
sys/dev/ic/ar9003.c
2126
AR_WRITE(sc, AR_PHY_TIMING4, reg);
sys/dev/ic/ar9003.c
2127
AR_WRITE(sc, AR_PHY_CALMODE, AR_PHY_CALMODE_IQ);
sys/dev/ic/ar9003.c
2204
AR_WRITE(sc, AR_PHY_RX_IQCAL_CORR_B(i), reg);
sys/dev/ic/ar9003.c
2346
AR_WRITE(sc, AR_PHY_TX_IQCAL_CONTROL_1, reg);
sys/dev/ic/ar9003.c
2389
AR_WRITE(sc, AR_PHY_TX_IQCAL_CORR_COEFF_01_B(i), reg);
sys/dev/ic/ar9003.c
2396
AR_WRITE(sc, AR_PHY_RX_IQCAL_CORR_B(i), reg);
sys/dev/ic/ar9003.c
2439
AR_WRITE(sc, AR_PHY_PAPRD_AM2AM, reg);
sys/dev/ic/ar9003.c
2444
AR_WRITE(sc, AR_PHY_PAPRD_AM2PM, reg);
sys/dev/ic/ar9003.c
2448
AR_WRITE(sc, AR_PHY_PAPRD_HT40, reg);
sys/dev/ic/ar9003.c
2460
AR_WRITE(sc, AR_PHY_PAPRD_CTRL1_B(i), reg);
sys/dev/ic/ar9003.c
2464
AR_WRITE(sc, AR_PHY_PAPRD_CTRL0_B(i), reg);
sys/dev/ic/ar9003.c
2485
AR_WRITE(sc, AR_PHY_PAPRD_TRAINER_CNTL1, reg);
sys/dev/ic/ar9003.c
2487
AR_WRITE(sc, AR_PHY_PAPRD_TRAINER_CNTL2, 147);
sys/dev/ic/ar9003.c
2500
AR_WRITE(sc, AR_PHY_PAPRD_TRAINER_CNTL3, reg);
sys/dev/ic/ar9003.c
2506
AR_WRITE(sc, AR_PHY_PAPRD_TRAINER_CNTL4, reg);
sys/dev/ic/ar9003.c
2511
AR_WRITE(sc, AR_PHY_PAPRD_PRE_POST_SCALE_B0(i), reg);
sys/dev/ic/ar9003.c
2595
AR_WRITE(sc, AR_PHY_TX_FORCED_GAIN, reg);
sys/dev/ic/ar9003.c
2600
AR_WRITE(sc, AR_PHY_TPC_1, reg);
sys/dev/ic/ar9003.c
2929
AR_WRITE(sc, AR_PHY_PAPRD_MEM_TAB_B(chain, i),
sys/dev/ic/ar9003.c
2936
AR_WRITE(sc, AR_PHY_PA_GAIN123_B(chain), reg);
sys/dev/ic/ar9003.c
2941
AR_WRITE(sc, AR_PHY_PAPRD_CTRL1_B(chain), reg);
sys/dev/ic/ar9003.c
3004
AR_WRITE(sc, AR_PHY_TX_FORCED_GAIN, 0);
sys/dev/ic/ar9003.c
3006
AR_WRITE(sc, AR_PHY_PWRTX_RATE1,
sys/dev/ic/ar9003.c
3011
AR_WRITE(sc, AR_PHY_PWRTX_RATE2,
sys/dev/ic/ar9003.c
3016
AR_WRITE(sc, AR_PHY_PWRTX_RATE3,
sys/dev/ic/ar9003.c
3021
AR_WRITE(sc, AR_PHY_PWRTX_RATE4,
sys/dev/ic/ar9003.c
3030
AR_WRITE(sc, AR_PHY_PWRTX_RATE5,
sys/dev/ic/ar9003.c
3035
AR_WRITE(sc, AR_PHY_PWRTX_RATE6,
sys/dev/ic/ar9003.c
3040
AR_WRITE(sc, AR_PHY_PWRTX_RATE7,
sys/dev/ic/ar9003.c
3045
AR_WRITE(sc, AR_PHY_PWRTX_RATE8,
sys/dev/ic/ar9003.c
3050
AR_WRITE(sc, AR_PHY_PWRTX_RATE10,
sys/dev/ic/ar9003.c
3055
AR_WRITE(sc, AR_PHY_PWRTX_RATE11,
sys/dev/ic/ar9003.c
3060
AR_WRITE(sc, AR_PHY_PWRTX_RATE12,
sys/dev/ic/ar9003.c
3081
AR_WRITE(sc, X(prog->regs[i]), pvals[i]);
sys/dev/ic/ar9003.c
3099
AR_WRITE(sc, X(prog->regs[i]), pvals[i]);
sys/dev/ic/ar9003.c
3121
AR_WRITE(sc, X(ini->cmregs[i]), ini->cmvals[i]);
sys/dev/ic/ar9003.c
3145
AR_WRITE(sc, X(ini->regs[i]), pvals[i]);
sys/dev/ic/ar9003.c
3166
AR_WRITE(sc, X(ini->fastregs[i]), pvals[i]);
sys/dev/ic/ar9003.c
3184
AR_WRITE(sc, AR_PCU_MISC_MODE2, reg);
sys/dev/ic/ar9003.c
3269
AR_WRITE(sc, AR_PHY_DESIRED_SZ, reg);
sys/dev/ic/ar9003.c
3274
AR_WRITE(sc, AR_PHY_AGC, reg);
sys/dev/ic/ar9003.c
3278
AR_WRITE(sc, AR_PHY_FIND_SIG, reg);
sys/dev/ic/ar9003.c
3291
AR_WRITE(sc, AR_PHY_SFCORR_LOW, reg);
sys/dev/ic/ar9003.c
3297
AR_WRITE(sc, AR_PHY_SFCORR, reg);
sys/dev/ic/ar9003.c
3304
AR_WRITE(sc, AR_PHY_SFCORR_EXT, reg);
sys/dev/ic/ar9003.c
3320
AR_WRITE(sc, AR_PHY_SFCORR_LOW, reg);
sys/dev/ic/ar9003.c
3326
AR_WRITE(sc, AR_PHY_SFCORR, reg);
sys/dev/ic/ar9003.c
3333
AR_WRITE(sc, AR_PHY_SFCORR_EXT, reg);
sys/dev/ic/ar9003.c
3347
AR_WRITE(sc, AR_PHY_CCK_DETECT, reg);
sys/dev/ic/ar9003.c
3358
AR_WRITE(sc, AR_PHY_FIND_SIG, reg);
sys/dev/ic/ar9003.c
3369
AR_WRITE(sc, AR_PHY_TIMING5, reg);
sys/dev/ic/ar9003.c
519
AR_WRITE(sc, AR_GPIO_IN_OUT, reg);
sys/dev/ic/ar9003.c
531
AR_WRITE(sc, AR_GPIO_OE_OUT, reg);
sys/dev/ic/ar9003.c
547
AR_WRITE(sc, AR_GPIO_OUTPUT_MUX(mux), reg);
sys/dev/ic/ar9003.c
552
AR_WRITE(sc, AR_GPIO_OE_OUT, reg);
sys/dev/ic/ar9003.c
565
AR_WRITE(sc, AR_GPIO_INPUT_MUX2, reg);
sys/dev/ic/ar9003.c
803
AR_WRITE(sc, AR_Q_STATUS_RING_START,
sys/dev/ic/ar9003.c
805
AR_WRITE(sc, AR_Q_STATUS_RING_END,
sys/dev/ic/ar9003.c
822
AR_WRITE(sc, AR_RXBP_THRESH, reg);
sys/dev/ic/ar9003.c
825
AR_WRITE(sc, AR_DATABUF_SIZE, ATHN_RXBUFSZ - sizeof(*ds));
sys/dev/ic/ar9003.c
838
AR_WRITE(sc, AR_LP_RXDP, bf->bf_daddr);
sys/dev/ic/ar9003.c
840
AR_WRITE(sc, AR_HP_RXDP, bf->bf_daddr);
sys/dev/ic/ar9003.c
846
AR_WRITE(sc, AR_CR, 0);
sys/dev/ic/ar9280.c
192
AR_WRITE(sc, AR_PHY(637), 0x00000000);
sys/dev/ic/ar9280.c
193
AR_WRITE(sc, AR_PHY(638), 0xefff0301);
sys/dev/ic/ar9280.c
194
AR_WRITE(sc, AR_PHY(639), 0xca9228ee);
sys/dev/ic/ar9280.c
196
AR_WRITE(sc, AR_PHY(637), 0x00fffeff);
sys/dev/ic/ar9280.c
197
AR_WRITE(sc, AR_PHY(638), 0x00f5f9ff);
sys/dev/ic/ar9280.c
198
AR_WRITE(sc, AR_PHY(639), 0xb79f6427);
sys/dev/ic/ar9280.c
206
AR_WRITE(sc, AR_PHY_CCK_TX_CTRL, reg);
sys/dev/ic/ar9280.c
229
AR_WRITE(sc, AR_AN_SYNTH9, reg);
sys/dev/ic/ar9280.c
234
AR_WRITE(sc, AR9280_PHY_SYNTH_CONTROL, phy);
sys/dev/ic/ar9280.c
252
AR_WRITE(sc, AR_PHY_SWITCH_COM, modal->antCtrlCommon);
sys/dev/ic/ar9280.c
260
AR_WRITE(sc, AR_PHY_SWITCH_CHAIN_0 + offset,
sys/dev/ic/ar9280.c
268
AR_WRITE(sc, AR_PHY_TIMING_CTRL4_0 + offset, reg);
sys/dev/ic/ar9280.c
280
AR_WRITE(sc, AR_PHY_GAIN_2GHZ + offset, reg);
sys/dev/ic/ar9280.c
291
AR_WRITE(sc, AR_PHY_RXGAIN + offset, reg);
sys/dev/ic/ar9280.c
297
AR_WRITE(sc, AR_AN_RF2G1_CH0, reg);
sys/dev/ic/ar9280.c
304
AR_WRITE(sc, AR_AN_RF2G1_CH1, reg);
sys/dev/ic/ar9280.c
311
AR_WRITE(sc, AR_AN_RF5G1_CH0, reg);
sys/dev/ic/ar9280.c
318
AR_WRITE(sc, AR_AN_RF5G1_CH1, reg);
sys/dev/ic/ar9280.c
336
AR_WRITE(sc, AR_AN_TOP2, reg);
sys/dev/ic/ar9280.c
345
AR_WRITE(sc, AR_PHY_XPA_CFG, reg);
sys/dev/ic/ar9280.c
349
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar9280.c
353
AR_WRITE(sc, AR_PHY_DESIRED_SZ, reg);
sys/dev/ic/ar9280.c
359
AR_WRITE(sc, AR_PHY_RF_CTL4, reg);
sys/dev/ic/ar9280.c
363
AR_WRITE(sc, AR_PHY_RF_CTL3, reg);
sys/dev/ic/ar9280.c
367
AR_WRITE(sc, AR_PHY_CCA(0), reg);
sys/dev/ic/ar9280.c
371
AR_WRITE(sc, AR_PHY_EXT_CCA0, reg);
sys/dev/ic/ar9280.c
378
AR_WRITE(sc, AR_PHY_RF_CTL2, reg);
sys/dev/ic/ar9280.c
384
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar9280.c
390
AR_WRITE(sc, AR_PHY_CCK_TX_CTRL, reg);
sys/dev/ic/ar9280.c
401
AR_WRITE(sc, AR_AN_TOP1, reg);
sys/dev/ic/ar9280.c
408
AR_WRITE(sc, AR_PHY_FRAME_CTL, reg);
sys/dev/ic/ar9280.c
413
AR_WRITE(sc, AR_PHY_TX_PWRCTRL9, reg);
sys/dev/ic/ar9280.c
502
AR_WRITE(sc, AR_PHY_SPUR_REG,
sys/dev/ic/ar9280.c
528
AR_WRITE(sc, AR_PHY_TIMING11,
sys/dev/ic/ar9280.c
533
AR_WRITE(sc, AR_PHY_SFCORR_EXT,
sys/dev/ic/ar9280.c
553
AR_WRITE(sc, prog->regs[i], pvals[i]);
sys/dev/ic/ar9280.c
568
AR_WRITE(sc, prog->regs[i], pvals[i]);
sys/dev/ic/ar9280.c
620
AR_WRITE(sc, AR_PHY_TX_GAIN_TBL(i), reg);
sys/dev/ic/ar9285.c
204
AR_WRITE(sc, AR_PHY_SWITCH_COM, modal->antCtrlCommon);
sys/dev/ic/ar9285.c
205
AR_WRITE(sc, AR_PHY_SWITCH_CHAIN_0, modal->antCtrlChain);
sys/dev/ic/ar9285.c
210
AR_WRITE(sc, AR_PHY_TIMING_CTRL4_0, reg);
sys/dev/ic/ar9285.c
222
AR_WRITE(sc, AR_PHY_GAIN_2GHZ, reg);
sys/dev/ic/ar9285.c
234
AR_WRITE(sc, AR_PHY_GAIN_2GHZ + offset, reg);
sys/dev/ic/ar9285.c
243
AR_WRITE(sc, AR_PHY_RXGAIN, reg);
sys/dev/ic/ar9285.c
249
AR_WRITE(sc, AR_PHY_RXGAIN + offset, reg);
sys/dev/ic/ar9285.c
265
AR_WRITE(sc, AR_PHY_MULTICHAIN_GAIN_CTL, reg);
sys/dev/ic/ar9285.c
273
AR_WRITE(sc, AR_PHY_CCK_DETECT, reg);
sys/dev/ic/ar9285.c
329
AR_WRITE(sc, AR9285_AN_RF2G3, reg);
sys/dev/ic/ar9285.c
334
AR_WRITE(sc, AR9285_AN_RF2G4, reg);
sys/dev/ic/ar9285.c
349
AR_WRITE(sc, AR9285_AN_RF2G3, reg);
sys/dev/ic/ar9285.c
360
AR_WRITE(sc, AR9285_AN_RF2G4, reg);
sys/dev/ic/ar9285.c
367
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar9285.c
371
AR_WRITE(sc, AR_PHY_DESIRED_SZ, reg);
sys/dev/ic/ar9285.c
377
AR_WRITE(sc, AR_PHY_RF_CTL4, reg);
sys/dev/ic/ar9285.c
381
AR_WRITE(sc, AR_PHY_RF_CTL3, reg);
sys/dev/ic/ar9285.c
385
AR_WRITE(sc, AR_PHY_CCA(0), reg);
sys/dev/ic/ar9285.c
389
AR_WRITE(sc, AR_PHY_EXT_CCA0, reg);
sys/dev/ic/ar9285.c
397
AR_WRITE(sc, AR_PHY_RF_CTL2, reg);
sys/dev/ic/ar9285.c
402
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar9285.c
450
AR_WRITE(sc, AR9285_AN_RF2G8, reg);
sys/dev/ic/ar9285.c
454
AR_WRITE(sc, AR9285_AN_RF2G7, reg);
sys/dev/ic/ar9285.c
461
AR_WRITE(sc, AR9285_AN_RF2G6, reg);
sys/dev/ic/ar9285.c
463
AR_WRITE(sc, AR9285_AN_TOP2, AR9285_AN_TOP2_DEFAULT);
sys/dev/ic/ar9285.c
500
AR_WRITE(sc, regs[i], svg[i]);
sys/dev/ic/ar9285.c
505
AR_WRITE(sc, AR9285_AN_RF2G6, reg);
sys/dev/ic/ar9285.c
547
AR_WRITE(sc, AR9285_AN_RF2G8, reg);
sys/dev/ic/ar9285.c
551
AR_WRITE(sc, AR9285_AN_RF2G7, reg);
sys/dev/ic/ar9285.c
557
AR_WRITE(sc, AR9285_AN_RF2G3, reg);
sys/dev/ic/ar9285.c
559
AR_WRITE(sc, AR9285_AN_TOP2, AR9285_AN_TOP2_DEFAULT);
sys/dev/ic/ar9285.c
569
AR_WRITE(sc, AR9285_AN_RF2G6, reg);
sys/dev/ic/ar9285.c
574
AR_WRITE(sc, AR9285_AN_RF2G6, reg);
sys/dev/ic/ar9285.c
583
AR_WRITE(sc, regs[i], svg[i]);
sys/dev/ic/ar9285.c
586
AR_WRITE(sc, AR9285_AN_RF2G3, rf2g3_svg);
sys/dev/ic/ar9285.c
644
AR_WRITE(sc, AR_PHY_DESIRED_SZ, 0x6d4000e2);
sys/dev/ic/ar9285.c
645
AR_WRITE(sc, AR_PHY_AGC_CTL1, 0x3139605e);
sys/dev/ic/ar9285.c
646
AR_WRITE(sc, AR_PHY_FIND_SIG, 0x7ec84d2e);
sys/dev/ic/ar9285.c
647
AR_WRITE(sc, AR_PHY_SFCORR_LOW, 0x06903881);
sys/dev/ic/ar9285.c
648
AR_WRITE(sc, AR_PHY_SFCORR, 0x5ac640d0);
sys/dev/ic/ar9285.c
649
AR_WRITE(sc, AR_PHY_CCK_DETECT, 0x803e68c8);
sys/dev/ic/ar9285.c
650
AR_WRITE(sc, AR_PHY_TIMING5, 0xd00a8007);
sys/dev/ic/ar9285.c
651
AR_WRITE(sc, AR_PHY_SFCORR_EXT, 0x05eea6d4);
sys/dev/ic/ar9285.c
702
AR_WRITE(sc, AR9285_AN_RF2G5, reg);
sys/dev/ic/ar9285.c
705
AR_WRITE(sc, AR9285_AN_RF2G5, rf2g5_svg);
sys/dev/ic/ar9285.c
770
AR_WRITE(sc, AR_PHY_TPCRG1, reg);
sys/dev/ic/ar9285.c
781
AR_WRITE(sc, AR_PHY_TPCRG5, reg);
sys/dev/ic/ar9285.c
785
AR_WRITE(sc, AR_PHY_PDADC_TBL_BASE + i,
sys/dev/ic/ar9287.c
176
AR_WRITE(sc, AR_PHY_SWITCH_COM, modal->antCtrlCommon);
sys/dev/ic/ar9287.c
181
AR_WRITE(sc, AR_PHY_SWITCH_CHAIN_0 + offset,
sys/dev/ic/ar9287.c
189
AR_WRITE(sc, AR_PHY_TIMING_CTRL4_0 + offset, reg);
sys/dev/ic/ar9287.c
196
AR_WRITE(sc, AR_PHY_GAIN_2GHZ + offset, reg);
sys/dev/ic/ar9287.c
203
AR_WRITE(sc, AR_PHY_RXGAIN + offset, reg);
sys/dev/ic/ar9287.c
211
AR_WRITE(sc, AR_PHY_SETTLING, reg);
sys/dev/ic/ar9287.c
215
AR_WRITE(sc, AR_PHY_DESIRED_SZ, reg);
sys/dev/ic/ar9287.c
221
AR_WRITE(sc, AR_PHY_RF_CTL4, reg);
sys/dev/ic/ar9287.c
225
AR_WRITE(sc, AR_PHY_RF_CTL3, reg);
sys/dev/ic/ar9287.c
229
AR_WRITE(sc, AR_PHY_CCA(0), reg);
sys/dev/ic/ar9287.c
233
AR_WRITE(sc, AR_PHY_EXT_CCA0, reg);
sys/dev/ic/ar9287.c
242
AR_WRITE(sc, AR9287_AN_RF2G3_CH0, reg);
sys/dev/ic/ar9287.c
253
AR_WRITE(sc, AR9287_AN_RF2G3_CH1, reg);
sys/dev/ic/ar9287.c
260
AR_WRITE(sc, AR_PHY_RF_CTL2, reg);
sys/dev/ic/ar9287.c
264
AR_WRITE(sc, AR9287_AN_TOP2, reg);
sys/dev/ic/ar9287.c
378
AR_WRITE(sc, AR_PHY_TPCRG1, reg);
sys/dev/ic/ar9287.c
392
AR_WRITE(sc, AR_PHY_TX_PWRCTRL6_0, reg);
sys/dev/ic/ar9287.c
396
AR_WRITE(sc, AR_PHY_TX_PWRCTRL6_1, reg);
sys/dev/ic/ar9287.c
401
AR_WRITE(sc, AR_PHY_CH0_TX_PWRCTRL11 + offset, reg);
sys/dev/ic/ar9287.c
423
AR_WRITE(sc, AR_PHY_TPCRG5 + offset, reg);
sys/dev/ic/ar9287.c
427
AR_WRITE(sc, AR_PHY_PDADC_TBL_BASE + offset + j,
sys/dev/ic/ar9287.c
548
AR_WRITE(sc, AR9287_AN_TXPC0, reg);
sys/dev/ic/ar9287.c
581
AR_WRITE(sc, AR_PHY_CH0_TX_PWRCTRL11, reg);
sys/dev/ic/ar9287.c
585
AR_WRITE(sc, AR_PHY_CH1_TX_PWRCTRL11, reg);
sys/dev/ic/ar9287.c
612
AR_WRITE(sc, AR_D_GBL_IFS_SIFS, AR_D_GBL_IFS_SIFS_ASYNC_FIFO_DUR);
sys/dev/ic/ar9287.c
613
AR_WRITE(sc, AR_D_GBL_IFS_SLOT, AR_D_GBL_IFS_SLOT_ASYNC_FIFO_DUR);
sys/dev/ic/ar9287.c
614
AR_WRITE(sc, AR_D_GBL_IFS_EIFS, AR_D_GBL_IFS_EIFS_ASYNC_FIFO_DUR);
sys/dev/ic/ar9287.c
616
AR_WRITE(sc, AR_TIME_OUT, AR_TIME_OUT_ACK_CTS_ASYNC_FIFO_DUR);
sys/dev/ic/ar9287.c
617
AR_WRITE(sc, AR_USEC, AR_USEC_ASYNC_FIFO_DUR);
sys/dev/ic/ar9287.c
624
AR_WRITE(sc, AR_AHB_MODE, reg);
sys/dev/ic/ar9380.c
271
AR_WRITE(sc, AR_PHY_SYNTH_CONTROL, AR9380_BMODE);
sys/dev/ic/ar9380.c
275
AR_WRITE(sc, AR_PHY_SYNTH_CONTROL, 0);
sys/dev/ic/ar9380.c
286
AR_WRITE(sc, AR_PHY_65NM_CH0_SYNTH7, phy);
sys/dev/ic/ar9380.c
289
AR_WRITE(sc, AR_PHY_65NM_CH0_SYNTH7, phy | AR9380_LOAD_SYNTH);
sys/dev/ic/ar9380.c
314
AR_WRITE(sc, AR9485_PHY_65NM_CH0_TOP2, reg);
sys/dev/ic/ar9380.c
319
AR_WRITE(sc, AR_PHY_65NM_CH0_TOP, reg);
sys/dev/ic/ar9380.c
324
AR_WRITE(sc, AR_PHY_65NM_CH0_THERM, reg);
sys/dev/ic/ar9380.c
330
AR_WRITE(sc, AR_PHY_SWITCH_COM, reg);
sys/dev/ic/ar9380.c
333
AR_WRITE(sc, AR_PHY_SWITCH_COM_2, reg);
sys/dev/ic/ar9380.c
339
AR_WRITE(sc, AR_PHY_SWITCH_CHAIN(i), reg);
sys/dev/ic/ar9380.c
351
AR_WRITE(sc, AR_PHY_MC_GAIN_CTRL, reg);
sys/dev/ic/ar9380.c
357
AR_WRITE(sc, AR_PHY_CCK_DETECT, reg);
sys/dev/ic/ar9380.c
369
AR_WRITE(sc, AR_PHY_65NM_CH0_BIAS1, reg);
sys/dev/ic/ar9380.c
381
AR_WRITE(sc, AR_PHY_65NM_CH0_BIAS2, reg);
sys/dev/ic/ar9380.c
387
AR_WRITE(sc, AR_PHY_65NM_CH0_BIAS4, reg);
sys/dev/ic/ar9380.c
422
AR_WRITE(sc, AR_PHY_EXT_ATTEN_CTL(i), reg);
sys/dev/ic/ar9380.c
439
AR_WRITE(sc, AR9485_PHY_CH0_XTAL, reg);
sys/dev/ic/ar9380.c
453
AR_WRITE(sc, AR_RTC_REG_CONTROL0, eep->baseEepHeader.swreg);
sys/dev/ic/ar9380.c
466
AR_WRITE(sc, addr, val);
sys/dev/ic/ar9380.c
471
AR_WRITE(sc, addr, val); /* Insist. */
sys/dev/ic/ar9380.c
522
AR_WRITE(sc, AR_PHY_AGC_CONTROL, reg);
sys/dev/ic/ar9380.c
526
AR_WRITE(sc, AR_PHY_CCK_SPUR_MIT, reg);
sys/dev/ic/ar9380.c
534
AR_WRITE(sc, AR_PHY_AGC_CONTROL, reg);
sys/dev/ic/ar9380.c
541
AR_WRITE(sc, AR_PHY_CCK_SPUR_MIT, reg);
sys/dev/ic/ar9380.c
570
AR_WRITE(sc, AR_PHY_TIMING11, reg);
sys/dev/ic/ar9380.c
582
AR_WRITE(sc, AR_PHY_SPUR_REG, reg);
sys/dev/ic/ar9380.c
637
AR_WRITE(sc, AR_PHY_TIMING11, reg);
sys/dev/ic/ar9380.c
644
AR_WRITE(sc, AR_PHY_SFCORR_EXT, reg);
sys/dev/ic/ar9380.c
655
AR_WRITE(sc, AR_PHY_SPUR_REG, reg);
sys/dev/ic/ar9380.c
669
AR_WRITE(sc, AR_PHY_PILOT_SPUR_MASK, reg);
sys/dev/ic/ar9380.c
674
AR_WRITE(sc, AR_PHY_SPUR_MASK_A, reg);
sys/dev/ic/ar9380.c
679
AR_WRITE(sc, AR_PHY_CHAN_SPUR_MASK, reg);
sys/dev/ic/ar9380.c
857
AR_WRITE(sc, AR_PHY_TPC_11_B(i), reg);
sys/dev/ic/ar9380.c
862
AR_WRITE(sc, AR_PHY_TPC_6_B(i), reg);
sys/dev/ic/ar9380.c
882
AR_WRITE(sc, AR_PHY_TPC_19, reg);
sys/dev/ic/ar9380.c
886
AR_WRITE(sc, AR_PHY_TPC_18, reg);
sys/dev/ic/athn.c
1001
AR_WRITE(sc, AR_KEYTABLE_KEY0(entry), 0);
sys/dev/ic/athn.c
1002
AR_WRITE(sc, AR_KEYTABLE_KEY1(entry), 0);
sys/dev/ic/athn.c
1004
AR_WRITE(sc, AR_KEYTABLE_KEY2(entry), 0);
sys/dev/ic/athn.c
1005
AR_WRITE(sc, AR_KEYTABLE_KEY3(entry), 0);
sys/dev/ic/athn.c
1007
AR_WRITE(sc, AR_KEYTABLE_KEY4(entry), 0);
sys/dev/ic/athn.c
1008
AR_WRITE(sc, AR_KEYTABLE_TYPE(entry), AR_KEYTABLE_TYPE_CLR);
sys/dev/ic/athn.c
1010
AR_WRITE(sc, AR_KEYTABLE_MAC0(entry), 0);
sys/dev/ic/athn.c
1011
AR_WRITE(sc, AR_KEYTABLE_MAC1(entry), 0);
sys/dev/ic/athn.c
1049
AR_WRITE(sc, AR_KEYTABLE_KEY0(entry), LE_READ_4(&key[ 0]));
sys/dev/ic/athn.c
1050
AR_WRITE(sc, AR_KEYTABLE_KEY1(entry), LE_READ_2(&key[ 4]));
sys/dev/ic/athn.c
1052
AR_WRITE(sc, AR_KEYTABLE_KEY2(entry), LE_READ_4(&key[ 6]));
sys/dev/ic/athn.c
1053
AR_WRITE(sc, AR_KEYTABLE_KEY3(entry), LE_READ_2(&key[10]));
sys/dev/ic/athn.c
1055
AR_WRITE(sc, AR_KEYTABLE_KEY4(entry), LE_READ_4(&key[12]));
sys/dev/ic/athn.c
1056
AR_WRITE(sc, AR_KEYTABLE_TYPE(entry), AR_KEYTABLE_TYPE_CCM);
sys/dev/ic/athn.c
1087
AR_WRITE(sc, AR_KEYTABLE_MAC0(entry), lo);
sys/dev/ic/athn.c
1088
AR_WRITE(sc, AR_KEYTABLE_MAC1(entry), hi | unicast);
sys/dev/ic/athn.c
1151
AR_WRITE(sc, AR_GPIO_INPUT_MUX1, reg);
sys/dev/ic/athn.c
1165
AR_WRITE(sc, AR_GPIO_INPUT_MUX1, reg);
sys/dev/ic/athn.c
1180
AR_WRITE(sc, AR_BT_COEX_MODE,
sys/dev/ic/athn.c
1187
AR_WRITE(sc, AR_BT_COEX_WEIGHT,
sys/dev/ic/athn.c
1190
AR_WRITE(sc, AR_BT_COEX_MODE2,
sys/dev/ic/athn.c
1208
AR_WRITE(sc, AR_GPIO_PDPU, reg);
sys/dev/ic/athn.c
1229
AR_WRITE(sc, AR_BT_COEX_MODE,
sys/dev/ic/athn.c
1231
AR_WRITE(sc, AR_BT_COEX_WEIGHT, 0);
sys/dev/ic/athn.c
1232
AR_WRITE(sc, AR_BT_COEX_MODE2, 0);
sys/dev/ic/athn.c
1650
AR_WRITE(sc, AR_PHY_ERR_1, 0);
sys/dev/ic/athn.c
1651
AR_WRITE(sc, AR_PHY_ERR_2, 0);
sys/dev/ic/athn.c
1652
AR_WRITE(sc, AR_PHY_ERR_MASK_1, AR_PHY_ERR_OFDM_TIMING);
sys/dev/ic/athn.c
1653
AR_WRITE(sc, AR_PHY_ERR_MASK_2, AR_PHY_ERR_CCK_TIMING);
sys/dev/ic/athn.c
1697
AR_WRITE(sc, AR_PHY_ERR_1, ani->ofdm_phy_err_base);
sys/dev/ic/athn.c
1698
AR_WRITE(sc, AR_PHY_ERR_MASK_1, AR_PHY_ERR_OFDM_TIMING);
sys/dev/ic/athn.c
1701
AR_WRITE(sc, AR_PHY_ERR_2, ani->cck_phy_err_base);
sys/dev/ic/athn.c
1702
AR_WRITE(sc, AR_PHY_ERR_MASK_2, AR_PHY_ERR_CCK_TIMING);
sys/dev/ic/athn.c
1788
AR_WRITE(sc, AR_TXCFG, reg);
sys/dev/ic/athn.c
1793
AR_WRITE(sc, AR_RXCFG, reg);
sys/dev/ic/athn.c
1796
AR_WRITE(sc, AR_RXFIFO_CFG, 512);
sys/dev/ic/athn.c
1800
AR_WRITE(sc, AR_PCU_TXBUF_CTRL,
sys/dev/ic/athn.c
1803
AR_WRITE(sc, AR_PCU_TXBUF_CTRL,
sys/dev/ic/athn.c
1827
AR_WRITE(sc, AR_TXCFG, reg);
sys/dev/ic/athn.c
1836
AR_WRITE(sc, AR_CR, AR_CR_RXD);
sys/dev/ic/athn.c
1900
AR_WRITE(sc, AR_Q_TXD, 1 << qid);
sys/dev/ic/athn.c
1909
AR_WRITE(sc, AR_QUIET2,
sys/dev/ic/athn.c
1911
AR_WRITE(sc, AR_QUIET_PERIOD, 100);
sys/dev/ic/athn.c
1912
AR_WRITE(sc, AR_NEXT_QUIET_TIMER, tsflo);
sys/dev/ic/athn.c
1931
AR_WRITE(sc, AR_Q_TXD, 0);
sys/dev/ic/athn.c
1975
AR_WRITE(sc, AR_DRETRY_LIMIT(qid),
sys/dev/ic/athn.c
1979
AR_WRITE(sc, AR_QMISC(qid),
sys/dev/ic/athn.c
1981
AR_WRITE(sc, AR_DMISC(qid),
sys/dev/ic/athn.c
1995
AR_WRITE(sc, AR_DLCL_IFS(ATHN_QID_BEACON),
sys/dev/ic/athn.c
2018
AR_WRITE(sc, AR_Q_DESC_CRCCHK, AR_Q_DESC_CRCCHK_EN);
sys/dev/ic/athn.c
2021
AR_WRITE(sc, AR_IMR_S0, 0x00ff0000);
sys/dev/ic/athn.c
2023
AR_WRITE(sc, AR_IMR_S1, 0x00df0000);
sys/dev/ic/athn.c
2059
AR_WRITE(sc, AR_NEXT_TBTT_TIMER, next_tbtt * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2060
AR_WRITE(sc, AR_BEACON_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2061
AR_WRITE(sc, AR_DMA_BEACON_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2069
AR_WRITE(sc, AR_RSSI_THR, reg);
sys/dev/ic/athn.c
2071
AR_WRITE(sc, AR_NEXT_DTIM,
sys/dev/ic/athn.c
2073
AR_WRITE(sc, AR_NEXT_TIM,
sys/dev/ic/athn.c
2077
AR_WRITE(sc, AR_SLEEP1,
sys/dev/ic/athn.c
2080
AR_WRITE(sc, AR_SLEEP2,
sys/dev/ic/athn.c
2083
AR_WRITE(sc, AR_TIM_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2084
AR_WRITE(sc, AR_DTIM_PERIOD, dtim_period * intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2090
AR_WRITE(sc, AR_TSFOOR_THRESHOLD, 0x4240);
sys/dev/ic/athn.c
2106
AR_WRITE(sc, AR_NEXT_TBTT_TIMER, next_tbtt * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2107
AR_WRITE(sc, AR_NEXT_DMA_BEACON_ALERT,
sys/dev/ic/athn.c
2109
AR_WRITE(sc, AR_NEXT_CFP,
sys/dev/ic/athn.c
2112
AR_WRITE(sc, AR_BEACON_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2113
AR_WRITE(sc, AR_DMA_BEACON_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2114
AR_WRITE(sc, AR_SWBA_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2115
AR_WRITE(sc, AR_NDP_PERIOD, intval * IEEE80211_DUR_TU);
sys/dev/ic/athn.c
2117
AR_WRITE(sc, AR_TIMER_MODE,
sys/dev/ic/athn.c
2135
AR_WRITE(sc, AR_STA_ID1, reg);
sys/dev/ic/athn.c
2144
AR_WRITE(sc, AR_STA_ID1, reg);
sys/dev/ic/athn.c
2153
AR_WRITE(sc, AR_STA_ID1, reg);
sys/dev/ic/athn.c
2164
AR_WRITE(sc, AR_BSS_ID0, LE_READ_4(&bssid[0]));
sys/dev/ic/athn.c
2165
AR_WRITE(sc, AR_BSS_ID1, LE_READ_2(&bssid[4]) |
sys/dev/ic/athn.c
2177
AR_WRITE(sc, AR_IMR, sc->imask);
sys/dev/ic/athn.c
2183
AR_WRITE(sc, AR_IMR_S2, mask2);
sys/dev/ic/athn.c
2187
AR_WRITE(sc, AR_IER, AR_IER_ENABLE);
sys/dev/ic/athn.c
2189
AR_WRITE(sc, AR_INTR_ASYNC_ENABLE, AR_INTR_MAC_IRQ);
sys/dev/ic/athn.c
2190
AR_WRITE(sc, AR_INTR_ASYNC_MASK, AR_INTR_MAC_IRQ);
sys/dev/ic/athn.c
2192
AR_WRITE(sc, AR_INTR_SYNC_ENABLE, sc->isync);
sys/dev/ic/athn.c
2193
AR_WRITE(sc, AR_INTR_SYNC_MASK, sc->isync);
sys/dev/ic/athn.c
2200
AR_WRITE(sc, AR_IER, 0);
sys/dev/ic/athn.c
2203
AR_WRITE(sc, AR_INTR_ASYNC_ENABLE, 0);
sys/dev/ic/athn.c
2206
AR_WRITE(sc, AR_INTR_SYNC_ENABLE, 0);
sys/dev/ic/athn.c
2209
AR_WRITE(sc, AR_IMR, 0);
sys/dev/ic/athn.c
2223
AR_WRITE(sc, AR_MIC_QOS_CONTROL, 0x100aa);
sys/dev/ic/athn.c
2224
AR_WRITE(sc, AR_MIC_QOS_SELECT, 0x3210);
sys/dev/ic/athn.c
2225
AR_WRITE(sc, AR_QOS_NO_ACK,
sys/dev/ic/athn.c
2229
AR_WRITE(sc, AR_TXOP_X, AR_TXOP_X_VAL);
sys/dev/ic/athn.c
2231
AR_WRITE(sc, AR_TXOP_0_3, 0xffffffff);
sys/dev/ic/athn.c
2232
AR_WRITE(sc, AR_TXOP_4_7, 0xffffffff);
sys/dev/ic/athn.c
2233
AR_WRITE(sc, AR_TXOP_8_11, 0xffffffff);
sys/dev/ic/athn.c
2234
AR_WRITE(sc, AR_TXOP_12_15, 0xffffffff);
sys/dev/ic/athn.c
2266
AR_WRITE(sc, AR9271_RESET_POWER_DOWN_CONTROL,
sys/dev/ic/athn.c
2306
AR_WRITE(sc, AR9271_RESET_POWER_DOWN_CONTROL,
sys/dev/ic/athn.c
2312
AR_WRITE(sc, AR_TSF_L32, tsflo);
sys/dev/ic/athn.c
2313
AR_WRITE(sc, AR_TSF_U32, tsfhi);
sys/dev/ic/athn.c
2336
AR_WRITE(sc, AR_AES_MUTE_MASK1, reg);
sys/dev/ic/athn.c
2352
AR_WRITE(sc, AR_STA_ID0, LE_READ_4(&ic->ic_myaddr[0]));
sys/dev/ic/athn.c
2353
AR_WRITE(sc, AR_STA_ID1, LE_READ_2(&ic->ic_myaddr[4]) |
sys/dev/ic/athn.c
2358
AR_WRITE(sc, AR_BSSMSKL, 0xffffffff);
sys/dev/ic/athn.c
2359
AR_WRITE(sc, AR_BSSMSKU, 0xffff);
sys/dev/ic/athn.c
2362
AR_WRITE(sc, AR_DEF_ANTENNA, def_ant);
sys/dev/ic/athn.c
2364
AR_WRITE(sc, AR_BSS_ID0, 0);
sys/dev/ic/athn.c
2365
AR_WRITE(sc, AR_BSS_ID1, 0);
sys/dev/ic/athn.c
2367
AR_WRITE(sc, AR_ISR, 0xffffffff);
sys/dev/ic/athn.c
2369
AR_WRITE(sc, AR_RSSI_THR, SM(AR_RSSI_THR_BM_THR, 7));
sys/dev/ic/athn.c
2379
AR_WRITE(sc, AR_DQCUMASK(i), 1 << i);
sys/dev/ic/athn.c
2395
AR_WRITE(sc, AR_IMR, sc->imask);
sys/dev/ic/athn.c
2397
AR_WRITE(sc, AR_INTR_SYNC_CAUSE, 0xffffffff);
sys/dev/ic/athn.c
2401
AR_WRITE(sc, AR_INTR_SYNC_ENABLE, sc->isync);
sys/dev/ic/athn.c
2402
AR_WRITE(sc, AR_INTR_SYNC_MASK, 0);
sys/dev/ic/athn.c
2404
AR_WRITE(sc, AR_INTR_PRIO_ASYNC_ENABLE, 0);
sys/dev/ic/athn.c
2405
AR_WRITE(sc, AR_INTR_PRIO_ASYNC_MASK, 0);
sys/dev/ic/athn.c
2406
AR_WRITE(sc, AR_INTR_PRIO_SYNC_ENABLE, 0);
sys/dev/ic/athn.c
2407
AR_WRITE(sc, AR_INTR_PRIO_SYNC_MASK, 0);
sys/dev/ic/athn.c
2426
AR_WRITE(sc, sc->obs_off, 8);
sys/dev/ic/athn.c
2429
AR_WRITE(sc, AR_RIMT, SM(AR_RIMT_FIRST, 2000) | SM(AR_RIMT_LAST, 500));
sys/dev/ic/athn.c
2432
AR_WRITE(sc, AR_TIMT, SM(AR_TIMT_FIRST, 2000) | SM(AR_TIMT_LAST, 500));
sys/dev/ic/athn.c
2435
AR_WRITE(sc, AR_MIRT, SM(AR_MIRT_RATE_THRES, 2000));
sys/dev/ic/athn.c
2447
AR_WRITE(sc, AR_CFG_LED, cfg_led | AR_CFG_SCLK_32KHZ);
sys/dev/ic/athn.c
2451
AR_WRITE(sc, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB);
sys/dev/ic/athn.c
2453
AR_WRITE(sc, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD);
sys/dev/ic/athn.c
2458
AR_WRITE(sc, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD);
sys/dev/ic/athn.c
2655
AR_WRITE(sc, AR_RX_FILTER, reg);
sys/dev/ic/athn.c
2687
AR_WRITE(sc, AR_DLCL_IFS(qid),
sys/dev/ic/athn.c
2692
AR_WRITE(sc, AR_DCHNTIME(qid),
sys/dev/ic/athn.c
2697
AR_WRITE(sc, AR_DCHNTIME(qid), 0);
sys/dev/ic/athn.c
2741
AR_WRITE(sc, AR_D_GBL_IFS_SIFS, (sifs - 2) * athn_clock_rate(sc));
sys/dev/ic/athn.c
2764
AR_WRITE(sc, AR_TIME_OUT, reg);
sys/dev/ic/athn.c
2780
AR_WRITE(sc, AR_TIME_OUT, reg);
sys/dev/ic/athn.c
2790
AR_WRITE(sc, AR_USEC, reg);
sys/dev/ic/athn.c
2802
AR_WRITE(sc, AR_D_GBL_IFS_SLOT, slot * athn_clock_rate(sc));
sys/dev/ic/athn.c
2924
AR_WRITE(sc, AR_MCAST_FIL0, lo);
sys/dev/ic/athn.c
2925
AR_WRITE(sc, AR_MCAST_FIL1, hi);
sys/dev/ic/athn.c
3115
AR_WRITE(sc, AR_INTR_SYNC_CAUSE, 0xffffffff);
sys/dev/ic/athn.c
3116
AR_WRITE(sc, AR_INTR_SYNC_MASK, 0);
sys/dev/ic/athn.c
3126
AR_WRITE(sc, AR_MIBC, AR_MIBC_FMC);
sys/dev/ic/athn.c
3127
AR_WRITE(sc, AR_MIBC, AR_MIBC_CMC);
sys/dev/ic/athn.c
3128
AR_WRITE(sc, AR_FILT_OFDM, 0);
sys/dev/ic/athn.c
3129
AR_WRITE(sc, AR_FILT_CCK, 0);
sys/dev/ic/athn.c
501
AR_WRITE(sc, AR_BSSMSKL, 0xffffffff);
sys/dev/ic/athn.c
502
AR_WRITE(sc, AR_BSSMSKU, 0xffff);
sys/dev/ic/athn.c
507
AR_WRITE(sc, AR_MCAST_FIL0, 0xffffffff);
sys/dev/ic/athn.c
508
AR_WRITE(sc, AR_MCAST_FIL1, 0xffffffff);
sys/dev/ic/athn.c
510
AR_WRITE(sc, AR_FILT_OFDM, 0);
sys/dev/ic/athn.c
511
AR_WRITE(sc, AR_FILT_CCK, 0);
sys/dev/ic/athn.c
512
AR_WRITE(sc, AR_MIBC, 0);
sys/dev/ic/athn.c
513
AR_WRITE(sc, AR_PHY_ERR_MASK_1, AR_PHY_ERR_OFDM_TIMING);
sys/dev/ic/athn.c
514
AR_WRITE(sc, AR_PHY_ERR_MASK_2, AR_PHY_ERR_CCK_TIMING);
sys/dev/ic/athn.c
517
AR_WRITE(sc, AR_PHY_ERR_1, 0);
sys/dev/ic/athn.c
518
AR_WRITE(sc, AR_PHY_ERR_2, 0);
sys/dev/ic/athn.c
531
AR_WRITE(sc, AR_RX_FILTER, rfilt);
sys/dev/ic/athn.c
537
AR_WRITE(sc, AR_PHY_ERR, reg);
sys/dev/ic/athn.c
543
AR_WRITE(sc, AR_PHY_ERR, 0);
sys/dev/ic/athn.c
634
AR_WRITE(sc, AR_RTC_FORCE_WAKE,
sys/dev/ic/athn.c
639
AR_WRITE(sc, AR_RC, AR_RC_AHB);
sys/dev/ic/athn.c
642
AR_WRITE(sc, AR_RTC_RESET, 0);
sys/dev/ic/athn.c
646
AR_WRITE(sc, AR_RC, 0);
sys/dev/ic/athn.c
647
AR_WRITE(sc, AR_RTC_RESET, 1);
sys/dev/ic/athn.c
669
AR_WRITE(sc, AR_RTC_FORCE_WAKE,
sys/dev/ic/athn.c
674
AR_WRITE(sc, AR_INTR_SYNC_ENABLE, 0);
sys/dev/ic/athn.c
675
AR_WRITE(sc, AR_RC, AR_RC_HOSTIF |
sys/dev/ic/athn.c
678
AR_WRITE(sc, AR_RC, AR_RC_AHB);
sys/dev/ic/athn.c
680
AR_WRITE(sc, AR_RTC_RC, AR_RTC_RC_MAC_WARM |
sys/dev/ic/athn.c
684
AR_WRITE(sc, AR_RTC_RC, 0);
sys/dev/ic/athn.c
695
AR_WRITE(sc, AR_RC, 0);
sys/dev/ic/athn.c
742
AR_WRITE(sc, AR_RC, AR_RC_AHB | AR_RC_HOSTIF);
sys/dev/ic/athn.c
759
AR_WRITE(sc, AR_RTC_PLL_CONTROL2, 0x886666);
sys/dev/ic/athn.c
787
AR_WRITE(sc, AR_RTC_PLL_CONTROL, pll);
sys/dev/ic/athn.c
792
AR_WRITE(sc, AR9271_CLOCK_CONTROL, 0x304);
sys/dev/ic/athn.c
796
AR_WRITE(sc, AR_RTC_SLEEP_CLK, AR_RTC_FORCE_DERIVED_CLK);
sys/dev/ic/athn.c
807
AR_WRITE(sc, serdes->regs[i], serdes->vals[i]);
sys/dev/ic/athn.c
822
AR_WRITE(sc, AR_WA, sc->workaround);
sys/dev/ic/athn.c
824
AR_WRITE(sc, AR_WA, ATHN_PCIE_WAEN);
sys/dev/ic/athn.c
927
AR_WRITE(sc, AR_MIBC, AR_MIBC_FMC);
sys/dev/ic/athn.c
928
AR_WRITE(sc, AR_MIBC, AR_MIBC_CMC);
sys/dev/ic/athn.c
929
AR_WRITE(sc, AR_FILT_OFDM, 0);
sys/dev/ic/athn.c
930
AR_WRITE(sc, AR_FILT_CCK, 0);
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
1063
AR_WRITE(sc, AR_RX_FILTER, reg);
sys/dev/usb/if_athn_usb.c
1123
AR_WRITE(sc, AR_RX_FILTER, reg);
sys/dev/usb/if_athn_usb.c
1524
AR_WRITE(sc, AR_CR, AR_CR_RXE);