/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_tx99_tgt.c | 51 OS_REG_WRITE(ah, AR_PHY_TX_FORCED_GAIN, 0); in ar9300_tx99_tgt_channel_pwr_update() 55 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(1), in ar9300_tx99_tgt_channel_pwr_update() 62 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(2), in ar9300_tx99_tgt_channel_pwr_update() 71 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(3), in ar9300_tx99_tgt_channel_pwr_update() 78 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(4), in ar9300_tx99_tgt_channel_pwr_update() 87 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(5), in ar9300_tx99_tgt_channel_pwr_update() 95 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(6), in ar9300_tx99_tgt_channel_pwr_update() 103 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(10), in ar9300_tx99_tgt_channel_pwr_update() 122 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(7), in ar9300_tx99_tgt_channel_pwr_update() 130 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(8), in ar9300_tx99_tgt_channel_pwr_update() [all …]
|
H A D | ar9300_power.c | 76 OS_REG_WRITE(ah, reg, val); in ar9300_wowoffload_add_mcast_filter() 93 OS_REG_WRITE(ah, addr, 8); in ar9300_wowoffload_download_devid_swar() 95 OS_REG_WRITE(ah, addr, 0x5000); in ar9300_wowoffload_download_devid_swar() 101 OS_REG_WRITE(ah, addr, 0x5008); in ar9300_wowoffload_download_devid_swar() 107 OS_REG_WRITE(ah, addr, 0x502c); in ar9300_wowoffload_download_devid_swar() 113 OS_REG_WRITE(ah, addr, 0x18c00); in ar9300_wowoffload_download_devid_swar() 125 OS_REG_WRITE(ah, addr, 0x570c); in ar9300_wowoffload_download_devid_swar() 131 OS_REG_WRITE(ah, addr, 0x5040); in ar9300_wowoffload_download_devid_swar() 423 OS_REG_WRITE(ah, AR_RIMT, 0); in ar9300_wow_offload_handshake() 813 OS_REG_WRITE(ah, in ar9280_config_ser_des__wow_sleep() [all …]
|
H A D | ar9300_keycache.c | 93 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar9300_reset_key_cache_entry() 94 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar9300_reset_key_cache_entry() 95 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar9300_reset_key_cache_entry() 96 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar9300_reset_key_cache_entry() 97 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar9300_reset_key_cache_entry() 99 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), 0); in ar9300_reset_key_cache_entry() 100 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), 0); in ar9300_reset_key_cache_entry() 302 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), in ar9300_set_key_cache_entry() 351 OS_REG_WRITE(ah, in ar9300_set_key_cache_entry() 368 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), in ar9300_set_key_cache_entry() [all …]
|
H A D | ar9300_misc.c | 2750 OS_REG_WRITE(ah, in ar9300_set_proxy_sta() 3303 OS_REG_WRITE(ah, 0xa3c0, in ar9300_tx99_channel_pwr_update() 3310 OS_REG_WRITE(ah, 0xa3c4, in ar9300_tx99_channel_pwr_update() 3319 OS_REG_WRITE(ah, 0xa3c8, in ar9300_tx99_channel_pwr_update() 3326 OS_REG_WRITE(ah, 0xa3cc, in ar9300_tx99_channel_pwr_update() 3335 OS_REG_WRITE(ah, 0xa3d0, in ar9300_tx99_channel_pwr_update() 3343 OS_REG_WRITE(ah, 0xa3d4, in ar9300_tx99_channel_pwr_update() 3351 OS_REG_WRITE(ah, 0xa3e4, in ar9300_tx99_channel_pwr_update() 3360 OS_REG_WRITE(ah, 0xa3e8, in ar9300_tx99_channel_pwr_update() 3370 OS_REG_WRITE(ah, 0xa3d8, in ar9300_tx99_channel_pwr_update() [all …]
|
H A D | ar9300_recv.c | 49 OS_REG_WRITE(ah, AR_HP_RXDP, rxdp); in ar9300_set_rx_dp() 51 OS_REG_WRITE(ah, AR_LP_RXDP, rxdp); in ar9300_set_rx_dp() 61 OS_REG_WRITE(ah, AR_CR, 0); in ar9300_enable_receive() 124 OS_REG_WRITE(ah, AR_MACMISC, in ar9300_stop_dma_receive() 138 OS_REG_WRITE(ah, AR_CR, AR_CR_RXD); in ar9300_stop_dma_receive() 160 OS_REG_WRITE(ah, AR_MACMISC, org_value); in ar9300_stop_dma_receive() 239 OS_REG_WRITE(ah, AR_RX_FILTER, in ar9300_set_rx_filter() 248 OS_REG_WRITE(ah, AR_PHY_ERR, phybits); in ar9300_set_rx_filter() 250 OS_REG_WRITE(ah, AR_RXCFG, in ar9300_set_rx_filter() 253 OS_REG_WRITE(ah, AR_RXCFG, in ar9300_set_rx_filter() [all …]
|
H A D | ar9300_beacon.c | 47 OS_REG_WRITE(ah, AR_NEXT_DMA_BEACON_ALERT, in ar9300_beacon_init() 50 OS_REG_WRITE(ah, AR_NEXT_SWBA, in ar9300_beacon_init() 64 OS_REG_WRITE(ah, AR_BEACON_PERIOD, beacon_period_usec); in ar9300_beacon_init() 65 OS_REG_WRITE(ah, AR_DMA_BEACON_PERIOD, beacon_period_usec); in ar9300_beacon_init() 66 OS_REG_WRITE(ah, AR_SWBA_PERIOD, beacon_period_usec); in ar9300_beacon_init() 98 OS_REG_WRITE(ah, AR_BEACON_PERIOD, in ar9300_set_sta_beacon_timers() 100 OS_REG_WRITE(ah, AR_DMA_BEACON_PERIOD, in ar9300_set_sta_beacon_timers() 169 OS_REG_WRITE(ah, AR_SLEEP1, in ar9300_set_sta_beacon_timers() 186 OS_REG_WRITE(ah, AR_SLEEP2, in ar9300_set_sta_beacon_timers() 189 OS_REG_WRITE(ah, AR_TIM_PERIOD, TU_TO_USEC(beaconintval)); in ar9300_set_sta_beacon_timers() [all …]
|
H A D | ar9300_xmit.c | 71 OS_REG_WRITE(ah, in ar9300_update_tx_trig_level() 234 OS_REG_WRITE(ah, AR_IMR_S0, in set_tx_q_interrupts() 236 OS_REG_WRITE(ah, AR_IMR_S1, in set_tx_q_interrupts() 353 OS_REG_WRITE(ah, in ar9300_reset_tx_queue() 358 OS_REG_WRITE(ah, AR_QMISC(q), in ar9300_reset_tx_queue() 393 OS_REG_WRITE(ah, AR_QMISC(q), in ar9300_reset_tx_queue() 399 OS_REG_WRITE(ah, AR_DMISC(q), in ar9300_reset_tx_queue() 419 OS_REG_WRITE(ah, AR_QMISC(q), in ar9300_reset_tx_queue() 692 OS_REG_WRITE(ah, AR_Q_TXD, 0); in ar9300_stop_tx_dma() 797 OS_REG_WRITE(ah, AR_Q_TXD, 0); in ar9300_stop_tx_dma_indv_que() [all …]
|
H A D | ar9300_interrupts.c | 107 OS_REG_WRITE(ah, AR_ISR, in ar9300_get_pending_interrupts() 112 OS_REG_WRITE(ah, AR_ISR, AR_ISR_TXOK); in ar9300_get_pending_interrupts() 200 OS_REG_WRITE(ah, AR_ISR_S2, isr2); in ar9300_get_pending_interrupts() 257 OS_REG_WRITE(ah, AR_ISR_S0, s0); in ar9300_get_pending_interrupts() 259 OS_REG_WRITE(ah, AR_ISR_S1, s1); in ar9300_get_pending_interrupts() 315 OS_REG_WRITE(ah, AR_ISR_S5, s5); in ar9300_get_pending_interrupts() 330 OS_REG_WRITE(ah, AR_ISR, isr); in ar9300_get_pending_interrupts() 345 OS_REG_WRITE(ah, in ar9300_get_pending_interrupts() 634 OS_REG_WRITE(ah, AR_IMR, mask); 667 OS_REG_WRITE(ah, AR_IER, AR_IER_ENABLE); [all …]
|
H A D | ar9300_reset.c | 1347 OS_REG_WRITE(ah, AR_STA_ID1, in ar9300_set_operating_mode() 1643 OS_REG_WRITE(ah, in ar9300_init_pll() 1648 OS_REG_WRITE(ah, in ar9300_init_pll() 1672 OS_REG_WRITE(ah, in ar9300_set_reset() 1842 OS_REG_WRITE(ah, AR_RTC_RC, 0); in ar9300_set_reset() 2847 OS_REG_WRITE(ah, reg, val); in ar9300_prog_ini() 4184 OS_REG_WRITE(ah, in ar9300_init_interrupt_masks() 4227 OS_REG_WRITE(ah, in ar9300_init_user_settings() 4934 OS_REG_WRITE(ah, AR_BSS_ID1, in ar9300_reset() 5005 OS_REG_WRITE(ah, AR_STA_ID1, in ar9300_reset() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5312/ |
H A D | ar5312_misc.c | 46 OS_REG_WRITE(ah, resOffset+AR5312_PCICFG, in ar5312SetLedState() 106 OS_REG_WRITE(ah, AR_PHY_SLEEP_CTR_CONTROL, 0x1f); in ar5312SetupClock() 107 OS_REG_WRITE(ah, AR_PHY_SLEEP_CTR_LIMIT, 0x0d); in ar5312SetupClock() 108 OS_REG_WRITE(ah, AR_PHY_SLEEP_SCAL, 0x0c); in ar5312SetupClock() 109 OS_REG_WRITE(ah, AR_PHY_M_SLEEP, 0x03); in ar5312SetupClock() 110 OS_REG_WRITE(ah, AR_PHY_REFCLKDLY, 0x05); in ar5312SetupClock() 111 OS_REG_WRITE(ah, AR_PHY_REFCLKPD, in ar5312SetupClock() 122 OS_REG_WRITE(ah, AR_PHY_SLEEP_CTR_CONTROL, 0x1f); in ar5312SetupClock() 123 OS_REG_WRITE(ah, AR_PHY_SLEEP_CTR_LIMIT, 0x7f); in ar5312SetupClock() 132 OS_REG_WRITE(ah, AR_PHY_REFCLKPD, in ar5312SetupClock() [all …]
|
H A D | ar5312_reset.c | 71 OS_REG_WRITE(ah, reg, V(i, 1)); in write_common() 242 OS_REG_WRITE(ah, AR_PHY_ADC_CTL, in ar5312Reset() 256 OS_REG_WRITE(ah, AR_PHY_TXPWRADJ, in ar5312Reset() 501 OS_REG_WRITE(ah, AR_IMR_S2, in ar5312Reset() 526 OS_REG_WRITE(ah, AR_BEACON, in ar5312Reset() 540 OS_REG_WRITE(ah, AR_NOACK, in ar5312Reset() 753 OS_REG_WRITE(ah, AR_CFG, mask); in ar5312SetResetReg() 808 OS_REG_WRITE(ah, in ar5312MacReset() 821 OS_REG_WRITE(ah, in ar5312MacReset() 865 OS_REG_WRITE(ah, in ar5312MacReset() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/ |
H A D | ar5212_keycache.c | 78 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar5212ResetKeyCacheEntry() 79 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar5212ResetKeyCacheEntry() 80 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar5212ResetKeyCacheEntry() 81 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar5212ResetKeyCacheEntry() 82 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar5212ResetKeyCacheEntry() 84 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), 0); in ar5212ResetKeyCacheEntry() 85 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), 0); in ar5212ResetKeyCacheEntry() 90 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(micentry), 0); in ar5212ResetKeyCacheEntry() 91 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(micentry), 0); in ar5212ResetKeyCacheEntry() 92 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(micentry), 0); in ar5212ResetKeyCacheEntry() [all …]
|
H A D | ar5212_beacon.c | 77 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); in ar5212SetBeaconTimers() 136 OS_REG_WRITE(ah, AR_STA_ID1, in ar5212ResetStaBeaconTimers() 138 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_PERIOD); in ar5212ResetStaBeaconTimers() 156 OS_REG_WRITE(ah, AR_STA_ID1, in ar5212SetStaBeaconTimers() 169 OS_REG_WRITE(ah, AR_STA_ID1, in ar5212SetStaBeaconTimers() 176 OS_REG_WRITE(ah, AR_TIMER0, bs->bs_nexttbtt); in ar5212SetStaBeaconTimers() 185 OS_REG_WRITE(ah, AR_BEACON, in ar5212SetStaBeaconTimers() 199 OS_REG_WRITE(ah, AR_RSSI_THR, ahp->ah_rssiThr); in ar5212SetStaBeaconTimers() 251 OS_REG_WRITE(ah, AR_SLEEP1, in ar5212SetStaBeaconTimers() 257 OS_REG_WRITE(ah, AR_SLEEP2, in ar5212SetStaBeaconTimers() [all …]
|
H A D | ar5212_misc.c | 207 OS_REG_WRITE(ah, AR_PCICFG, bits); in ar5212SetLedState() 367 OS_REG_WRITE(ah, AR_MIBC, in ar5212EnableMibCounters() 578 OS_REG_WRITE(ah, AR_DCM_A, keyidx); in ar5212SetDecompMask() 630 OS_REG_WRITE(ah, AR_TIME_OUT, in ar5212SetCoverageClass() 645 OS_REG_WRITE(ah, AR_QUIET1, nextStart); in ar5212SetQuiet() 690 OS_REG_WRITE(ah, AR_PHY_REFCLKPD, in ar5212SetupClock() 727 OS_REG_WRITE(ah, AR_PHY_REFCLKPD, in ar5212SetupClock() 757 OS_REG_WRITE(ah, AR_PHY_REFCLKPD, in ar5212RestoreClock() 980 OS_REG_WRITE(ah, AR_PHY_RESTART, v); in ar5212SetCapability() 1015 OS_REG_WRITE(ah, AR_TPC, ahp->ah_macTPC); in ar5212SetCapability() [all …]
|
H A D | ar5212_reset.c | 308 OS_REG_WRITE(ah, AR_RXCFG, 0); in ar5212Reset() 577 OS_REG_WRITE(ah, AR_IMR_S2, in ar5212Reset() 602 OS_REG_WRITE(ah, AR_BEACON, in ar5212Reset() 616 OS_REG_WRITE(ah, AR_NOACK, in ar5212Reset() 1492 OS_REG_WRITE(ah, AR_CCFG, in ar5212SetCompRegs() 1495 OS_REG_WRITE(ah, AR_CCFG, in ar5212SetCompRegs() 1497 OS_REG_WRITE(ah, AR_CCUCFG, in ar5212SetCompRegs() 1659 OS_REG_WRITE(ah, AR_PHY(90), in ar5212SetBoardValues() 2737 OS_REG_WRITE(ah, in ar5212SetRateDurationTable() 2751 OS_REG_WRITE(ah, reg, in ar5212SetRateDurationTable() [all …]
|
H A D | ar5212_recv.c | 48 OS_REG_WRITE(ah, AR_RXDP, rxdp); in ar5212SetRxDP() 58 OS_REG_WRITE(ah, AR_CR, AR_CR_RXE); in ar5212EnableReceive() 93 OS_REG_WRITE(ah, AR_DIAG_SW, in ar5212StartPcuReceive() 107 OS_REG_WRITE(ah, AR_DIAG_SW, in ar5212StopPcuReceive() 119 OS_REG_WRITE(ah, AR_MCAST_FIL0, filter0); in ar5212SetMulticastFilter() 120 OS_REG_WRITE(ah, AR_MCAST_FIL1, filter1); in ar5212SetMulticastFilter() 158 OS_REG_WRITE(ah, AR_MCAST_FIL0, (val | (1<<ix))); in ar5212SetMulticastFilterIndex() 190 OS_REG_WRITE(ah, AR_RX_FILTER, in ar5212SetRxFilter() 198 OS_REG_WRITE(ah, AR_PHY_ERR, phybits); in ar5212SetRxFilter() 200 OS_REG_WRITE(ah, AR_RXCFG, in ar5212SetRxFilter() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 133 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset() 138 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset() 143 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset() 148 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset() 171 OS_REG_WRITE(ah, AR_IMR, 0); in ar5210Reset() 184 OS_REG_WRITE(ah, AR_SFR, 0); in ar5210Reset() 222 OS_REG_WRITE(ah, AR_PHY(10), in ar5210Reset() 225 OS_REG_WRITE(ah, AR_PHY(13), in ar5210Reset() 279 OS_REG_WRITE(ah, AR_BEACON, in ar5210Reset() 504 OS_REG_WRITE(ah, 0x985c, in ar5210PerCalibrationN() [all …]
|
H A D | ar5210_beacon.c | 47 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt); in ar5210SetBeaconTimers() 48 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba); in ar5210SetBeaconTimers() 49 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba); in ar5210SetBeaconTimers() 50 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim); in ar5210SetBeaconTimers() 54 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); in ar5210SetBeaconTimers() 103 OS_REG_WRITE(ah, AR_STA_ID1, in ar5210ResetStaBeaconTimers() 105 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_PERIOD); in ar5210ResetStaBeaconTimers() 127 OS_REG_WRITE(ah, AR_STA_ID1, in ar5210SetStaBeaconTimers() 141 OS_REG_WRITE(ah, AR_STA_ID1, in ar5210SetStaBeaconTimers() 148 OS_REG_WRITE(ah, AR_TIMER0, bs->bs_nexttbtt); in ar5210SetStaBeaconTimers() [all …]
|
H A D | ar5210_keycache.c | 60 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar5210ResetKeyCacheEntry() 61 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar5210ResetKeyCacheEntry() 62 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar5210ResetKeyCacheEntry() 63 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar5210ResetKeyCacheEntry() 64 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar5210ResetKeyCacheEntry() 65 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), 0); in ar5210ResetKeyCacheEntry() 66 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), 0); in ar5210ResetKeyCacheEntry() 67 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), 0); in ar5210ResetKeyCacheEntry() 98 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), in ar5210SetKeyCacheEntryMac() 149 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), key0); in ar5210SetKeyCacheEntry() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5416/ |
H A D | ar5416_beacon.c | 58 OS_REG_WRITE(ah, AR5416_BEACON_PERIOD, bperiod); in ar5416SetBeaconTimers() 59 OS_REG_WRITE(ah, AR_DBA_PERIOD, bperiod); in ar5416SetBeaconTimers() 60 OS_REG_WRITE(ah, AR_SWBA_PERIOD, bperiod); in ar5416SetBeaconTimers() 61 OS_REG_WRITE(ah, AR_NDP_PERIOD, bperiod); in ar5416SetBeaconTimers() 136 OS_REG_WRITE(ah, AR_NEXT_TBTT, 0); /* no beacons */ in ar5416ResetStaBeaconTimers() 140 OS_REG_WRITE(ah, AR_STA_ID1, in ar5416ResetStaBeaconTimers() 167 OS_REG_WRITE(ah, AR5416_BEACON_PERIOD, in ar5416SetStaBeaconTimers() 169 OS_REG_WRITE(ah, AR_DBA_PERIOD, in ar5416SetStaBeaconTimers() 251 OS_REG_WRITE(ah, AR_NEXT_DTIM, in ar5416SetStaBeaconTimers() 256 OS_REG_WRITE(ah, AR5416_SLEEP1, in ar5416SetStaBeaconTimers() [all …]
|
H A D | ar5416_reset.c | 283 OS_REG_WRITE(ah, AR_MAC_LED, in ar5416Reset() 369 OS_REG_WRITE(ah, AR_TIME_OUT, 389 OS_REG_WRITE(ah, AR_STA_ID1, 397 OS_REG_WRITE(ah, AR_OBS, 8); 402 OS_REG_WRITE(ah, AR_MIRT, 0); 583 OS_REG_WRITE(ah, AR_TXCFG, in ar5416InitDMA() 593 OS_REG_WRITE(ah, AR_RXCFG, in ar5416InitDMA() 597 OS_REG_WRITE(ah, AR_TXCFG, in ar5416InitDMA() 697 OS_REG_WRITE(ah, AR_IMR_S2, in ar5416InitIMR() 710 OS_REG_WRITE(ah, AR_NOACK, in ar5416InitQoS() [all …]
|
H A D | ar5416_interrupts.c | 140 OS_REG_WRITE(ah, AR_ISR_S2, isr2); in ar5416GetPendingInterrupts() 181 OS_REG_WRITE(ah, AR_ISR_S0, isr0); in ar5416GetPendingInterrupts() 183 OS_REG_WRITE(ah, AR_ISR_S1, isr1); in ar5416GetPendingInterrupts() 201 OS_REG_WRITE(ah, AR_ISR_S5, isr5); in ar5416GetPendingInterrupts() 220 OS_REG_WRITE(ah, AR_ISR, isr); in ar5416GetPendingInterrupts() 237 OS_REG_WRITE(ah, AR_RC, AR_RC_HOSTIF); in ar5416GetPendingInterrupts() 238 OS_REG_WRITE(ah, AR_RC, 0); in ar5416GetPendingInterrupts() 275 OS_REG_WRITE(ah, AR_IER, AR_IER_DISABLE); in ar5416SetInterrupts() 339 OS_REG_WRITE(ah, AR_IMR, mask); in ar5416SetInterrupts() 351 OS_REG_WRITE(ah, AR_IMR_S2, mask | mask2); in ar5416SetInterrupts() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5211/ |
H A D | ar5211_beacon.c | 50 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt); in ar5211SetBeaconTimers() 51 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba); in ar5211SetBeaconTimers() 52 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba); in ar5211SetBeaconTimers() 53 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim); in ar5211SetBeaconTimers() 57 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); in ar5211SetBeaconTimers() 112 OS_REG_WRITE(ah, AR_STA_ID1, in ar5211ResetStaBeaconTimers() 114 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_PERIOD); in ar5211ResetStaBeaconTimers() 133 OS_REG_WRITE(ah, AR_STA_ID1, in ar5211SetStaBeaconTimers() 146 OS_REG_WRITE(ah, AR_STA_ID1, in ar5211SetStaBeaconTimers() 153 OS_REG_WRITE(ah, AR_TIMER0, bs->bs_nexttbtt); in ar5211SetStaBeaconTimers() [all …]
|
H A D | ar5211_keycache.c | 64 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar5211ResetKeyCacheEntry() 65 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar5211ResetKeyCacheEntry() 66 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar5211ResetKeyCacheEntry() 67 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar5211ResetKeyCacheEntry() 68 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar5211ResetKeyCacheEntry() 69 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), 0); in ar5211ResetKeyCacheEntry() 70 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), 0); in ar5211ResetKeyCacheEntry() 71 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), 0); in ar5211ResetKeyCacheEntry() 106 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), macLo); in ar5211SetKeyCacheEntryMac() 171 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), key0); in ar5211SetKeyCacheEntry() [all …]
|
H A D | ar5211_reset.c | 348 OS_REG_WRITE(ah, AR_USEC, in ar5211Reset() 358 OS_REG_WRITE(ah, AR_DIAG_SW, in ar5211Reset() 405 OS_REG_WRITE(ah, AR_CFG, in ar5211Reset() 491 OS_REG_WRITE(ah, AR_IMR_S0, in ar5211Reset() 526 OS_REG_WRITE(ah, AR_BEACON, in ar5211Reset() 771 OS_REG_WRITE(ah, AR_CFG, mask); in ar5211SetResetReg() 847 OS_REG_WRITE(ah, AR_PHY(25), in ar5211RunNoiseFloor() 1229 OS_REG_WRITE(ah, AR_PHY(68), in ar5211SetBoardValues() 1232 OS_REG_WRITE(ah, AR_PHY(68), in ar5211SetBoardValues() 1284 OS_REG_WRITE(ah, 0x9924, in ar5211SetBoardValues() [all …]
|