Lines Matching refs:maxpwr
2359 sc->maxpwr[chan] = channels[i].maxpwr; in iwn_read_eeprom_channels()
2362 chan, channels[i].flags, sc->maxpwr[chan]); in iwn_read_eeprom_channels()
2371 int8_t maxpwr; in iwn_read_eeprom_enhinfo() local
2384 maxpwr = 0; in iwn_read_eeprom_enhinfo()
2386 maxpwr = MAX(maxpwr, enhinfo[i].chain[0]); in iwn_read_eeprom_enhinfo()
2388 maxpwr = MAX(maxpwr, enhinfo[i].chain[1]); in iwn_read_eeprom_enhinfo()
2390 maxpwr = MAX(maxpwr, enhinfo[i].chain[2]); in iwn_read_eeprom_enhinfo()
2392 maxpwr = MAX(maxpwr, enhinfo[i].mimo2); in iwn_read_eeprom_enhinfo()
2394 maxpwr = MAX(maxpwr, enhinfo[i].mimo3); in iwn_read_eeprom_enhinfo()
2395 maxpwr /= 2; /* Convert half-dBm to dBm. */ in iwn_read_eeprom_enhinfo()
2397 IWN_DBG("enhinfo %d, maxpwr=%d", i, maxpwr); in iwn_read_eeprom_enhinfo()
2398 sc->enh_maxpwr[i] = maxpwr; in iwn_read_eeprom_enhinfo()
4684 int i, c, grp, maxpwr; in iwn4965_set_txpower() local
4697 maxpwr = sc->maxpwr5GHz; in iwn4965_set_txpower()
4701 maxpwr = sc->maxpwr2GHz; in iwn4965_set_txpower()
4760 maxchpwr = sc->maxpwr[chan] * 2; in iwn4965_set_txpower()
4764 pwr = maxpwr; in iwn4965_set_txpower()