Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c109 tmp_reg = ath_hal_reverseBits(new_bias, 3); in ar2133ForceBias()
157 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2133SetChannel()
190 channelSel = ath_hal_reverseBits( in ar2133SetChannel()
193 aModeRefSel = ath_hal_reverseBits(0, 2); in ar2133SetChannel()
196 channelSel = ath_hal_reverseBits(((freq - 4800) / 20 << 2), 8); in ar2133SetChannel()
198 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2133SetChannel()
200 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2133SetChannel()
204 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2133SetChannel()
206 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2133SetChannel()
208 channelSel = ath_hal_reverseBits((freq - 4800) / 5, 8); in ar2133SetChannel()
[all …]
H A Dar5416_attach.c293 return ath_hal_reverseBits(val, 8); in ar5416GetRadioRev()
/freebsd-13.1/sys/dev/ath/ath_hal/ar5212/
H A Dar5413.c107 channelSel = ath_hal_reverseBits(channelSel, 8); in ar5413SetChannel()
120 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
122 aModeRefSel = ath_hal_reverseBits(0, 2); in ar5413SetChannel()
124 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
126 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5413SetChannel()
128 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
130 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5413SetChannel()
132 channelSel = ath_hal_reverseBits( in ar5413SetChannel()
134 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5413SetChannel()
238 ar5212ModifyRfBuffer(priv->Bank6Data, ath_hal_reverseBits(6, 3), in ar5413SetRfRegs()
H A Dar2413.c107 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2413SetChannel()
120 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
122 aModeRefSel = ath_hal_reverseBits(0, 2); in ar2413SetChannel()
124 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
126 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2413SetChannel()
128 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
130 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2413SetChannel()
132 channelSel = ath_hal_reverseBits( in ar2413SetChannel()
134 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2413SetChannel()
H A Dar2425.c101 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2425SetChannel()
115 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
117 aModeRefSel = ath_hal_reverseBits(0, 2); in ar2425SetChannel()
119 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
121 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2425SetChannel()
123 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
125 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2425SetChannel()
127 channelSel = ath_hal_reverseBits( in ar2425SetChannel()
129 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2425SetChannel()
H A Dar5112.c107 channelSel = ath_hal_reverseBits(channelSel, 8); in ar5112SetChannel()
120 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
122 aModeRefSel = ath_hal_reverseBits(0, 2); in ar5112SetChannel()
124 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
126 aModeRefSel = ath_hal_reverseBits(3, 2); in ar5112SetChannel()
128 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
130 aModeRefSel = ath_hal_reverseBits(2, 2); in ar5112SetChannel()
132 channelSel = ath_hal_reverseBits( in ar5112SetChannel()
134 aModeRefSel = ath_hal_reverseBits(1, 2); in ar5112SetChannel()
H A Dar2317.c97 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2317SetChannel()
109 channelSel = ath_hal_reverseBits( in ar2317SetChannel()
111 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2317SetChannel()
113 channelSel = ath_hal_reverseBits( in ar2317SetChannel()
115 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2317SetChannel()
117 channelSel = ath_hal_reverseBits( in ar2317SetChannel()
119 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2317SetChannel()
H A Dar2316.c120 channelSel = ath_hal_reverseBits(channelSel, 8); in ar2316SetChannel()
132 channelSel = ath_hal_reverseBits( in ar2316SetChannel()
134 aModeRefSel = ath_hal_reverseBits(3, 2); in ar2316SetChannel()
136 channelSel = ath_hal_reverseBits( in ar2316SetChannel()
138 aModeRefSel = ath_hal_reverseBits(2, 2); in ar2316SetChannel()
140 channelSel = ath_hal_reverseBits( in ar2316SetChannel()
142 aModeRefSel = ath_hal_reverseBits(1, 2); in ar2316SetChannel()
H A Dar5111.c154 data2111 = ((ath_hal_reverseBits(ci->channelSelect, 8) & 0xff) in ar5111SetChannel()
174 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xff; in ar5111SetChannel()
177 reg32 = ath_hal_reverseBits(((chan5111 - 24)/2), 8) & 0xff; in ar5111SetChannel()
H A Dar5212_rfgain.c120 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.c2685 tmp32 = ath_hal_reverseBits(reg32, numBits); in ar5212ModifyRfBuffer()
/freebsd-13.1/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c878 cp[i] = ath_hal_reverseBits(cp[i], 5); in ar5210SetTransmitPower()
880 cp[i] = ath_hal_reverseBits(cp[i], 6); in ar5210SetTransmitPower()
900 pwr_regs[8] |= (ath_hal_reverseBits(cp[15], 3) << 7) & 0x80; in ar5210SetTransmitPower()
901 pwr_regs[9] |= (ath_hal_reverseBits(cp[15], 3) >> 1) & 0x03; in ar5210SetTransmitPower()
904 pwr_regs[9] |= (ath_hal_reverseBits(cp[16], 3) << 2) & 0x1C; in ar5210SetTransmitPower()
929 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-13.1/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c305 ob2GHz = ath_hal_reverseBits(ob2GHz, 3); in ar5211Reset()
306 db2GHz = ath_hal_reverseBits(db2GHz, 3); in ar5211Reset()
797 data2111 = ((ath_hal_reverseBits(ci->channelSelect, 8) & 0xff) in ar5211SetChannel()
808 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xFF; in ar5211SetChannel()
811 reg32 = ath_hal_reverseBits(((chan5111 - 24) / 2), 8) & 0xFF; in ar5211SetChannel()
1111 (((ath_hal_reverseBits(rfXpdGain, 4) << 7) | (rfPwdXpd << 6)) & 0xC0); in ar5211SetRf6and7()
1113 ((ath_hal_reverseBits(rfXpdGain, 4) >> 1) & 0x07); in ar5211SetRf6and7()
1117 ((ath_hal_reverseBits(tempOB, 3) << 7) & 0x80); in ar5211SetRf6and7()
1119 ((ath_hal_reverseBits(tempOB, 3) >> 1) & 0x03); in ar5211SetRf6and7()
1123 ((ath_hal_reverseBits(tempDB, 3) << 2) & 0x1C); in ar5211SetRf6and7()
H A Dar5211_attach.c200 return ath_hal_reverseBits(val, 8); in ar5211GetRadioRev()
/freebsd-13.1/sys/dev/ath/ath_hal/
H A Dah_internal.h623 extern uint32_t ath_hal_reverseBits(uint32_t val, uint32_t n);
H A Dah.c333 ath_hal_reverseBits(uint32_t val, uint32_t n) in ath_hal_reverseBits() function