Lines Matching refs:table_max
2875 s16 *table_max) in ath5k_fill_pwr_to_pcdac_table() argument
2886 max_pwr = table_max[0]; in ath5k_fill_pwr_to_pcdac_table()
2887 pcdac_n = pcdac_tmp[table_max[0] - table_min[0]]; in ath5k_fill_pwr_to_pcdac_table()
2925 s16 *table_max, u8 pdcurves) in ath5k_combine_linear_pcdac_curves() argument
2951 mid_pwr_idx = table_max[1] - table_min[1] - 1; in ath5k_combine_linear_pcdac_curves()
2952 max_pwr_idx = (table_max[0] - table_min[0]) / 2; in ath5k_combine_linear_pcdac_curves()
2957 if (table_max[0] - table_min[1] > 126) in ath5k_combine_linear_pcdac_curves()
2958 min_pwr_idx = table_max[0] - 126; in ath5k_combine_linear_pcdac_curves()
2971 max_pwr_idx = (table_max[0] - table_min[0]) / 2; in ath5k_combine_linear_pcdac_curves()
2986 (2 * pwr <= (table_max[1] - table_min[0]) || pwr == 0)) { in ath5k_combine_linear_pcdac_curves()
3271 s16 table_max[AR5K_EEPROM_N_PD_GAINS]; in ath5k_setup_channel_powertable() local
3309 table_max[pdg] = max(pdg_L->pd_pwr[pdg_L->pd_points - 1], in ath5k_setup_channel_powertable()
3322 table_max[pdg] = in ath5k_setup_channel_powertable()
3343 if (table_max[pdg] - table_min[pdg] > 126) in ath5k_setup_channel_powertable()
3344 table_min[pdg] = table_max[pdg] - 126; in ath5k_setup_channel_powertable()
3352 table_max[pdg], in ath5k_setup_channel_powertable()
3364 table_max[pdg], in ath5k_setup_channel_powertable()
3378 for (i = 0; (i < (u16) (table_max[pdg] - table_min[pdg])) && in ath5k_setup_channel_powertable()
3415 ath5k_combine_linear_pcdac_curves(ah, table_min, table_max, in ath5k_setup_channel_powertable()
3421 ah->ah_txpower.txp_offset = 64 - (table_max[0] / 2); in ath5k_setup_channel_powertable()
3426 ath5k_fill_pwr_to_pcdac_table(ah, table_min, table_max); in ath5k_setup_channel_powertable()
3435 ath5k_combine_pwr_to_pdadc_curves(ah, table_min, table_max, in ath5k_setup_channel_powertable()