Lines Matching refs:table_max
2878 s16 *table_max) in ath5k_fill_pwr_to_pcdac_table() argument
2889 max_pwr = table_max[0]; in ath5k_fill_pwr_to_pcdac_table()
2890 pcdac_n = pcdac_tmp[table_max[0] - table_min[0]]; in ath5k_fill_pwr_to_pcdac_table()
2928 s16 *table_max, u8 pdcurves) in ath5k_combine_linear_pcdac_curves() argument
2954 mid_pwr_idx = table_max[1] - table_min[1] - 1; in ath5k_combine_linear_pcdac_curves()
2955 max_pwr_idx = (table_max[0] - table_min[0]) / 2; in ath5k_combine_linear_pcdac_curves()
2960 if (table_max[0] - table_min[1] > 126) in ath5k_combine_linear_pcdac_curves()
2961 min_pwr_idx = table_max[0] - 126; in ath5k_combine_linear_pcdac_curves()
2974 max_pwr_idx = (table_max[0] - table_min[0]) / 2; in ath5k_combine_linear_pcdac_curves()
2989 (2 * pwr <= (table_max[1] - table_min[0]) || pwr == 0)) { in ath5k_combine_linear_pcdac_curves()
3280 s16 table_max[AR5K_EEPROM_N_PD_GAINS]; in ath5k_setup_channel_powertable() local
3318 table_max[pdg] = max(pdg_L->pd_pwr[pdg_L->pd_points - 1], in ath5k_setup_channel_powertable()
3331 table_max[pdg] = in ath5k_setup_channel_powertable()
3352 if (table_max[pdg] - table_min[pdg] > 126) in ath5k_setup_channel_powertable()
3353 table_min[pdg] = table_max[pdg] - 126; in ath5k_setup_channel_powertable()
3361 table_max[pdg], in ath5k_setup_channel_powertable()
3373 table_max[pdg], in ath5k_setup_channel_powertable()
3387 for (i = 0; (i < (u16) (table_max[pdg] - table_min[pdg])) && in ath5k_setup_channel_powertable()
3424 ath5k_combine_linear_pcdac_curves(ah, table_min, table_max, in ath5k_setup_channel_powertable()
3430 ah->ah_txpower.txp_offset = 64 - (table_max[0] / 2); in ath5k_setup_channel_powertable()
3435 ath5k_fill_pwr_to_pcdac_table(ah, table_min, table_max); in ath5k_setup_channel_powertable()
3444 ath5k_combine_pwr_to_pdadc_curves(ah, table_min, table_max, in ath5k_setup_channel_powertable()