Home
last modified time | relevance | path

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

/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c107 tmp_reg = ath_hal_reverseBits(new_bias, 3); in ar2133ForceBias()
155 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2133SetChannel()
188 channelSel = ath_hal_reverseBits( in ar2133SetChannel()
191 aModeRefSel = ath_hal_reverseBits(0, 2); in ar2133SetChannel()
194 channelSel = ath_hal_reverseBits(((freq - 4800) / 20 << 2), 8); in ar2133SetChannel()
196 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2133SetChannel()
198 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2133SetChannel()
202 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2133SetChannel()
204 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2133SetChannel()
206 channelSel = ath_hal_reverseBits((freq - 4800) / 5, 8); in ar2133SetChannel()
[all …]
H A Dar5416_attach.c291 return ath_hal_reverseBits(val, 8); in ar5416GetRadioRev()
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5413.c105 channelSel = ath_hal_reverseBits(channelSel, 8); in ar5413SetChannel()
118 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
120 aModeRefSel = ath_hal_reverseBits(0, 2); in ar5413SetChannel()
122 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
124 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5413SetChannel()
126 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
128 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5413SetChannel()
130 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
132 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5413SetChannel()
236 ar5212ModifyRfBuffer(priv->Bank6Data, ath_hal_reverseBits(6, 3), in ar5413SetRfRegs()
H A Dar2425.c99 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2425SetChannel()
113 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
115 aModeRefSel = ath_hal_reverseBits(0, 2); in ar2425SetChannel()
117 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
119 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2425SetChannel()
121 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
123 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2425SetChannel()
125 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
127 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2425SetChannel()
H A Dar2413.c105 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2413SetChannel()
118 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
120 aModeRefSel = ath_hal_reverseBits(0, 2); in ar2413SetChannel()
122 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
124 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2413SetChannel()
126 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
128 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2413SetChannel()
130 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
132 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2413SetChannel()
H A Dar5112.c105 channelSel = ath_hal_reverseBits(channelSel, 8); in ar5112SetChannel()
118 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
120 aModeRefSel = ath_hal_reverseBits(0, 2); in ar5112SetChannel()
122 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
124 aModeRefSel = ath_hal_reverseBits(3, 2); in ar5112SetChannel()
126 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
128 aModeRefSel = ath_hal_reverseBits(2, 2); in ar5112SetChannel()
130 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
132 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5112SetChannel()
H A Dar2317.c95 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2317SetChannel()
107 channelSel = ath_hal_reverseBits( in ar2317SetChannel()
109 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2317SetChannel()
111 channelSel = ath_hal_reverseBits( in ar2317SetChannel()
113 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2317SetChannel()
115 channelSel = ath_hal_reverseBits( in ar2317SetChannel()
117 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2317SetChannel()
H A Dar2316.c118 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2316SetChannel()
130 channelSel = ath_hal_reverseBits( in ar2316SetChannel()
132 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2316SetChannel()
134 channelSel = ath_hal_reverseBits( in ar2316SetChannel()
136 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2316SetChannel()
138 channelSel = ath_hal_reverseBits( in ar2316SetChannel()
140 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2316SetChannel()
H A Dar5111.c152 data2111 = ((ath_hal_reverseBits(ci->channelSelect, 8) & 0xff) in ar5111SetChannel()
172 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xff; in ar5111SetChannel()
175 reg32 = ath_hal_reverseBits(((chan5111 - 24)/2), 8) & 0xff; in ar5111SetChannel()
H A Dar5212_rfgain.c118 reg32 = ath_hal_reverseBits(reg32, numBits); in ar5212GetRfField()
H A Dar5212_attach.c194 return ath_hal_reverseBits(val, 8); in ar5212GetRadioRev()
H A Dar5212_reset.c2683 tmp32 = ath_hal_reverseBits(reg32, numBits); in ar5212ModifyRfBuffer()
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c876 cp[i] = ath_hal_reverseBits(cp[i], 5); in ar5210SetTransmitPower()
878 cp[i] = ath_hal_reverseBits(cp[i], 6); in ar5210SetTransmitPower()
898 pwr_regs[8] |= (ath_hal_reverseBits(cp[15], 3) << 7) & 0x80; in ar5210SetTransmitPower()
899 pwr_regs[9] |= (ath_hal_reverseBits(cp[15], 3) >> 1) & 0x03; in ar5210SetTransmitPower()
902 pwr_regs[9] |= (ath_hal_reverseBits(cp[16], 3) << 2) & 0x1C; in ar5210SetTransmitPower()
927 data = ath_hal_reverseBits((freq - 5120)/10, 5); in ar5210SetChannel()
H A Dar5210_attach.c253 AH_PRIVATE(ah)->ah_analog5GhzRev = ath_hal_reverseBits(revid, 4) + 1; in ar5210Attach()
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c303 ob2GHz = ath_hal_reverseBits(ob2GHz, 3); in ar5211Reset()
304 db2GHz = ath_hal_reverseBits(db2GHz, 3); in ar5211Reset()
795 data2111 = ((ath_hal_reverseBits(ci->channelSelect, 8) & 0xff) in ar5211SetChannel()
806 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xFF; in ar5211SetChannel()
809 reg32 = ath_hal_reverseBits(((chan5111 - 24) / 2), 8) & 0xFF; in ar5211SetChannel()
1109 (((ath_hal_reverseBits(rfXpdGain, 4) << 7) | (rfPwdXpd << 6)) & 0xC0); in ar5211SetRf6and7()
1111 ((ath_hal_reverseBits(rfXpdGain, 4) >> 1) & 0x07); in ar5211SetRf6and7()
1115 ((ath_hal_reverseBits(tempOB, 3) << 7) & 0x80); in ar5211SetRf6and7()
1117 ((ath_hal_reverseBits(tempOB, 3) >> 1) & 0x03); in ar5211SetRf6and7()
1121 ((ath_hal_reverseBits(tempDB, 3) << 2) & 0x1C); in ar5211SetRf6and7()
H A Dar5211_attach.c200 return ath_hal_reverseBits(val, 8); in ar5211GetRadioRev()
/freebsd/sys/dev/ath/ath_hal/
H A Dah_internal.h621 extern uint32_t ath_hal_reverseBits(uint32_t val, uint32_t n);
H A Dah.c331 ath_hal_reverseBits(uint32_t val, uint32_t n) in ath_hal_reverseBits() function