Lines Matching refs:chinfo
668 struct ath5k_chan_pcal_info *chinfo; in ath5k_eeprom_free_pcal_info() local
675 chinfo = ee->ee_pwr_cal_a; in ath5k_eeprom_free_pcal_info()
680 chinfo = ee->ee_pwr_cal_b; in ath5k_eeprom_free_pcal_info()
685 chinfo = ee->ee_pwr_cal_g; in ath5k_eeprom_free_pcal_info()
692 if (!chinfo[pier].pd_curves) in ath5k_eeprom_free_pcal_info()
697 &chinfo[pier].pd_curves[pdg]; in ath5k_eeprom_free_pcal_info()
703 kfree(chinfo[pier].pd_curves); in ath5k_eeprom_free_pcal_info()
713 struct ath5k_chan_pcal_info *chinfo) in ath5k_eeprom_convert_pcal_info_5111() argument
724 pcinfo = &chinfo[pier].rf5111_info; in ath5k_eeprom_convert_pcal_info_5111()
727 chinfo[pier].pd_curves = in ath5k_eeprom_convert_pcal_info_5111()
732 if (!chinfo[pier].pd_curves) in ath5k_eeprom_convert_pcal_info_5111()
749 pd = &chinfo[pier].pd_curves[idx]; in ath5k_eeprom_convert_pcal_info_5111()
777 chinfo[pier].min_pwr = pd->pd_pwr[0]; in ath5k_eeprom_convert_pcal_info_5111()
778 chinfo[pier].max_pwr = pd->pd_pwr[10]; in ath5k_eeprom_convert_pcal_info_5111()
901 struct ath5k_chan_pcal_info *chinfo) in ath5k_eeprom_convert_pcal_info_5112() argument
911 pcinfo = &chinfo[pier].rf5112_info; in ath5k_eeprom_convert_pcal_info_5112()
914 chinfo[pier].pd_curves = in ath5k_eeprom_convert_pcal_info_5112()
919 if (!chinfo[pier].pd_curves) in ath5k_eeprom_convert_pcal_info_5112()
927 &chinfo[pier].pd_curves[idx]; in ath5k_eeprom_convert_pcal_info_5112()
965 chinfo[pier].min_pwr = pd->pd_pwr[0]; in ath5k_eeprom_convert_pcal_info_5112()
1000 chinfo[pier].min_pwr = pd->pd_pwr[0]; in ath5k_eeprom_convert_pcal_info_5112()
1193 struct ath5k_chan_pcal_info *chinfo) in ath5k_eeprom_convert_pcal_info_2413() argument
1203 pcinfo = &chinfo[pier].rf2413_info; in ath5k_eeprom_convert_pcal_info_2413()
1206 chinfo[pier].pd_curves = in ath5k_eeprom_convert_pcal_info_2413()
1211 if (!chinfo[pier].pd_curves) in ath5k_eeprom_convert_pcal_info_2413()
1219 &chinfo[pier].pd_curves[idx]; in ath5k_eeprom_convert_pcal_info_2413()
1259 chinfo[pier].min_pwr = pd->pd_pwr[0]; in ath5k_eeprom_convert_pcal_info_2413()
1263 chinfo[pier].max_pwr = in ath5k_eeprom_convert_pcal_info_2413()
1281 struct ath5k_chan_pcal_info *chinfo; in ath5k_eeprom_read_pcal_info_2413() local
1312 chinfo = ee->ee_pwr_cal_a; in ath5k_eeprom_read_pcal_info_2413()
1320 chinfo = ee->ee_pwr_cal_b; in ath5k_eeprom_read_pcal_info_2413()
1328 chinfo = ee->ee_pwr_cal_g; in ath5k_eeprom_read_pcal_info_2413()
1335 pcinfo = &chinfo[i].rf2413_info; in ath5k_eeprom_read_pcal_info_2413()
1456 return ath5k_eeprom_convert_pcal_info_2413(ah, mode, chinfo); in ath5k_eeprom_read_pcal_info_2413()