Lines Matching refs:txp
352 struct iwl_eeprom_enhanced_txpwr *txp)
357 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result)
358 result = txp->chain_a_max;
360 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result)
361 result = txp->chain_b_max;
363 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result)
364 result = txp->chain_c_max;
368 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result)
369 result = txp->mimo2_max;
371 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result)
372 result = txp->mimo3_max;
382 ((txp->flags & IWL_EEPROM_ENH_TXP_FL_##x) ? # x " " : "")
386 struct iwl_eeprom_enhanced_txpwr *txp,
392 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ?
399 if (txp->channel != 0 && chan->hw_value != txp->channel)
407 !(txp->flags & IWL_EEPROM_ENH_TXP_FL_40MHZ))
417 struct iwl_eeprom_enhanced_txpwr *txp_array, *txp;
433 txp = &txp_array[idx];
435 if (!(txp->flags & IWL_EEPROM_ENH_TXP_FL_VALID))
439 (txp->channel && (txp->flags &
441 "Common " : (txp->channel) ?
443 (txp->channel),
452 txp->flags);
455 txp->chain_a_max, txp->chain_b_max,
456 txp->chain_c_max);
459 txp->mimo2_max, txp->mimo3_max,
460 ((txp->delta_20_in_40 & 0xf0) >> 4),
461 (txp->delta_20_in_40 & 0x0f));
463 max_txp_avg_halfdbm = iwl_get_max_txpwr_half_dbm(data, txp);
465 iwl_eeprom_enh_txp_read_element(data, txp, n_channels,