Home
last modified time | relevance | path

Searched refs:pdadc_i (Results 1 – 1 of 1) sorted by relevance

/drivers/net/wireless/ath/ath5k/
Dphy.c3084 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local
3094 for (pdg = 0, pdadc_i = 0; pdg < pdcurves; pdg++) { in ath5k_combine_pwr_to_pdadc_curves()
3129 while ((pdadc_0 < 0) && (pdadc_i < 128)) { in ath5k_combine_pwr_to_pdadc_curves()
3131 pdadc_out[pdadc_i++] = (tmp < 0) ? 0 : (u8) tmp; in ath5k_combine_pwr_to_pdadc_curves()
3142 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves()
3143 pdadc_out[pdadc_i++] = pdadc_tmp[pdadc_0++]; in ath5k_combine_pwr_to_pdadc_curves()
3158 (pdadc_i < AR5K_EEPROM_POWER_TABLE_SIZE * 2)) { in ath5k_combine_pwr_to_pdadc_curves()
3161 pdadc_out[pdadc_i++] = (tmp > 127) ? 127 : (u8) tmp; in ath5k_combine_pwr_to_pdadc_curves()
3171 while (pdadc_i < AR5K_EEPROM_POWER_TABLE_SIZE * 2) { in ath5k_combine_pwr_to_pdadc_curves()
3172 pdadc_out[pdadc_i] = pdadc_out[pdadc_i - 1]; in ath5k_combine_pwr_to_pdadc_curves()
[all …]