Home
last modified time | relevance | path

Searched refs:modesIndex (Results 1 – 18 of 18) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9287_attach.c390 u_int modesIndex, freqIndex; in ar9287WriteIni() local
398 modesIndex = 3; in ar9287WriteIni()
400 modesIndex = 5; in ar9287WriteIni()
402 modesIndex = 4; in ar9287WriteIni()
407 modesIndex = 2; in ar9287WriteIni()
409 modesIndex = 1; in ar9287WriteIni()
416 regWrites = ath_hal_ini_write(ah, &AH5212(ah)->ah_ini_modes, modesIndex, regWrites); in ar9287WriteIni()
417 regWrites = ath_hal_ini_write(ah, &AH9287(ah)->ah_ini_rxgain, modesIndex, regWrites); in ar9287WriteIni()
418 regWrites = ath_hal_ini_write(ah, &AH9287(ah)->ah_ini_txgain, modesIndex, regWrites); in ar9287WriteIni()
H A Dar9280_attach.c494 u_int modesIndex, freqIndex; in ar9280WriteIni() local
504 modesIndex = 3; in ar9280WriteIni()
506 modesIndex = 5; in ar9280WriteIni()
508 modesIndex = 4; in ar9280WriteIni()
513 modesIndex = 2; in ar9280WriteIni()
515 modesIndex = 1; in ar9280WriteIni()
530 modesIndex, regWrites); in ar9280WriteIni()
532 HALASSERT(modesIndex < ia->cols); in ar9280WriteIni()
535 uint32_t val = HAL_INI_VAL(ia, i, modesIndex); in ar9280WriteIni()
551 modesIndex, regWrites); in ar9280WriteIni()
[all …]
H A Dar9285_attach.c491 u_int modesIndex, freqIndex; in ar9285WriteIni() local
498 modesIndex = 3; in ar9285WriteIni()
500 modesIndex = 5; in ar9285WriteIni()
502 modesIndex = 4; in ar9285WriteIni()
508 modesIndex, regWrites); in ar9285WriteIni()
511 modesIndex, regWrites); in ar9285WriteIni()
H A Dar9287.c46 ar9287WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar9287WriteRegs() argument
175 uint16_t modesIndex, uint16_t *rfXpdGain) in ar9287SetRfRegs() argument
H A Dar9280.c46 ar9280WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar9280WriteRegs() argument
233 uint16_t modesIndex, uint16_t *rfXpdGain) in ar9280SetRfRegs() argument
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5111.c63 ar5111WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar5111WriteRegs() argument
66 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_5111, modesIndex, writes); in ar5111WriteRegs()
219 uint16_t modesIndex, uint16_t *rfXpdGain) in ar5111SetRfRegs() argument
230 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar5111SetRfRegs()
292 rfReg[i] = ar5212Bank0_5111[i][modesIndex]; in ar5111SetRfRegs()
303 HAL_INI_WRITE_ARRAY(ah, ar5212Bank2_5111, modesIndex, regWrites); in ar5111SetRfRegs()
306 HAL_INI_WRITE_ARRAY(ah, ar5212Bank3_5111, modesIndex, regWrites); in ar5111SetRfRegs()
310 rfReg[i] = ar5212Bank6_5111[i][modesIndex]; in ar5111SetRfRegs()
324 rfReg[i] = ar5212Bank7_5111[i][modesIndex]; in ar5111SetRfRegs()
H A Dar2317.c68 ar2317WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar2317WriteRegs() argument
71 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_2317, modesIndex, writes); in ar2317WriteRegs()
144 uint16_t modesIndex, uint16_t *rfXpdGain) in ar2317SetRfRegs() argument
158 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar2317SetRfRegs()
175 RF_BANK_SETUP(priv, 2, modesIndex); in ar2317SetRfRegs()
178 RF_BANK_SETUP(priv, 3, modesIndex); in ar2317SetRfRegs()
181 RF_BANK_SETUP(priv, 6, modesIndex); in ar2317SetRfRegs()
187 RF_BANK_SETUP(priv, 7, modesIndex); in ar2317SetRfRegs()
H A Dar2425.c52 ar2425WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar2425WriteRegs() argument
55 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_2425, modesIndex, writes); in ar2425WriteRegs()
154 uint16_t modesIndex, uint16_t *rfXpdGain) in ar2425SetRfRegs() argument
168 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar2425SetRfRegs()
185 RF_BANK_SETUP(priv, 2, modesIndex); in ar2425SetRfRegs()
188 RF_BANK_SETUP(priv, 3, modesIndex); in ar2425SetRfRegs()
191 RF_BANK_SETUP(priv, 6, modesIndex); in ar2425SetRfRegs()
197 RF_BANK_SETUP(priv, 7, modesIndex); in ar2425SetRfRegs()
H A Dar2413.c64 ar2413WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar2413WriteRegs() argument
67 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_2413, modesIndex, writes); in ar2413WriteRegs()
160 uint16_t modesIndex, uint16_t *rfXpdGain) in ar2413SetRfRegs() argument
174 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar2413SetRfRegs()
191 RF_BANK_SETUP(priv, 2, modesIndex); in ar2413SetRfRegs()
194 RF_BANK_SETUP(priv, 3, modesIndex); in ar2413SetRfRegs()
197 RF_BANK_SETUP(priv, 6, modesIndex); in ar2413SetRfRegs()
203 RF_BANK_SETUP(priv, 7, modesIndex); in ar2413SetRfRegs()
H A Dar2316.c68 ar2316WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar2316WriteRegs() argument
73 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_2316, modesIndex, regWrites); in ar2316WriteRegs()
166 uint16_t modesIndex, uint16_t *rfXpdGain) in ar2316SetRfRegs() argument
180 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar2316SetRfRegs()
197 RF_BANK_SETUP(priv, 2, modesIndex); in ar2316SetRfRegs()
200 RF_BANK_SETUP(priv, 3, modesIndex); in ar2316SetRfRegs()
203 RF_BANK_SETUP(priv, 6, modesIndex); in ar2316SetRfRegs()
209 RF_BANK_SETUP(priv, 7, modesIndex); in ar2316SetRfRegs()
H A Dar5413.c64 ar5413WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar5413WriteRegs() argument
67 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_5413, modesIndex, writes); in ar5413WriteRegs()
159 uint16_t modesIndex, uint16_t *rfXpdGain) in ar5413SetRfRegs() argument
175 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar5413SetRfRegs()
217 RF_BANK_SETUP(priv, 2, modesIndex); in ar5413SetRfRegs()
220 RF_BANK_SETUP(priv, 3, modesIndex); in ar5413SetRfRegs()
223 RF_BANK_SETUP(priv, 6, modesIndex); in ar5413SetRfRegs()
245 RF_BANK_SETUP(priv, 7, modesIndex); in ar5413SetRfRegs()
H A Dar5112.c64 ar5112WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar5112WriteRegs() argument
67 HAL_INI_WRITE_ARRAY(ah, ar5212Modes_5112, modesIndex, writes); in ar5112WriteRegs()
180 uint16_t modesIndex, uint16_t *rfXpdGain) in ar5112SetRfRegs() argument
200 __func__, chan->ic_freq, chan->ic_flags, modesIndex); in ar5112SetRfRegs()
246 RF_BANK_SETUP(priv, 2, modesIndex); in ar5112SetRfRegs()
249 RF_BANK_SETUP(priv, 3, modesIndex); in ar5112SetRfRegs()
252 RF_BANK_SETUP(priv, 6, modesIndex); in ar5112SetRfRegs()
302 RF_BANK_SETUP(priv, 7, modesIndex); in ar5112SetRfRegs()
H A Dar5212_reset.c133 u_int modesIndex, freqIndex; in ar5212Reset() local
269 modesIndex = 5; in ar5212Reset()
271 modesIndex = 4; in ar5212Reset()
273 modesIndex = 3; in ar5212Reset()
283 modesIndex = 2; in ar5212Reset()
285 modesIndex = 1; in ar5212Reset()
299 regWrites = ath_hal_ini_write(ah, &ahp->ah_ini_modes, modesIndex, 0); in ar5212Reset()
310 ahp->ah_rfHal->writeRegs(ah, modesIndex, freqIndex, regWrites); in ar5212Reset()
398 if (!ahp->ah_rfHal->setRfRegs(ah, chan, modesIndex, rfXpdGain)) { in ar5212Reset()
H A Dar5212.h140 const struct ieee80211_channel *, uint16_t modesIndex,
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_reset.c104 u_int modesIndex, freqIndex; in ar5312Reset() local
217 modesIndex = IEEE80211_IS_CHAN_108G(chan) ? 5 : in ar5312Reset()
221 modesIndex = IEEE80211_IS_CHAN_ST(chan) ? 2 : 1; in ar5312Reset()
229 regWrites = ath_hal_ini_write(ah, &ahp->ah_ini_modes, modesIndex, 0); in ar5312Reset()
232 ahp->ah_rfHal->writeRegs(ah, modesIndex, freqIndex, regWrites); in ar5312Reset()
320 if (!ahp->ah_rfHal->setRfRegs(ah, chan, modesIndex, rfXpdGain)) { in ar5312Reset()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c585 u_int modesIndex, freqIndex; in ar5416WriteIni() local
593 modesIndex = 3; in ar5416WriteIni()
595 modesIndex = 5; in ar5416WriteIni()
597 modesIndex = 4; in ar5416WriteIni()
602 modesIndex = 2; in ar5416WriteIni()
604 modesIndex = 1; in ar5416WriteIni()
624 modesIndex, regWrites); in ar5416WriteIni()
629 AH5212(ah)->ah_rfHal->writeRegs(ah, modesIndex, freqIndex, regWrites); in ar5416WriteIni()
H A Dar2133.c53 ar2133WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, in ar2133WriteRegs() argument
258 uint16_t modesIndex, uint16_t *rfXpdGain) in ar2133SetRfRegs() argument
275 ath_hal_ini_bank_setup(priv->Bank3Data, &AH5416(ah)->ah_ini_bank3, modesIndex); in ar2133SetRfRegs()
278 ath_hal_ini_bank_setup(priv->Bank6Data, &AH5416(ah)->ah_ini_bank6, modesIndex); in ar2133SetRfRegs()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c171 uint16_t modesIndex = 0, freqIndex = 0; in ar5211Reset() local
259 modesIndex = 2; in ar5211Reset()
261 modesIndex = 1; in ar5211Reset()
271 modesIndex = 3; in ar5211Reset()
273 modesIndex = 4; in ar5211Reset()
323 OS_REG_WRITE(ah, ar5211Modes[i][0], ar5211Modes[i][modesIndex]); in ar5211Reset()