Lines Matching defs:power
437 /* read Tx power for all a/b/g channels */
442 "Channel=%d Tx power=%d\n",
446 "Channel=%d Tx power=%d\n",
2338 int8_t power;
2353 power = sc->txpow[i];
2354 if (power < 0) {
2355 bbp94 += power;
2356 power = 0;
2357 } else if (power > 31) {
2358 bbp94 += power - 31;
2359 power = 31;
2374 rt2661_rf_write(sc, RT2661_RF3, rfprog[i].r3 | power << 7);
2381 rt2661_rf_write(sc, RT2661_RF3, rfprog[i].r3 | power << 7 | 1);
2388 rt2661_rf_write(sc, RT2661_RF3, rfprog[i].r3 | power << 7);