Lines Matching defs:power
327 uint8_t power, tmp;
335 power = min(sc->txpow[chan - 1], 31);
337 power = 31;
340 power -= (100 - ic->ic_txpowlimit) / 8;
343 chan, power);
349 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x00040);
355 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x38044);
362 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x00040);
369 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
374 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
381 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
391 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
402 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x00040);
1828 /* read Tx power for all b/g channels */
2481 IEEE80211_C_TXPMGT | /* tx power management */