Searched refs:pd_pwr (Results 1 – 3 of 3) sorted by relevance
708 pd->pd_pwr = calloc(AR5K_EEPROM_N_PWR_POINTS_5111, sizeof(s16)); in ath5k_eeprom_convert_pcal_info_5111()709 if (!pd->pd_pwr) in ath5k_eeprom_convert_pcal_info_5111()718 pd->pd_pwr[point] = 2 * pcinfo->pwr[point]; in ath5k_eeprom_convert_pcal_info_5111()725 chinfo[pier].min_pwr = pd->pd_pwr[0]; in ath5k_eeprom_convert_pcal_info_5111()726 chinfo[pier].max_pwr = pd->pd_pwr[10]; in ath5k_eeprom_convert_pcal_info_5111()883 pd->pd_pwr = calloc(pd->pd_points, sizeof(s16)); in ath5k_eeprom_convert_pcal_info_5112()885 if (!pd->pd_pwr) in ath5k_eeprom_convert_pcal_info_5112()892 pd->pd_pwr[0] = pcinfo->pwr_x0[0]; in ath5k_eeprom_convert_pcal_info_5112()897 pd->pd_pwr[point] = in ath5k_eeprom_convert_pcal_info_5112()907 chinfo[pier].min_pwr = pd->pd_pwr[0]; in ath5k_eeprom_convert_pcal_info_5112()[all …]
2240 table_min[pdg] = min(pdg_L->pd_pwr[0], in ath5k_setup_channel_powertable()2241 pdg_R->pd_pwr[0]) / 2; in ath5k_setup_channel_powertable()2243 table_max[pdg] = max(pdg_L->pd_pwr[pdg_L->pd_points - 1], in ath5k_setup_channel_powertable()2244 pdg_R->pd_pwr[pdg_R->pd_points - 1]) / 2; in ath5k_setup_channel_powertable()2253 table_min[pdg] = min(pdg_L->pd_pwr[0], in ath5k_setup_channel_powertable()2254 pdg_R->pd_pwr[0]); in ath5k_setup_channel_powertable()2257 max(pdg_L->pd_pwr[pdg_L->pd_points - 1], in ath5k_setup_channel_powertable()2258 pdg_R->pd_pwr[pdg_R->pd_points - 1]); in ath5k_setup_channel_powertable()2270 pdg_L->pd_pwr, in ath5k_setup_channel_powertable()2271 pdg_R->pd_pwr); in ath5k_setup_channel_powertable()[all …]
323 s16 *pd_pwr; member