| /freebsd-13.1/sys/dev/ath/ath_hal/ar5416/ |
| H A D | ar2133.c | 109 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 D | ar5416_attach.c | 293 return ath_hal_reverseBits(val, 8); in ar5416GetRadioRev()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ar5212/ |
| H A D | ar5413.c | 107 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 D | ar2413.c | 107 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 D | ar2425.c | 101 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 D | ar5112.c | 107 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 D | ar2317.c | 97 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 D | ar2316.c | 120 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 D | ar5111.c | 154 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 D | ar5212_rfgain.c | 120 reg32 = ath_hal_reverseBits(reg32, numBits); in ar5212GetRfField()
|
| H A D | ar5212_attach.c | 194 return ath_hal_reverseBits(val, 8); in ar5212GetRadioRev()
|
| H A D | ar5212_reset.c | 2685 tmp32 = ath_hal_reverseBits(reg32, numBits); in ar5212ModifyRfBuffer()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ar5210/ |
| H A D | ar5210_reset.c | 878 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 D | ar5210_attach.c | 253 AH_PRIVATE(ah)->ah_analog5GhzRev = ath_hal_reverseBits(revid, 4) + 1; in ar5210Attach()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ar5211/ |
| H A D | ar5211_reset.c | 305 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 D | ar5211_attach.c | 200 return ath_hal_reverseBits(val, 8); in ar5211GetRadioRev()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ |
| H A D | ah_internal.h | 623 extern uint32_t ath_hal_reverseBits(uint32_t val, uint32_t n);
|
| H A D | ah.c | 333 ath_hal_reverseBits(uint32_t val, uint32_t n) in ath_hal_reverseBits() function
|