Lines Matching refs:txpow2
1742 sc->txpow2[i + 0] = (int8_t)(val & 0xff); in run_rt3593_get_txpower()
1743 sc->txpow2[i + 1] = (int8_t)(val >> 8); in run_rt3593_get_txpower()
1756 if (sc->txpow2[i] > 31) in run_rt3593_get_txpower()
1757 sc->txpow2[i] = 5; in run_rt3593_get_txpower()
1770 sc->txpow2[i + 14] = (int8_t)(val & 0xff); in run_rt3593_get_txpower()
1771 sc->txpow2[i + 15] = (int8_t)(val >> 8); in run_rt3593_get_txpower()
1797 sc->txpow2[i + 0] = (int8_t)(val & 0xff); in run_get_txpower()
1798 sc->txpow2[i + 1] = (int8_t)(val >> 8); in run_get_txpower()
1811 if (sc->txpow2[i] < 0 || sc->txpow2[i] > 39) in run_get_txpower()
1812 sc->txpow2[i] = 5; in run_get_txpower()
1814 if (sc->txpow2[i] < 0 || sc->txpow2[i] > 31) in run_get_txpower()
1815 sc->txpow2[i] = 5; in run_get_txpower()
1819 rt2860_rf2850[i].chan, sc->txpow1[i], sc->txpow2[i]); in run_get_txpower()
1828 sc->txpow2[i + 14] = (int8_t)(val & 0xff); in run_get_txpower()
1829 sc->txpow2[i + 15] = (int8_t)(val >> 8); in run_get_txpower()
1836 if (sc->txpow2[14 + i] < -7 || sc->txpow2[14 + i] > 15) in run_get_txpower()
1837 sc->txpow2[14 + i] = 5; in run_get_txpower()
1842 sc->txpow2[14 + i]); in run_get_txpower()
4159 int8_t txpow1, txpow2; in run_rt2870_set_chan() local
4175 txpow2 = sc->txpow2[i]; in run_rt2870_set_chan()
4190 if (txpow2 >= 0) { in run_rt2870_set_chan()
4191 txpow2 = (txpow2 > 0xf) ? (0xf) : (txpow2); in run_rt2870_set_chan()
4192 r4 |= (txpow2 << 7) | (1 << 6); in run_rt2870_set_chan()
4194 txpow2 += 7; in run_rt2870_set_chan()
4195 r4 |= (txpow2 << 7); in run_rt2870_set_chan()
4202 r4 |= (txpow2 << 6); in run_rt2870_set_chan()
4228 int8_t txpow1, txpow2; in run_rt3070_set_chan() local
4237 txpow2 = sc->txpow2[i]; in run_rt3070_set_chan()
4257 rf = (rf & ~0x1f) | txpow2; in run_rt3070_set_chan()
4293 int8_t txpow1, txpow2; in run_rt3572_set_chan() local
4303 txpow2 = sc->txpow2[i]; in run_rt3572_set_chan()
4336 rf = 0x60 | txpow2; in run_rt3572_set_chan()
4338 rf = 0xe0 | (txpow2 & 0xc) << 1 | (txpow2 & 0x3); in run_rt3572_set_chan()
4443 int8_t txpow1, txpow2, txpow3; in run_rt3593_set_chan() local
4452 txpow2 = sc->txpow2[i]; in run_rt3593_set_chan()
4483 rf = txpow2 & 0x1f; in run_rt3593_set_chan()
4485 rf = 0x40 | ((txpow2 & 0x18) << 1) | (txpow2 & 0x07); in run_rt3593_set_chan()
4603 int8_t txpow1, txpow2; in run_rt5390_set_chan() local
4612 txpow2 = sc->txpow2[i]; in run_rt5390_set_chan()
4629 rf = (rf & ~0x3f) | (txpow2 & 0x3f); in run_rt5390_set_chan()
4716 int8_t txpow1, txpow2; in run_rt5592_set_chan() local
4728 txpow2 = sc->txpow2[i]; in run_rt5592_set_chan()
4819 rf = (rf & ~0x3f) | (txpow2 & 0x3f); in run_rt5592_set_chan()