Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.h112 static inline u16 spectral_max_magnitude(u8 *bins) in spectral_max_magnitude() argument
114 return (bins[0] & 0xc0) >> 6 | in spectral_max_magnitude()
115 (bins[1] & 0xff) << 2 | in spectral_max_magnitude()
116 (bins[2] & 0x03) << 10; in spectral_max_magnitude()
120 static inline u8 spectral_max_index(u8 *bins, int num_bins) in spectral_max_index() argument
122 s8 m = (bins[2] & 0xfc) >> 2; in spectral_max_index()
148 static inline u8 spectral_max_index_ht40(u8 *bins) in spectral_max_index_ht40() argument
152 idx = spectral_max_index(bins, SPECTRAL_HT20_40_NUM_BINS); in spectral_max_index_ht40()
160 static inline u8 spectral_max_index_ht20(u8 *bins) in spectral_max_index_ht20() argument
162 return spectral_max_index(bins, SPECTRAL_HT20_NUM_BINS); in spectral_max_index_ht20()
[all …]
/linux/net/sched/
H A Dsch_sfb.c49 struct sfb_bucket bins[SFB_LEVELS][SFB_NUMBUCKETS]; member
71 struct sfb_bins bins[2]; member
126 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in increment_one_qlen()
155 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in decrement_one_qlen()
192 memset(&q->bins, 0, sizeof(q->bins)); in sfb_zero_all_buckets()
202 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0]; in sfb_compute_qlen()
223 get_random_bytes(&q->bins[slot].perturbation, in sfb_init_perturbation()
224 sizeof(q->bins[slot].perturbation)); in sfb_init_perturbation()
325 sfbhash = siphash_1u32(salt, &q->bins[slot].perturbation); in sfb_enqueue()
327 sfbhash = skb_get_hash_perturb(skb, &q->bins[slot].perturbation); in sfb_enqueue()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgo.rst26 additionally output the histogram with 64 or 256 bins, resulting in four
29 - In *64 bins normal mode*, the HGO operates on the three channels independently
30 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
32 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
33 channels to compute a single 64-bins histogram. Only the RGB image format is
35 - In *256 bins normal mode*, the HGO operates on the Y channel to compute a
36 single 256-bins histogram. Only the YCbCr image format is supported.
37 - In *256 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
38 channels to compute a single 256-bins histogram. Only the RGB image format is
/linux/drivers/net/wireless/ath/ath10k/
H A Dspectral.c72 u8 chain_idx, *bins; in ath10k_spectral_process_fft() local
136 bins = (u8 *)fftr; in ath10k_spectral_process_fft()
137 bins += sizeof(*fftr) + ar->hw_params.spectral_bin_offset; 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()
417 unsigned int bins, fft_size, bin_scale; in read_file_spectral_bins() local
424 bins = 1 << (fft_size - bin_scale); in read_file_spectral_bins()
428 len = sprintf(buf, "%d\n", bins); in read_file_spectral_bins()
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8996pro.dtsi13 * On MSM8996 Pro the cpufreq driver shifts speed bins into the high
317 * Unlike CPU opp tables, the GPU driver does not shift speed bins.
320 * 624 Mhz and 560 Mhz are available on speed bins 0 and 1.
321 * All the rest are available on all bins of the hardware (like on
/linux/drivers/md/dm-vdo/
H A Dpacker.h80 struct list_head bins; member
/linux/include/uapi/linux/media/arm/
H A Dmali-c55-config.h45 * @bins: 1024 element array of 16-bit pixel counts.
48 * intensity distributions of pixels in fixed-width bins. The modules can be
56 * combined into the second. The histograms are stored consecutively in the bins
85 __u16 bins[1024];
96 * The ISP generates a 5-bin histogram of normalised pixel counts within bins of
82 __u16 bins[1024]; global() member
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgt215.c103 u8 median[8], bins[4] = {0, 0, 0, 0}, bin = 0, qty = 0; in gt215_link_train_calc() local
126 bins[(median[i] & 0xf0) >> 4]++; in gt215_link_train_calc()
132 if (bins[i] > qty) { in gt215_link_train_calc()
134 qty = bins[i]; in gt215_link_train_calc()
/linux/arch/arm64/boot/dts/intel/
H A Dsocfpga_agilex.dtsi183 snps,multicast-filter-bins = <256>;
201 snps,multicast-filter-bins = <256>;
219 snps,multicast-filter-bins = <256>;
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.h192 u32 bins[8]; member
H A Dqed_vf.c1124 memcpy(p_mcast_tlv->bins, p_params->bins, in qed_vf_pf_vport_update()
1268 sp_params.bins[bit / 32] |= 1 << (bit % 32); in qed_vf_pf_filter_mcast()
H A Dqed_vf.h372 u64 bins[4]; member
H A Dqed_sriov.c2819 memcpy(p_data->bins, p_mcast_tlv->bins, in qed_iov_vp_update_mcast_bin_param()
/linux/arch/arc/boot/dts/
H A Daxs10x_mb.dtsi81 snps,multicast-filter-bins = <256>;
H A Dhsdk.dts214 snps,multicast-filter-bins = <256>;
/linux/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst107 ``MAX_NR_GENS`` decides the number of bins for each histogram. The
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110.dtsi1044 snps,multicast-filter-bins = <64>;
1074 snps,multicast-filter-bins = <64>;
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2044.dtsi338 snps,multicast-filter-bins = <0>;
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcore.c2724 u16 *bins = bcn_dist->bins; in rtw89_bcn_calc_distribution() local
2761 bins[bin_idx]++; in rtw89_bcn_calc_distribution()
2810 count += bcn_dist->bins[i]; in rtw89_bcn_get_histogram_bound()
H A Ddebug.c5036 lower, upper, bcn_dist->bins[i]); in rtw89_debug_priv_beacon_info_get()
H A Dcore.h6538 u16 bins[RTW89_BCN_TRACK_MAX_BIN_NUM]; member