Home
last modified time | relevance | path

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

/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_hgo.c55 if (hgo->num_bins == 256) { in vsp1_hgo_frame_end()
158 if (hgo->ctrls.num_bins) in hgo_configure_stream()
159 hgo->num_bins = hgo_num_bins[hgo->ctrls.num_bins->cur.val]; in hgo_configure_stream()
165 (hgo->num_bins == 256 ? VI6_HGO_MODE_STEP : 0) | in hgo_configure_stream()
211 hgo->ctrls.num_bins = in vsp1_hgo_create()
216 hgo->num_bins = 64; in vsp1_hgo_create()
H A Dvsp1_hgo.h26 struct v4l2_ctrl *num_bins; member
30 unsigned int num_bins; member
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.h120 static inline u8 spectral_max_index(u8 *bins, int num_bins) in spectral_max_index() argument
123 u8 zero_idx = num_bins / 2; in spectral_max_index()
142 if (m < 0 || m > num_bins - 1) in spectral_max_index()
H A Dcommon-spectral.c475 u8 num_bins, *vdata = (u8 *)hdr; in ath_cmn_process_fft() local
522 num_bins = SPECTRAL_HT20_40_NUM_BINS; in ath_cmn_process_fft()
528 num_bins = SPECTRAL_HT20_NUM_BINS; in ath_cmn_process_fft()
636 add_device_randomness(sample_buf, num_bins); in ath_cmn_process_fft()
652 add_device_randomness(sample_start, num_bins); in ath_cmn_process_fft()
669 i += num_bins - 2; in ath_cmn_process_fft()
670 sample_bytes = num_bins - 2; in ath_cmn_process_fft()
676 i -= num_bins - 2; in ath_cmn_process_fft()
/linux/drivers/net/wireless/ath/ath11k/
H A Dspectral.c553 static void ath11k_spectral_parse_fft(u8 *outbins, u8 *inbins, int num_bins, u8 fft_sz) in ath11k_spectral_parse_fft() argument
559 while (i < num_bins) { in ath11k_spectral_parse_fft()
577 int tlv_len, bin_len, num_bins; in ath11k_spectral_process_fft() local
605 num_bins = bin_len / bin_sz; in ath11k_spectral_process_fft()
607 num_bins >>= 1; in ath11k_spectral_process_fft()
609 if (num_bins < ATH11K_SPECTRAL_MIN_IB_BINS || in ath11k_spectral_process_fft()
610 num_bins > ATH11K_SPECTRAL_MAX_IB_BINS(ab) || in ath11k_spectral_process_fft()
611 !is_power_of_2(num_bins)) { in ath11k_spectral_process_fft()
612 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft()
616 check_length = sizeof(*fft_report) + (num_bins * ab->hw_params.spectral.fft_sz); in ath11k_spectral_process_fft()
[all …]