Home
last modified time | relevance | path

Searched refs:pdg (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Dphy.c2633 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local
2643 for (pdg = 0, pdadc_i = 0; pdg < pdcurves; pdg++) { in ath5k_combine_pwr_to_pdadc_curves()
2644 pdadc_tmp = ah->ah_txpower.tmpL[pdg]; in ath5k_combine_pwr_to_pdadc_curves()
2646 if (pdg == pdcurves - 1) in ath5k_combine_pwr_to_pdadc_curves()
2649 gain_boundaries[pdg] = pwr_max[pdg] + 4; in ath5k_combine_pwr_to_pdadc_curves()
2653 gain_boundaries[pdg] = in ath5k_combine_pwr_to_pdadc_curves()
2654 (pwr_max[pdg] + pwr_min[pdg + 1]) / 2; in ath5k_combine_pwr_to_pdadc_curves()
2658 if (gain_boundaries[pdg] > AR5K_TUNE_MAX_TXPOWER) in ath5k_combine_pwr_to_pdadc_curves()
2659 gain_boundaries[pdg] = AR5K_TUNE_MAX_TXPOWER; in ath5k_combine_pwr_to_pdadc_curves()
2663 if (pdg == 0) in ath5k_combine_pwr_to_pdadc_curves()
[all …]
Deeprom.c856 unsigned int pier, pdg, point; in ath5k_eeprom_convert_pcal_info_5112() local
873 for (pdg = 0; pdg < ee->ee_pd_gains[mode]; pdg++) { in ath5k_eeprom_convert_pcal_info_5112()
875 u8 idx = pdgain_idx[pdg]; in ath5k_eeprom_convert_pcal_info_5112()
880 if (pdg == 0) { in ath5k_eeprom_convert_pcal_info_5112()
919 } else if (pdg == 1) { in ath5k_eeprom_convert_pcal_info_5112()
1145 unsigned int pier, pdg, point; in ath5k_eeprom_convert_pcal_info_2413() local
1162 for (pdg = 0; pdg < ee->ee_pd_gains[mode]; pdg++) { in ath5k_eeprom_convert_pcal_info_2413()
1164 u8 idx = pdgain_idx[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
1170 if (pdg == ee->ee_pd_gains[mode] - 1) in ath5k_eeprom_convert_pcal_info_2413()
1191 pd->pd_step[0] = pcinfo->pddac_i[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
[all …]