Home
last modified time | relevance | path

Searched refs:OS_REG_WRITE (Results 1 – 25 of 99) sorted by relevance

1234

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_tx99_tgt.c50 OS_REG_WRITE(ah, AR_PHY_TX_FORCED_GAIN, 0); in ar9300_tx99_tgt_channel_pwr_update()
54 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(1), in ar9300_tx99_tgt_channel_pwr_update()
61 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(2), in ar9300_tx99_tgt_channel_pwr_update()
70 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(3), in ar9300_tx99_tgt_channel_pwr_update()
77 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(4), in ar9300_tx99_tgt_channel_pwr_update()
86 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(5), in ar9300_tx99_tgt_channel_pwr_update()
94 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(6), in ar9300_tx99_tgt_channel_pwr_update()
102 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(10), in ar9300_tx99_tgt_channel_pwr_update()
111 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(11), in ar9300_tx99_tgt_channel_pwr_update()
121 OS_REG_WRITE(ah, AR_PHY_POWER_TX_RATE(7), in ar9300_tx99_tgt_channel_pwr_update()
[all …]
H A Dar9300_power.c42 OS_REG_WRITE(ah, AR_MCAST_FIL0, val); in ar9300_wowoffload_post()
47 OS_REG_WRITE(ah, AR_MCAST_FIL1, val); in ar9300_wowoffload_post()
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()
99 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_000); in ar9300_wowoffload_download_devid_swar()
101 OS_REG_WRITE(ah, addr, 0x5008); in ar9300_wowoffload_download_devid_swar()
105 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_008); in ar9300_wowoffload_download_devid_swar()
107 OS_REG_WRITE(ah, addr, 0x502c); in ar9300_wowoffload_download_devid_swar()
111 OS_REG_WRITE(ah, addr, AH_PRIVATE(ah)->ah_config.ath_hal_pcie_02c); in ar9300_wowoffload_download_devid_swar()
[all …]
H A Dar9300_keycache.c93 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()
98 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), AR_KEYTABLE_TYPE_CLR); 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()
105 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(micentry), 0); in ar9300_reset_key_cache_entry()
106 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(micentry), 0); in ar9300_reset_key_cache_entry()
[all …]
H A Dar9300_beacon.c46 OS_REG_WRITE(ah, AR_NEXT_TBTT_TIMER, ONE_EIGHTH_TU_TO_USEC(next_beacon)); in ar9300_beacon_init()
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()
91 OS_REG_WRITE(ah, AR_NEXT_TBTT_TIMER, TU_TO_USEC(bs->bs_nexttbtt)); in ar9300_set_sta_beacon_timers()
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()
165 OS_REG_WRITE(ah, AR_NEXT_DTIM, TU_TO_USEC(bs->bs_nextdtim - SLEEP_SLOP)); in ar9300_set_sta_beacon_timers()
[all …]
H A Dar9300_recv.c49 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()
202 OS_REG_WRITE(ah, AR_MCAST_FIL0, filter0); in ar9300_set_multicast_filter()
203 OS_REG_WRITE(ah, AR_MCAST_FIL1, filter1); in ar9300_set_multicast_filter()
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()
[all …]
H A Dar9300_misc.c129 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssid_mask)); in ar9300_set_bss_id_mask()
130 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssid_mask + 4)); in ar9300_set_bss_id_mask()
300 OS_REG_WRITE(ah, AR_BSS_ID0, LE_READ_4(ahp->ah_bssid)); in ar9300_write_associd()
301 OS_REG_WRITE(ah, AR_BSS_ID1, LE_READ_2(ahp->ah_bssid + 4) | in ar9300_write_associd()
322 OS_REG_WRITE(ah, AR_TSF_L32, (tsf & 0xffffffff)); in ar9300_set_tsf64()
323 OS_REG_WRITE(ah, AR_TSF_U32, ((tsf >> 32) & 0xffffffff)); in ar9300_set_tsf64()
359 OS_REG_WRITE(ah, AR_RESET_TSF, AR_RESET_TSF_ONCE); in ar9300_reset_tsf()
392 OS_REG_WRITE(ah, AR_STA_ID1, reg | AR_STA_ID1_BASE_RATE_11B); in ar9300_set_basic_rate()
394 OS_REG_WRITE(ah, AR_STA_ID1, reg &~ AR_STA_ID1_BASE_RATE_11B); in ar9300_set_basic_rate()
523 OS_REG_WRITE(ah, AR_DEF_ANTENNA, (antenna & 0x7)); in ar9300_set_def_antenna()
[all …]
H A Dar9300_interrupts.c103 OS_REG_WRITE(ah, AR_ISR, AR_ISR_HP_RXOK); in ar9300_get_pending_interrupts()
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()
395 OS_REG_WRITE(ah, AR_MCI_INTERRUPT_RX_MSG_RAW, in ar9300_get_pending_interrupts()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_misc.c46 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()
115 OS_REG_WRITE(ah, AR_TSF_PARM, 61); /* 32 KHz TSF incr */ in ar5312SetupClock()
118 OS_REG_WRITE(ah, AR_TSF_PARM, 1); /* 32 MHz TSF incr */ in ar5312SetupClock()
122 OS_REG_WRITE(ah, AR_PHY_SLEEP_CTR_CONTROL, 0x1f); in ar5312SetupClock()
[all …]
H A Dar5312_reset.c71 OS_REG_WRITE(ah, reg, V(i, 1)); in write_common()
227 OS_REG_WRITE(ah, AR_PHY(0), 0x00000007); in ar5312Reset()
242 OS_REG_WRITE(ah, AR_PHY_ADC_CTL, in ar5312Reset()
256 OS_REG_WRITE(ah, AR_PHY_TXPWRADJ, in ar5312Reset()
260 OS_REG_WRITE(ah, AR_PHY_TXPWRADJ, 0); in ar5312Reset()
270 OS_REG_WRITE(ah, AR_SEQ_MASK, 0x0000000F); in ar5312Reset()
275 OS_REG_WRITE(ah, AR_PHY_BLUETOOTH, 0); in ar5312Reset()
288 OS_REG_WRITE(ah, AR_PHY_SIGMA_DELTA, in ar5312Reset()
302 OS_REG_WRITE(ah, AR_PHY_SLEEP_SCAL, 0x04); in ar5312Reset()
309 OS_REG_WRITE(ah, AR_PHY_SLEEP_SCAL, 0x0e); in ar5312Reset()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_keycache.c78 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()
83 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), AR_KEYTABLE_TYPE_CLR); 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()
[all …]
H A Dar5212_beacon.c57 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt & 0xffff); in ar5212SetBeaconTimers()
58 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba & 0x7ffff); in ar5212SetBeaconTimers()
59 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba & 0x1ffffff); in ar5212SetBeaconTimers()
61 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim & 0xffff); in ar5212SetBeaconTimers()
75 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_RESET_TSF); in ar5212SetBeaconTimers()
77 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); in ar5212SetBeaconTimers()
131 OS_REG_WRITE(ah, AR_TIMER0, 0); /* no beacons */ in ar5212ResetStaBeaconTimers()
135 OS_REG_WRITE(ah, AR_STA_ID1, in ar5212ResetStaBeaconTimers()
137 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_PERIOD); in ar5212ResetStaBeaconTimers()
155 OS_REG_WRITE(ah, AR_STA_ID1, in ar5212SetStaBeaconTimers()
[all …]
H A Dar5212_recv.c48 OS_REG_WRITE(ah, AR_RXDP, rxdp); in ar5212SetRxDP()
58 OS_REG_WRITE(ah, AR_CR, AR_CR_RXE); in ar5212EnableReceive()
68 OS_REG_WRITE(ah, AR_CR, AR_CR_RXD); /* Set receive disable bit */ in ar5212StopDmaReceive()
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()
135 OS_REG_WRITE(ah, AR_MCAST_FIL1, (val &~ (1<<(ix-32)))); in ar5212ClrMulticastFilterIndex()
138 OS_REG_WRITE(ah, AR_MCAST_FIL0, (val &~ (1<<ix))); in ar5212ClrMulticastFilterIndex()
155 OS_REG_WRITE(ah, AR_MCAST_FIL1, (val | (1<<(ix-32)))); in ar5212SetMulticastFilterIndex()
[all …]
H A Dar5212_misc.c68 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask)); in ar5212SetBssIdMask()
69 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssidmask + 4)); in ar5212SetBssIdMask()
207 OS_REG_WRITE(ah, AR_PCICFG, bits); in ar5212SetLedState()
224 OS_REG_WRITE(ah, AR_BSS_ID0, LE_READ_4(ahp->ah_bssid)); in ar5212WriteAssocid()
225 OS_REG_WRITE(ah, AR_BSS_ID1, LE_READ_2(ahp->ah_bssid+4) | in ar5212WriteAssocid()
269 OS_REG_WRITE(ah, AR_TSF_L32, tsf64 & 0xffffffff); in ar5212SetTsf64()
270 OS_REG_WRITE(ah, AR_TSF_U32, (tsf64 >> 32) & 0xffffffff); in ar5212SetTsf64()
282 OS_REG_WRITE(ah, AR_BEACON, val | AR_BEACON_RESET_TSF); in ar5212ResetTsf()
290 OS_REG_WRITE(ah, AR_BEACON, val | AR_BEACON_RESET_TSF); in ar5212ResetTsf()
321 OS_REG_WRITE(ah, AR_STA_ID1, reg | AR_STA_ID1_BASE_RATE_11B); in ar5212SetBasicRate()
[all …]
H A Dar5212_reset.c87 OS_REG_WRITE(ah, reg, V(r, 1)); in write_common()
297 OS_REG_WRITE(ah, AR_PHY(0), 0x00000007); in ar5212Reset()
308 OS_REG_WRITE(ah, AR_RXCFG, 0); in ar5212Reset()
329 OS_REG_WRITE(ah, AR_PHY_ADC_CTL, in ar5212Reset()
346 OS_REG_WRITE(ah, AR_PHY_TXPWRADJ, in ar5212Reset()
352 OS_REG_WRITE(ah, AR_PHY_TXPWRADJ, 0); in ar5212Reset()
362 OS_REG_WRITE(ah, AR_SEQ_MASK, 0x0000000F); in ar5212Reset()
367 OS_REG_WRITE(ah, AR_PHY_BLUETOOTH, 0); in ar5212Reset()
379 OS_REG_WRITE(ah, AR_PHY_SLEEP_SCAL, 0x0e); in ar5212Reset()
387 OS_REG_WRITE(ah, AR_PHY_FAST_ADC, newReg); in ar5212Reset()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c126 OS_REG_WRITE(ah, AR_STA_ID0, LE_READ_4(ahp->ah_macaddr)); in ar5210Reset()
127 OS_REG_WRITE(ah, AR_STA_ID1, LE_READ_2(ahp->ah_macaddr + 4)); in ar5210Reset()
132 OS_REG_WRITE(ah, AR_BCR, INIT_BCON_CNTRL_REG); in ar5210Reset()
133 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset()
137 OS_REG_WRITE(ah, AR_BCR, INIT_BCON_CNTRL_REG | AR_BCR_BCMD); in ar5210Reset()
138 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset()
142 OS_REG_WRITE(ah, AR_BCR, INIT_BCON_CNTRL_REG); in ar5210Reset()
143 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset()
147 OS_REG_WRITE(ah, AR_BCR, INIT_BCON_CNTRL_REG); in ar5210Reset()
148 OS_REG_WRITE(ah, AR_PCICFG, in ar5210Reset()
[all …]
H A Dar5210_keycache.c60 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()
97 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), macLo); in ar5210SetKeyCacheEntryMac()
98 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), in ar5210SetKeyCacheEntryMac()
[all …]
H A Dar5210_beacon.c47 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()
98 OS_REG_WRITE(ah, AR_TIMER0, 0); /* no beacons */ in ar5210ResetStaBeaconTimers()
102 OS_REG_WRITE(ah, AR_STA_ID1, in ar5210ResetStaBeaconTimers()
104 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_PERIOD); in ar5210ResetStaBeaconTimers()
126 OS_REG_WRITE(ah, AR_STA_ID1, in ar5210SetStaBeaconTimers()
131 OS_REG_WRITE(ah, AR_CFP_PERIOD, bs->bs_cfpperiod); in ar5210SetStaBeaconTimers()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_beacon.c50 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()
107 OS_REG_WRITE(ah, AR_TIMER0, 0); /* no beacons */ in ar5211ResetStaBeaconTimers()
111 OS_REG_WRITE(ah, AR_STA_ID1, in ar5211ResetStaBeaconTimers()
113 OS_REG_WRITE(ah, AR_BEACON, AR_BEACON_PERIOD); in ar5211ResetStaBeaconTimers()
132 OS_REG_WRITE(ah, AR_STA_ID1, in ar5211SetStaBeaconTimers()
136 OS_REG_WRITE(ah, AR_CFP_PERIOD, bs->bs_cfpperiod); in ar5211SetStaBeaconTimers()
[all …]
H A Dar5211_keycache.c64 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()
107 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), macHi | AR_KEYTABLE_VALID); in ar5211SetKeyCacheEntryMac()
[all …]
H A Dar5211_recv.c48 OS_REG_WRITE(ah, AR_RXDP, rxdp); in ar5211SetRxDP()
58 OS_REG_WRITE(ah, AR_CR, AR_CR_RXE); in ar5211EnableReceive()
67 OS_REG_WRITE(ah, AR_CR, AR_CR_RXD); /* Set receive disable bit */ in ar5211StopDmaReceive()
89 OS_REG_WRITE(ah, AR_DIAG_SW, in ar5211StartPcuReceive()
99 OS_REG_WRITE(ah, AR_DIAG_SW, in ar5211StopPcuReceive()
110 OS_REG_WRITE(ah, AR_MCAST_FIL0, filter0); in ar5211SetMulticastFilter()
111 OS_REG_WRITE(ah, AR_MCAST_FIL1, filter1); in ar5211SetMulticastFilter()
126 OS_REG_WRITE(ah, AR_MCAST_FIL1, (val &~ (1<<(ix-32)))); in ar5211ClrMulticastFilterIndex()
129 OS_REG_WRITE(ah, AR_MCAST_FIL0, (val &~ (1<<ix))); in ar5211ClrMulticastFilterIndex()
146 OS_REG_WRITE(ah, AR_MCAST_FIL1, (val | (1<<(ix-32)))); in ar5211SetMulticastFilterIndex()
[all …]
H A Dar5211_reset.c284 OS_REG_WRITE(ah, AR_PHY_BASE, 0x00000007); in ar5211Reset()
286 OS_REG_WRITE(ah, AR_PHY_BASE, 0x00000047); in ar5211Reset()
314 OS_REG_WRITE(ah, ar5211Mode2_4[i][0], in ar5211Reset()
323 OS_REG_WRITE(ah, ar5211Modes[i][0], ar5211Modes[i][modesIndex]); in ar5211Reset()
327 OS_REG_WRITE(ah, ar5211BB_RfGain[i][0], ar5211BB_RfGain[i][freqIndex]); in ar5211Reset()
334 OS_REG_WRITE(ah, reg, ar5211Common[i][1]); in ar5211Reset()
348 OS_REG_WRITE(ah, AR_USEC, in ar5211Reset()
352 OS_REG_WRITE(ah, AR5311_QDCLKGATE, 0); in ar5211Reset()
355 OS_REG_WRITE(ah, 0x00009878, 0x00000008); in ar5211Reset()
358 OS_REG_WRITE(ah, AR_DIAG_SW, in ar5211Reset()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_beacon.c51 OS_REG_WRITE(ah, AR_NEXT_TBTT, TU_TO_USEC(bt->bt_nexttbtt)); in ar5416SetBeaconTimers()
52 OS_REG_WRITE(ah, AR_NEXT_DBA, ONE_EIGHTH_TU_TO_USEC(bt->bt_nextdba)); in ar5416SetBeaconTimers()
53 OS_REG_WRITE(ah, AR_NEXT_SWBA, ONE_EIGHTH_TU_TO_USEC(bt->bt_nextswba)); in ar5416SetBeaconTimers()
54 OS_REG_WRITE(ah, AR_NEXT_NDP, TU_TO_USEC(bt->bt_nextatim)); in ar5416SetBeaconTimers()
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()
135 OS_REG_WRITE(ah, AR_NEXT_TBTT, 0); /* no beacons */ in ar5416ResetStaBeaconTimers()
139 OS_REG_WRITE(ah, AR_STA_ID1, in ar5416ResetStaBeaconTimers()
[all …]
H A Dar5416_interrupts.c140 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()
252 OS_REG_WRITE(ah, AR_INTR_SYNC_CAUSE_CLR, sync_cause); in ar5416GetPendingInterrupts()
275 OS_REG_WRITE(ah, AR_IER, AR_IER_DISABLE); in ar5416SetInterrupts()
279 OS_REG_WRITE(ah, AR_INTR_ASYNC_ENABLE, 0); in ar5416SetInterrupts()
[all …]
H A Dar5416_reset.c271 OS_REG_WRITE(ah, AR_STA_ID0, LE_READ_4(ahp->ah_macaddr)); in ar5416Reset()
272 OS_REG_WRITE(ah, AR_STA_ID1, LE_READ_2(ahp->ah_macaddr + 4) in ar5416Reset()
280 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask)); in ar5416Reset()
281 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssidmask + 4)); in ar5416Reset()
285 OS_REG_WRITE(ah, AR_MAC_LED, in ar5416Reset()
288 OS_REG_WRITE(ah, AR_MAC_LED, OS_REG_READ(ah, AR_MAC_LED) | in ar5416Reset()
304 OS_REG_WRITE(ah, AR_DEF_ANTENNA, saveDefAntenna); in ar5416Reset()
307 OS_REG_WRITE(ah, AR_BSS_ID0, LE_READ_4(ahp->ah_bssid)); in ar5416Reset()
308 OS_REG_WRITE(ah, AR_BSS_ID1, LE_READ_2(ahp->ah_bssid + 4) | in ar5416Reset()
312 OS_REG_WRITE(ah, AR_RSSI_THR, ahp->ah_rssiThr); in ar5416Reset()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_btcoex.c66 OS_REG_WRITE(ah, AR_BT_COEX_MODE2, ahp->ah_btCoexMode2); in ar9285BTCoexAntennaDiversity()
69 OS_REG_WRITE(ah, AR_PHY_SWITCH_COM, in ar9285BTCoexAntennaDiversity()
79 OS_REG_WRITE(ah, AR_BT_COEX_MODE2, ahp->ah_btCoexMode2); in ar9285BTCoexAntennaDiversity()
85 OS_REG_WRITE(ah, AR_PHY_SWITCH_COM, in ar9285BTCoexAntennaDiversity()
95 OS_REG_WRITE(ah, AR_BT_COEX_MODE2, ahp->ah_btCoexMode2); in ar9285BTCoexAntennaDiversity()
101 OS_REG_WRITE(ah, AR_PHY_SWITCH_COM, 0); in ar9285BTCoexAntennaDiversity()
118 OS_REG_WRITE(ah, AR_PHY_MULTICHAIN_GAIN_CTL, regVal); in ar9285BTCoexAntennaDiversity()
124 OS_REG_WRITE(ah, AR_PHY_CCK_DETECT, regVal); in ar9285BTCoexAntennaDiversity()

1234