Searched refs:num_bins (Results 1 – 5 of 5) sorted by relevance
/drivers/media/platform/vsp1/ |
D | vsp1_hgo.c | 55 if (hgo->num_bins == 256) { in vsp1_hgo_frame_end() 160 if (hgo->ctrls.num_bins) in hgo_configure_stream() 161 hgo->num_bins = hgo_num_bins[hgo->ctrls.num_bins->cur.val]; in hgo_configure_stream() 167 (hgo->num_bins == 256 ? VI6_HGO_MODE_STEP : 0) | in hgo_configure_stream() 203 hgo->ctrls.num_bins = in vsp1_hgo_create() 208 hgo->num_bins = 64; in vsp1_hgo_create()
|
D | vsp1_hgo.h | 26 struct v4l2_ctrl *num_bins; member 30 unsigned int num_bins; member
|
/drivers/net/wireless/ath/ath9k/ |
D | common-spectral.h | 120 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()
|
D | common-spectral.c | 475 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()
|
/drivers/net/wireless/ath/ath11k/ |
D | spectral.c | 561 static void ath11k_spectral_parse_fft(u8 *outbins, u8 *inbins, int num_bins, u8 fft_sz) in ath11k_spectral_parse_fft() argument 567 while (i < num_bins) { in ath11k_spectral_parse_fft() 585 int tlv_len, bin_len, num_bins; in ath11k_spectral_process_fft() local 610 num_bins = bin_len / ATH11K_SPECTRAL_BIN_SIZE; in ath11k_spectral_process_fft() 612 num_bins >>= 1; in ath11k_spectral_process_fft() 614 if (num_bins < ATH11K_SPECTRAL_ATH11K_MIN_IB_BINS || in ath11k_spectral_process_fft() 615 num_bins > ATH11K_SPECTRAL_ATH11K_MAX_IB_BINS || in ath11k_spectral_process_fft() 616 !is_power_of_2(num_bins)) { in ath11k_spectral_process_fft() 617 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft() 640 length = sizeof(*fft_sample) - sizeof(struct fft_sample_tlv) + num_bins; in ath11k_spectral_process_fft() [all …]
|