Home
last modified time | relevance | path

Searched full:bins (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.12.1/drivers/net/wireless/ath/ath9k/
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 */
[all …]
Ddfs.c63 static inline int fft_max_index(u8 *bins) in fft_max_index() argument
65 return (bins[2] & 0xfc) >> 2; in fft_max_index()
67 static inline int fft_max_magnitude(u8 *bins) in fft_max_magnitude() argument
69 return (bins[0] & 0xc0) >> 6 | bins[1] << 2 | (bins[2] & 0x03) << 10; in fft_max_magnitude()
71 static inline u8 fft_bitmap_weight(u8 *bins) in fft_bitmap_weight() argument
73 return bins[0] & 0x3f; in fft_bitmap_weight()
82 /* first check wether channels have 'strong' bins */ in ath9k_get_max_index_ht40()
Dcommon-spectral.c68 * in case of a missing byte (so bins[0] will be outside in ath_cmn_max_idx_verify_ht20_fft()
110 * in case of a missing byte (so bins[0] will be outside in ath_cmn_max_idx_verify_ht20_40_fft()
321 * the expected bins in ath_cmn_process_ht20_40_fft()
633 /* Mix the received bins to the /dev/random in ath_cmn_process_fft()
649 /* Mix the received bins to the /dev/random in ath_cmn_process_fft()
/linux-6.12.1/drivers/md/dm-vdo/indexer/
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()
141 bins->used += 1; in measure_bins()
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
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
44 .. flat-table:: VSP1 HGO Data - 64 Bins, Normal Mode (792 bytes)
[all …]
/linux-6.12.1/net/sched/
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[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()
[all …]
/linux-6.12.1/tools/net/ynl/samples/
DMakefile15 BINS=$(patsubst %.c,%,${SRCS}) macro
19 all: $(BINS)
23 $(BINS): ../lib/ynl.a ../generated/protos.a $(SRCS)
32 rm -f $(BINS)
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
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 …]
Dspectral.h15 * @fft_size: number of bins to be requested = 2^(fft_size - bin_scale)
/linux-6.12.1/drivers/md/dm-vdo/
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()
533 list_for_each_entry(bin, &packer->bins, list) { in select_bin()
539 * None of the bins have enough space for the data_vio. We're not allowed to create new in select_bin()
540 * bins, so we have to overflow one of the existing bins. It's pretty intuitive to select in select_bin()
[all …]
Dpacker.h49 * block. The bins are kept in a ring sorted by the amount of unused space so the first bin with
77 /* The number of bins */
80 struct list_head bins; member
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dspectral.c112 u8 bins[]; member
416 unsigned int bins, fft_size; in ath11k_read_file_spectral_bins() local
422 bins = 1 << fft_size; in ath11k_read_file_spectral_bins()
426 len = sprintf(buf, "%d\n", bins); in ath11k_read_file_spectral_bins()
530 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument
537 /* peak index outside of bins */ in ath11k_spectral_get_max_exp()
542 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
547 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
606 /* Only In-band bins are useful to user for visualize */ in ath11k_spectral_process_fft()
612 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft()
[all …]
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c26 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
28 * @mcast_bins: Multicast filtering bins
30 * this function validates the number of Multicast filtering bins specified
32 * 64 bins, 128 bins, or 256 bins. "bins" refer to the division of CRC
33 * number space. 64 bins correspond to 6 bits of the CRC, 128 corresponds
511 /* Set default value for multicast hash bins */ in stmmac_probe_config_dt()
534 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt()
Ddwmac-generic.c42 /* Set default value for multicast hash bins */ in dwmac_generic_probe()
Dstmmac_pci.c30 /* Set default value for multicast hash bins */ in common_default_data()
83 /* Set default value for multicast hash bins */ in snps_gmac5_default_data()
/linux-6.12.1/arch/arm64/boot/dts/qcom/
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-6.12.1/drivers/cpuidle/governors/
Dteo.c33 * The computations carried out by this governor are based on using bins whose
124 * @state_bins: Idle state data bins for this CPU.
125 * @total: Grand total of the "intercepts" and "hits" metrics for all bins.
183 * Decay the "hits" and "intercepts" metrics for all of the bins and in teo_update()
184 * find the bins that the sleep length and the measured idle duration in teo_update()
/linux-6.12.1/arch/arc/include/asm/
Dshmparam.h9 /* Handle up to 2 cache bins */
/linux-6.12.1/Documentation/devicetree/bindings/net/
Drenesas,rzn1-gmac.yaml58 snps,multicast-filter-bins = <256>;
Dsnps,dwmac.yaml492 snps,multicast-filter-bins:
495 Number of multicast filter hash bins supported by this device
651 snps,multicast-filter-bins = <256>;
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
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()
1515 bins[bit / nbits] |= 1 << (bit % nbits); in qed_sp_eth_filter_mcast()
[all …]
/linux-6.12.1/include/dt-bindings/clock/
Drk3399-ddr.h7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
/linux-6.12.1/include/uapi/linux/
Domap3isp.h206 /* Flags for number of bins */
212 /* Number of bins * 4 colors * 4-bytes word */
251 __u16 hist_bins; /* number of bins: 32, 64, 128, or 256 */
/linux-6.12.1/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi183 snps,multicast-filter-bins = <256>;
201 snps,multicast-filter-bins = <256>;
219 snps,multicast-filter-bins = <256>;
/linux-6.12.1/arch/arm64/boot/dts/intel/
Dsocfpga_agilex.dtsi176 snps,multicast-filter-bins = <256>;
194 snps,multicast-filter-bins = <256>;
212 snps,multicast-filter-bins = <256>;

123