Lines Matching defs:power
2105 uint8_t power, tmp;
2112 power = min(sc->txpow[chan - 1], 31);
2114 power = 31;
2117 power -= (100 - ic->ic_txpowlimit) / 8;
2119 DPRINTFN(sc, 2, "setting channel to %u, txpower to %u\n", chan, power);
2125 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x00040);
2131 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x38044);
2138 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x00040);
2145 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
2150 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
2157 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
2167 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x18044);
2177 rt2560_rf_write(sc, RAL_RF3, power << 7 | 0x00040);
2495 /* read Tx power for all b/g channels */