Lines Matching refs:bin_len
24 static uint8_t get_max_exp(s8 max_index, u16 max_magnitude, size_t bin_len, in get_max_exp() argument
30 dc_pos = bin_len / 2; in get_max_exp()
49 size_t bin_len) in ath10k_spectral_fix_bin_size() argument
57 if (!is_power_of_2(bin_len)) in ath10k_spectral_fix_bin_size()
58 bin_len -= ar->hw_params.spectral_bin_discard; in ath10k_spectral_fix_bin_size()
60 return bin_len; in ath10k_spectral_fix_bin_size()
66 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument
77 bin_len = ath10k_spectral_fix_bin_size(ar, bin_len); in ath10k_spectral_process_fft()
79 if (bin_len < 64 || bin_len > SPECTRAL_ATH10K_MAX_NUM_BINS) in ath10k_spectral_process_fft()
85 length = sizeof(*fft_sample) - sizeof(struct fft_sample_tlv) + bin_len; in ath10k_spectral_process_fft()
106 if (bin_len == 64) in ath10k_spectral_process_fft()
145 bin_len, bins); in ath10k_spectral_process_fft()
147 memcpy(fft_sample->data, bins, bin_len); in ath10k_spectral_process_fft()
152 dc_pos = bin_len / 2; in ath10k_spectral_process_fft()