Lines Matching refs:table_min
2881 ath5k_fill_pwr_to_pcdac_table(struct ath5k_hw *ah, s16* table_min, in ath5k_fill_pwr_to_pcdac_table() argument
2890 min_pwr = table_min[0]; in ath5k_fill_pwr_to_pcdac_table()
2894 pcdac_n = pcdac_tmp[table_max[0] - table_min[0]]; in ath5k_fill_pwr_to_pcdac_table()
2931 ath5k_combine_linear_pcdac_curves(struct ath5k_hw *ah, s16* table_min, in ath5k_combine_linear_pcdac_curves() argument
2958 mid_pwr_idx = table_max[1] - table_min[1] - 1; in ath5k_combine_linear_pcdac_curves()
2959 max_pwr_idx = (table_max[0] - table_min[0]) / 2; in ath5k_combine_linear_pcdac_curves()
2964 if (table_max[0] - table_min[1] > 126) in ath5k_combine_linear_pcdac_curves()
2967 min_pwr_idx = table_min[1]; in ath5k_combine_linear_pcdac_curves()
2977 min_pwr_idx = table_min[0]; in ath5k_combine_linear_pcdac_curves()
2978 max_pwr_idx = (table_max[0] - table_min[0]) / 2; in ath5k_combine_linear_pcdac_curves()
2993 (2 * pwr <= (table_max[1] - table_min[0]) || pwr == 0)) { in ath5k_combine_linear_pcdac_curves()
3283 s16 table_min[AR5K_EEPROM_N_PD_GAINS]; in ath5k_setup_channel_powertable() local
3319 table_min[pdg] = min(pdg_L->pd_pwr[0], in ath5k_setup_channel_powertable()
3332 table_min[pdg] = min(pdg_L->pd_pwr[0], in ath5k_setup_channel_powertable()
3346 table_min[pdg] = in ath5k_setup_channel_powertable()
3356 if (table_max[pdg] - table_min[pdg] > 126) in ath5k_setup_channel_powertable()
3357 table_min[pdg] = table_max[pdg] - 126; in ath5k_setup_channel_powertable()
3364 ath5k_create_power_curve(table_min[pdg], in ath5k_setup_channel_powertable()
3376 ath5k_create_power_curve(table_min[pdg], in ath5k_setup_channel_powertable()
3391 for (i = 0; (i < (u16) (table_max[pdg] - table_min[pdg])) && in ath5k_setup_channel_powertable()
3428 ath5k_combine_linear_pcdac_curves(ah, table_min, table_max, in ath5k_setup_channel_powertable()
3439 ath5k_fill_pwr_to_pcdac_table(ah, table_min, table_max); in ath5k_setup_channel_powertable()
3448 ath5k_combine_pwr_to_pdadc_curves(ah, table_min, table_max, in ath5k_setup_channel_powertable()
3453 ah->ah_txpower.txp_offset = table_min[0]; in ath5k_setup_channel_powertable()