Lines Matching refs:txp
298 struct iwl_eeprom_enhanced_txpwr *txp)
303 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result)
304 result = txp->chain_a_max;
306 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result)
307 result = txp->chain_b_max;
309 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result)
310 result = txp->chain_c_max;
314 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result)
315 result = txp->mimo2_max;
317 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result)
318 result = txp->mimo3_max;
328 ((txp->flags & IWL_EEPROM_ENH_TXP_FL_##x) ? # x " " : "")
332 struct iwl_eeprom_enhanced_txpwr *txp,
338 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ?
345 if (txp->channel != 0 && chan->hw_value != txp->channel)
353 !(txp->flags & IWL_EEPROM_ENH_TXP_FL_40MHZ))
363 struct iwl_eeprom_enhanced_txpwr *txp_array, *txp;
379 txp = &txp_array[idx];
381 if (!(txp->flags & IWL_EEPROM_ENH_TXP_FL_VALID))
385 (txp->channel && (txp->flags &
387 "Common " : (txp->channel) ?
389 (txp->channel),
398 txp->flags);
401 txp->chain_a_max, txp->chain_b_max,
402 txp->chain_c_max);
405 txp->mimo2_max, txp->mimo3_max,
406 ((txp->delta_20_in_40 & 0xf0) >> 4),
407 (txp->delta_20_in_40 & 0x0f));
409 max_txp_avg_halfdbm = iwl_get_max_txpwr_half_dbm(data, txp);
411 iwl_eeprom_enh_txp_read_element(data, txp, n_channels,