Lines Matching refs:ath5k_hw_bitswap
114 ret = (u16)ath5k_hw_bitswap(srev, 4) + 1; in ath5k_hw_radio_revision()
117 ret = (u16)ath5k_hw_bitswap(((srev & 0xf0) >> 4) | in ath5k_hw_radio_revision()
241 data = ath5k_hw_bitswap(val, num_bits); in ath5k_hw_rfb_op()
265 data = set ? 1 : ath5k_hw_bitswap(data, num_bits); in ath5k_hw_rfb_op()
1152 ath5k_hw_rfb_op(ah, rf_regs, ath5k_hw_bitswap(6, 3), in ath5k_hw_rfregs_init()
1183 athchan = (ath5k_hw_bitswap( in ath5k_hw_rf5110_chan2athchan()
1278 data0 = ((ath5k_hw_bitswap(ath5k_channel_2ghz.a2_flags, 8) & 0xff) in ath5k_hw_rf5111_channel()
1284 data1 = ((ath5k_hw_bitswap(ath5k_channel - 24, 8) & 0xff) << 2) | in ath5k_hw_rf5111_channel()
1288 data1 = ((ath5k_hw_bitswap((ath5k_channel - 24) / 2, 8) & 0xff) in ath5k_hw_rf5111_channel()
1343 data0 = ath5k_hw_bitswap((data0 << 2) & 0xff, 8); in ath5k_hw_rf5112_channel()
1355 data0 = ath5k_hw_bitswap(((c - 4800) / 20 << 2), 8); in ath5k_hw_rf5112_channel()
1356 data2 = ath5k_hw_bitswap(3, 2); in ath5k_hw_rf5112_channel()
1358 data0 = ath5k_hw_bitswap(((c - 4800) / 10 << 1), 8); in ath5k_hw_rf5112_channel()
1359 data2 = ath5k_hw_bitswap(2, 2); in ath5k_hw_rf5112_channel()
1361 data0 = ath5k_hw_bitswap((c - 4800) / 5, 8); in ath5k_hw_rf5112_channel()
1362 data2 = ath5k_hw_bitswap(1, 2); in ath5k_hw_rf5112_channel()
1366 data0 = ath5k_hw_bitswap((10 * (c - 2 - 4800)) / 25 + 1, 8); in ath5k_hw_rf5112_channel()
1367 data2 = ath5k_hw_bitswap(0, 2); in ath5k_hw_rf5112_channel()
1397 data0 = ath5k_hw_bitswap((c - 2272), 8); in ath5k_hw_rf2425_channel()
1402 data0 = ath5k_hw_bitswap(((c - 4800) / 20 << 2), 8); in ath5k_hw_rf2425_channel()
1404 data0 = ath5k_hw_bitswap(((c - 4800) / 10 << 1), 8); in ath5k_hw_rf2425_channel()
1406 data0 = ath5k_hw_bitswap((c - 4800) / 5, 8); in ath5k_hw_rf2425_channel()
1409 data2 = ath5k_hw_bitswap(1, 2); in ath5k_hw_rf2425_channel()
1411 data0 = ath5k_hw_bitswap((10 * (c - 2 - 4800)) / 25 + 1, 8); in ath5k_hw_rf2425_channel()
1412 data2 = ath5k_hw_bitswap(0, 2); in ath5k_hw_rf2425_channel()