Lines Matching refs:txpow1

1736 		sc->txpow1[i + 0] = (int8_t)(val & 0xff);  in run_rt3593_get_txpower()
1737 sc->txpow1[i + 1] = (int8_t)(val >> 8); in run_rt3593_get_txpower()
1754 if (sc->txpow1[i] > 31) in run_rt3593_get_txpower()
1755 sc->txpow1[i] = 5; in run_rt3593_get_txpower()
1766 sc->txpow1[i + 14] = (int8_t)(val & 0xff); in run_rt3593_get_txpower()
1767 sc->txpow1[i + 15] = (int8_t)(val >> 8); in run_rt3593_get_txpower()
1791 sc->txpow1[i + 0] = (int8_t)(val & 0xff); in run_get_txpower()
1792 sc->txpow1[i + 1] = (int8_t)(val >> 8); in run_get_txpower()
1804 if (sc->txpow1[i] < 0 || sc->txpow1[i] > 39) in run_get_txpower()
1805 sc->txpow1[i] = 5; in run_get_txpower()
1807 if (sc->txpow1[i] < 0 || sc->txpow1[i] > 31) in run_get_txpower()
1808 sc->txpow1[i] = 5; in run_get_txpower()
1819 rt2860_rf2850[i].chan, sc->txpow1[i], sc->txpow2[i]); in run_get_txpower()
1824 sc->txpow1[i + 14] = (int8_t)(val & 0xff); in run_get_txpower()
1825 sc->txpow1[i + 15] = (int8_t)(val >> 8); in run_get_txpower()
1834 if (sc->txpow1[14 + i] < -7 || sc->txpow1[14 + i] > 15) in run_get_txpower()
1835 sc->txpow1[14 + i] = 5; in run_get_txpower()
1841 rt2860_rf2850[14 + i].chan, sc->txpow1[14 + i], in run_get_txpower()
4159 int8_t txpow1, txpow2; in run_rt2870_set_chan() local
4174 txpow1 = sc->txpow1[i]; in run_rt2870_set_chan()
4181 if (txpow1 >= 0) { in run_rt2870_set_chan()
4182 txpow1 = (txpow1 > 0xf) ? (0xf) : (txpow1); in run_rt2870_set_chan()
4183 r3 |= (txpow1 << 10) | (1 << 9); in run_rt2870_set_chan()
4185 txpow1 += 7; in run_rt2870_set_chan()
4188 r3 |= (txpow1 << 10); in run_rt2870_set_chan()
4199 r3 |= (txpow1 << 9); in run_rt2870_set_chan()
4228 int8_t txpow1, txpow2; in run_rt3070_set_chan() local
4236 txpow1 = sc->txpow1[i]; in run_rt3070_set_chan()
4252 rf = (rf & ~0x1f) | txpow1; in run_rt3070_set_chan()
4293 int8_t txpow1, txpow2; in run_rt3572_set_chan() local
4302 txpow1 = sc->txpow1[i]; in run_rt3572_set_chan()
4329 rf = 0x60 | txpow1; in run_rt3572_set_chan()
4331 rf = 0xe0 | (txpow1 & 0xc) << 1 | (txpow1 & 0x3); in run_rt3572_set_chan()
4443 int8_t txpow1, txpow2, txpow3; in run_rt3593_set_chan() local
4451 txpow1 = sc->txpow1[i]; in run_rt3593_set_chan()
4477 rf = txpow1 & 0x1f; in run_rt3593_set_chan()
4479 rf = 0x40 | ((txpow1 & 0x18) << 1) | (txpow1 & 0x07); in run_rt3593_set_chan()
4603 int8_t txpow1, txpow2; in run_rt5390_set_chan() local
4611 txpow1 = sc->txpow1[i]; in run_rt5390_set_chan()
4621 rf = (rf & ~0x3f) | (txpow1 & 0x3f); in run_rt5390_set_chan()
4716 int8_t txpow1, txpow2; in run_rt5592_set_chan() local
4727 txpow1 = sc->txpow1[i]; in run_rt5592_set_chan()
4810 rf = (rf & ~0x3f) | (txpow1 & 0x3f); in run_rt5592_set_chan()