Lines Matching refs:pdg
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()
1222 u8 idx = pdgain_idx[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
1228 if (pdg == ee->ee_pd_gains[mode] - 1) in ath5k_eeprom_convert_pcal_info_2413()
1249 pd->pd_step[0] = pcinfo->pddac_i[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
1250 pd->pd_pwr[0] = 4 * pcinfo->pwr_i[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
1255 2 * pcinfo->pwr[pdg][point - 1]; in ath5k_eeprom_convert_pcal_info_2413()
1258 pcinfo->pddac[pdg][point - 1]; in ath5k_eeprom_convert_pcal_info_2413()
1263 if (pdg == 0) in ath5k_eeprom_convert_pcal_info_2413()
1267 if (pdg == ee->ee_pd_gains[mode] - 1) in ath5k_eeprom_convert_pcal_info_2413()