Lines Matching refs:txpow1
2420 int8_t txpow1, txpow2;
2435 txpow1 = sc->txpow1[i];
2438 if (txpow1 >= 0)
2439 txpow1 = txpow1 << 1 | 1;
2441 txpow1 = (7 + txpow1) << 1;
2447 r3 = rfprog[i].r3 | txpow1 << 7;
2473 int8_t txpow1, txpow2;
2484 txpow1 = sc->txpow1[i];
2497 rf = (rf & ~0x1f) | txpow1;
2539 int8_t txpow1, txpow2;
2549 txpow1 = sc->txpow1[i];
2559 rf = (rf & ~0x3f) | (txpow1 & 0x3f);
3469 sc->txpow1[i + 0] = (int8_t)(val & 0xff);
3470 sc->txpow1[i + 1] = (int8_t)(val >> 8);
3481 if (sc->txpow1[i] < 0 ||
3482 sc->txpow1[i] > ((sc->mac_ver >= 0x5390) ? 39 : 31))
3483 sc->txpow1[i] = 5;
3490 rt2860_rf2850[i].chan, sc->txpow1[i], sc->txpow2[i]));
3496 sc->txpow1[i + 14] = (int8_t)(val & 0xff);
3497 sc->txpow1[i + 15] = (int8_t)(val >> 8);
3506 if (sc->txpow1[14 + i] < -7 || sc->txpow1[14 + i] > 15)
3507 sc->txpow1[14 + i] = 5;
3511 rt2860_rf2850[14 + i].chan, sc->txpow1[14 + i],