Lines Matching refs:ath5k_hw_bitswap
115 ret = (u16)ath5k_hw_bitswap(srev, 4) + 1; in ath5k_hw_radio_revision()
118 ret = (u16)ath5k_hw_bitswap(((srev & 0xf0) >> 4) | in ath5k_hw_radio_revision()
242 data = ath5k_hw_bitswap(val, num_bits); in ath5k_hw_rfb_op()
266 data = set ? 1 : ath5k_hw_bitswap(data, num_bits); in ath5k_hw_rfb_op()
1153 ath5k_hw_rfb_op(ah, rf_regs, ath5k_hw_bitswap(6, 3), in ath5k_hw_rfregs_init()
1184 athchan = (ath5k_hw_bitswap( in ath5k_hw_rf5110_chan2athchan()
1279 data0 = ((ath5k_hw_bitswap(ath5k_channel_2ghz.a2_flags, 8) & 0xff) in ath5k_hw_rf5111_channel()
1285 data1 = ((ath5k_hw_bitswap(ath5k_channel - 24, 8) & 0xff) << 2) | in ath5k_hw_rf5111_channel()
1289 data1 = ((ath5k_hw_bitswap((ath5k_channel - 24) / 2, 8) & 0xff) in ath5k_hw_rf5111_channel()
1344 data0 = ath5k_hw_bitswap((data0 << 2) & 0xff, 8); in ath5k_hw_rf5112_channel()
1356 data0 = ath5k_hw_bitswap(((c - 4800) / 20 << 2), 8); in ath5k_hw_rf5112_channel()
1357 data2 = ath5k_hw_bitswap(3, 2); in ath5k_hw_rf5112_channel()
1359 data0 = ath5k_hw_bitswap(((c - 4800) / 10 << 1), 8); in ath5k_hw_rf5112_channel()
1360 data2 = ath5k_hw_bitswap(2, 2); in ath5k_hw_rf5112_channel()
1362 data0 = ath5k_hw_bitswap((c - 4800) / 5, 8); in ath5k_hw_rf5112_channel()
1363 data2 = ath5k_hw_bitswap(1, 2); in ath5k_hw_rf5112_channel()
1367 data0 = ath5k_hw_bitswap((10 * (c - 2 - 4800)) / 25 + 1, 8); in ath5k_hw_rf5112_channel()
1368 data2 = ath5k_hw_bitswap(0, 2); in ath5k_hw_rf5112_channel()
1398 data0 = ath5k_hw_bitswap((c - 2272), 8); in ath5k_hw_rf2425_channel()
1403 data0 = ath5k_hw_bitswap(((c - 4800) / 20 << 2), 8); in ath5k_hw_rf2425_channel()
1405 data0 = ath5k_hw_bitswap(((c - 4800) / 10 << 1), 8); in ath5k_hw_rf2425_channel()
1407 data0 = ath5k_hw_bitswap((c - 4800) / 5, 8); in ath5k_hw_rf2425_channel()
1410 data2 = ath5k_hw_bitswap(1, 2); in ath5k_hw_rf2425_channel()
1412 data0 = ath5k_hw_bitswap((10 * (c - 2 - 4800)) / 25 + 1, 8); in ath5k_hw_rf2425_channel()
1413 data2 = ath5k_hw_bitswap(0, 2); in ath5k_hw_rf2425_channel()