Searched refs:pdg (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 3084 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local 3094 for (pdg = 0, pdadc_i = 0; pdg < pdcurves; pdg++) { in ath5k_combine_pwr_to_pdadc_curves() 3095 pdadc_tmp = ah->ah_txpower.tmpL[pdg]; in ath5k_combine_pwr_to_pdadc_curves() 3097 if (pdg == pdcurves - 1) in ath5k_combine_pwr_to_pdadc_curves() 3100 gain_boundaries[pdg] = pwr_max[pdg] + 4; in ath5k_combine_pwr_to_pdadc_curves() 3104 gain_boundaries[pdg] = in ath5k_combine_pwr_to_pdadc_curves() 3105 (pwr_max[pdg] + pwr_min[pdg + 1]) / 2; in ath5k_combine_pwr_to_pdadc_curves() 3109 if (gain_boundaries[pdg] > AR5K_TUNE_MAX_TXPOWER) in ath5k_combine_pwr_to_pdadc_curves() 3110 gain_boundaries[pdg] = AR5K_TUNE_MAX_TXPOWER; in ath5k_combine_pwr_to_pdadc_curves() 3114 if (pdg == 0) in ath5k_combine_pwr_to_pdadc_curves() [all …]
|
D | eeprom.c | 671 u8 pier, pdg; in ath5k_eeprom_free_pcal_info() local 697 for (pdg = 0; pdg < AR5K_EEPROM_N_PD_CURVES; pdg++) { in ath5k_eeprom_free_pcal_info() 699 &chinfo[pier].pd_curves[pdg]; in ath5k_eeprom_free_pcal_info() 911 unsigned int pier, pdg, point; in ath5k_eeprom_convert_pcal_info_5112() local 928 for (pdg = 0; pdg < ee->ee_pd_gains[mode]; pdg++) { in ath5k_eeprom_convert_pcal_info_5112() 930 u8 idx = pdgain_idx[pdg]; in ath5k_eeprom_convert_pcal_info_5112() 935 if (pdg == 0) { in ath5k_eeprom_convert_pcal_info_5112() 973 } else if (pdg == 1) { in ath5k_eeprom_convert_pcal_info_5112() 1203 unsigned int pier, pdg, point; in ath5k_eeprom_convert_pcal_info_2413() local 1220 for (pdg = 0; pdg < ee->ee_pd_gains[mode]; pdg++) { in ath5k_eeprom_convert_pcal_info_2413() [all …]
|