Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dphy.c3081 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local
3091 for (pdg = 0, pdadc_i = 0; pdg < pdcurves; pdg++) { in ath5k_combine_pwr_to_pdadc_curves()
3126 while ((pdadc_0 < 0) && (pdadc_i < 128)) { in ath5k_combine_pwr_to_pdadc_curves()
3128 pdadc_out[pdadc_i++] = (tmp < 0) ? 0 : (u8) tmp; in ath5k_combine_pwr_to_pdadc_curves()
3139 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves()
3140 pdadc_out[pdadc_i++] = pdadc_tmp[pdadc_0++]; in ath5k_combine_pwr_to_pdadc_curves()
3155 (pdadc_i < AR5K_EEPROM_POWER_TABLE_SIZE * 2)) { in ath5k_combine_pwr_to_pdadc_curves()
3158 pdadc_out[pdadc_i++] = (tmp > 127) ? 127 : (u8) tmp; in ath5k_combine_pwr_to_pdadc_curves()
3168 while (pdadc_i < AR5K_EEPROM_POWER_TABLE_SIZE * 2) { in ath5k_combine_pwr_to_pdadc_curves()
3169 pdadc_out[pdadc_i] = pdadc_out[pdadc_i - 1]; in ath5k_combine_pwr_to_pdadc_curves()
[all …]