Searched refs:pdadc_i (Results 1 – 1 of 1) sorted by relevance
3088 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local3098 for (pdg = 0, pdadc_i = 0; pdg < pdcurves; pdg++) { in ath5k_combine_pwr_to_pdadc_curves()3133 while ((pdadc_0 < 0) && (pdadc_i < 128)) { in ath5k_combine_pwr_to_pdadc_curves()3135 pdadc_out[pdadc_i++] = (tmp < 0) ? 0 : (u8) tmp; in ath5k_combine_pwr_to_pdadc_curves()3146 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves()3147 pdadc_out[pdadc_i++] = pdadc_tmp[pdadc_0++]; in ath5k_combine_pwr_to_pdadc_curves()3162 (pdadc_i < AR5K_EEPROM_POWER_TABLE_SIZE * 2)) { in ath5k_combine_pwr_to_pdadc_curves()3165 pdadc_out[pdadc_i++] = (tmp > 127) ? 127 : (u8) tmp; in ath5k_combine_pwr_to_pdadc_curves()3175 while (pdadc_i < AR5K_EEPROM_POWER_TABLE_SIZE * 2) { in ath5k_combine_pwr_to_pdadc_curves()3176 pdadc_out[pdadc_i] = pdadc_out[pdadc_i - 1]; in ath5k_combine_pwr_to_pdadc_curves()[all …]