Home
last modified time | relevance | path

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

12

/linux/drivers/md/dm-vdo/indexer/
H A Dradix-sort.c31 /* The number of non-empty bins */
58 struct histogram bins; member
119 * offset, keeping track of the number of non-empty bins, and the index of the first and last
122 static inline void measure_bins(const struct task task, struct histogram *bins) in measure_bins() argument
127 * Subtle invariant: bins->used and bins->size[] are zero because the sorting code clears in measure_bins()
131 bins->first = U8_MAX; in measure_bins()
132 bins->last = 0; in measure_bins()
137 u32 size = ++bins->size[bin]; in measure_bins()
139 /* Track non-empty bins in measure_bins()
174 push_bins(struct task ** stack,struct task * end_of_stack,struct task ** list,sort_key_t * pile[],struct histogram * bins,sort_key_t * first_key,u16 offset,u16 length) push_bins() argument
238 struct histogram *bins = &sorter->bins; uds_radix_sort() local
[all...]
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.h49 * [7:0]: all bins {max_magnitude[1:0], bitmap_weight[5:0]}
50 * [7:0]: all bins max_magnitude[9:2]
51 * [7:0]: all bins {max_index[5:0], max_magnitude[11:10]}
74 * [7:0]: lower bins {max_magnitude[1:0], bitmap_weight[5:0]}
75 * [7:0]: lower bins max_magnitude[9:2]
76 * [7:0]: lower bins {max_index[5:0], max_magnitude[11:10]}
77 * [7:0]: upper bins {max_magnitude[1:0], bitmap_weight[5:0]}
78 * [7:0]: upper bins max_magnitude[9:2]
79 * [7:0]: upper bins {max_index[5:0], max_magnitude[11:10]}
111 /* grabs the max magnitude from the all/upper/lower bins */
112 spectral_max_magnitude(u8 * bins) spectral_max_magnitude() argument
120 spectral_max_index(u8 * bins,int num_bins) spectral_max_index() argument
148 spectral_max_index_ht40(u8 * bins) spectral_max_index_ht40() argument
160 spectral_max_index_ht20(u8 * bins) spectral_max_index_ht20() argument
166 spectral_bitmap_weight(u8 * bins) spectral_bitmap_weight() argument
[all...]
/linux/net/sched/
H A Dsch_sfb.c28 * SFB uses two B[l][n] : L x N arrays of bins (L levels, N bins per level)
34 #define SFB_NUMBUCKETS (1 << SFB_BUCKET_SHIFT) /* N bins per Level */
49 struct sfb_bucket bins[SFB_LEVELS][SFB_NUMBUCKETS]; member
69 u8 slot; /* current active bins (0 or 1) */
71 struct sfb_bins bins[2]; member
84 * Each queued skb might be hashed on one or two bins
126 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in increment_one_qlen()
155 struct sfb_bucket *b = &q->bins[slo in decrement_one_qlen()
[all...]
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgo.rst25 additionally output the histogram with 64 or 256 bins, resulting in four
28 - In *64 bins normal mode*, the HGO operates on the three channels independently
29 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
31 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
32 channels to compute a single 64-bins histogram. Only the RGB image format is
34 - In *256 bins normal mode*, the HGO operates on the Y channel to compute a
35 single 256-bins histogram. Only the YCbCr image format is supported.
36 - In *256 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
37 channels to compute a single 256-bins histogram. Only the RGB image format is
/linux/drivers/md/dm-vdo/
H A Dpacker.c98 * The list is in ascending order of free space. Since all bins are already in the list, this
105 list_for_each_entry(active_bin, &packer->bins, list) in insert_in_sorted_list()
111 list_move_tail(&bin->list, &packer->bins); in insert_in_sorted_list()
130 list_add_tail(&bin->list, &packer->bins); in make_bin()
138 * @bin_count: The number of partial bins to keep in memory.
155 INIT_LIST_HEAD(&packer->bins); in vdo_make_packer()
199 list_for_each_entry_safe(bin, tmp, &packer->bins, list) { in vdo_free_packer()
532 list_for_each_entry(bin, &packer->bins, list) { in select_bin()
538 * None of the bins have enough space for the data_vio. We're not allowed to create new in select_bin()
539 * bins, s in select_bin()
[all...]
H A Dpacker.h49 * block. The bins are kept in a list sorted by the amount of unused space so the first bin with
77 /* The number of bins */
80 struct list_head bins; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dspectral.c32 /* peak index outside of bins */ in get_max_exp()
72 u8 chain_idx, *bins; in ath10k_spectral_process_fft() local
102 * show, the particular configuration of 80 MHz/64 bins does in ath10k_spectral_process_fft()
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()
[all...]
/linux/drivers/net/wireless/ath/ath11k/
H A Dspectral.c113 u8 bins[]; member
417 unsigned int bins, fft_size; in ath11k_read_file_spectral_bins() local
423 bins = 1 << fft_size; in ath11k_read_file_spectral_bins()
427 len = sprintf(buf, "%d\n", bins); in ath11k_read_file_spectral_bins()
531 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument
538 /* peak index outside of bins */ in ath11k_spectral_get_max_exp()
543 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
548 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
607 /* Only In-band bins are useful to user for visualize */ in ath11k_spectral_process_fft()
613 ath11k_warn(ab, "Invalid num of bins in ath11k_spectral_process_fft()
[all...]
/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/net/ethernet/qlogic/qed/
H A Dqed_l2.c644 memset(&p_ramrod->approx_mcast.bins, 0, in qed_sp_update_mcast_bin()
645 sizeof(p_ramrod->approx_mcast.bins)); in qed_sp_update_mcast_bin()
652 u32 *p_bins = p_params->bins; in qed_sp_update_mcast_bin()
654 p_ramrod->approx_mcast.bins[i] = cpu_to_le32(p_bins[i]); in qed_sp_update_mcast_bin()
736 /* Update mcast bins for VFs, PF doesn't use this functionality */ in qed_sp_vport_update()
1469 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; in qed_sp_eth_filter_mcast() local
1503 memset(&p_ramrod->approx_mcast.bins, 0, in qed_sp_eth_filter_mcast()
1504 sizeof(p_ramrod->approx_mcast.bins)); in qed_sp_eth_filter_mcast()
1505 memset(bins, 0, sizeof(bins)); in qed_sp_eth_filter_mcast()
[all...]
H A Dqed_l2.h192 u32 bins[8]; member
H A Dqed_vf.h368 /* There are only 256 approx bins, and in HSI they're divided into
372 u64 bins[4]; 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/altera/
H A Dsocfpga_stratix10.dtsi186 snps,multicast-filter-bins = <256>;
204 snps,multicast-filter-bins = <256>;
222 snps,multicast-filter-bins = <256>;
/linux/arch/arm64/boot/dts/intel/
H A Dsocfpga_agilex.dtsi182 snps,multicast-filter-bins = <256>;
200 snps,multicast-filter-bins = <256>;
218 snps,multicast-filter-bins = <256>;
/linux/arch/arm/boot/dts/renesas/
H A Dr9a06g032.dtsi375 snps,multicast-filter-bins = <256>;
393 snps,multicast-filter-bins = <256>;
/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/arch/riscv/boot/dts/thead/
H A Dth1520.dtsi305 snps,multicast-filter-bins = <64>;
328 snps,multicast-filter-bins = <64>;
/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/sophgo/
H A Dcv180x.dtsi232 snps,multicast-filter-bins = <0>;
H A Dsg2042.dtsi585 snps,multicast-filter-bins = <0>;
/linux/arch/riscv/boot/dts/starfive/
H A Djh7100.dtsi225 snps,multicast-filter-bins = <32>;
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a09g047.dtsi721 snps,multicast-filter-bins = <256>;
822 snps,multicast-filter-bins = <256>;
H A Dr9a09g056.dtsi746 snps,multicast-filter-bins = <256>;
847 snps,multicast-filter-bins = <256>;

12