Lines Matching refs:max_index
48 u8 max_index; in ath_cmn_max_idx_verify_ht20_fft() local
62 max_index = spectral_max_index(mag_info->all_bins, in ath_cmn_max_idx_verify_ht20_fft()
72 if (bytes_read < SPECTRAL_HT20_SAMPLE_LEN && max_index < 1) in ath_cmn_max_idx_verify_ht20_fft()
75 if (sample[max_index] != (max_magnitude >> max_exp)) in ath_cmn_max_idx_verify_ht20_fft()
157 u8 max_index, bitmap_w, max_exp; in ath_cmn_process_ht20_fft() local
172 max_index = spectral_max_index(mag_info->all_bins, in ath_cmn_process_ht20_fft()
174 fft_sample_20.max_index = max_index; in ath_cmn_process_ht20_fft()
189 max_index); in ath_cmn_process_ht20_fft()
191 if (fft_sample_20.data[max_index] != (magnitude >> max_exp)) { in ath_cmn_process_ht20_fft()
206 if (max_index == dc_pos) { in ath_cmn_process_ht20_fft()
211 fft_sample_20.max_index = i; in ath_cmn_process_ht20_fft()
220 tmp_mag, fft_sample_20.max_index); in ath_cmn_process_ht20_fft()