Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-meta-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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/tools/net/ynl/samples/
DMakefile15 BINS=$(patsubst %.c,%,${SRCS}) macro
19 all: $(BINS)
21 $(BINS): ../lib/ynl.a ../generated/protos.a
27 rm -f $(BINS)
/kernel/linux/linux-6.6/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()
422 unsigned int bins, fft_size, bin_scale; in read_file_spectral_bins() local
429 bins = 1 << (fft_size - bin_scale); in read_file_spectral_bins()
433 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)
/kernel/linux/linux-5.10/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()
422 unsigned int bins, fft_size, bin_scale; in read_file_spectral_bins() local
429 bins = 1 << (fft_size - bin_scale); in read_file_spectral_bins()
433 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)
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dspectral.c112 u8 bins[0]; member
419 unsigned int bins, fft_size; in ath11k_read_file_spectral_bins() local
425 bins = 1 << fft_size; in ath11k_read_file_spectral_bins()
429 len = sprintf(buf, "%d\n", bins); in ath11k_read_file_spectral_bins()
538 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument
545 /* peak index outside of bins */ in ath11k_spectral_get_max_exp()
550 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
555 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
611 /* Only In-band bins are useful to user for visualize */ in ath11k_spectral_process_fft()
617 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
Dspectral.c111 u8 bins[]; member
420 unsigned int bins, fft_size; in ath11k_read_file_spectral_bins() local
426 bins = 1 << fft_size; in ath11k_read_file_spectral_bins()
430 len = sprintf(buf, "%d\n", bins); in ath11k_read_file_spectral_bins()
539 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument
546 /* peak index outside of bins */ in ath11k_spectral_get_max_exp()
551 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
556 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
615 /* Only In-band bins are useful to user for visualize */ in ath11k_spectral_process_fft()
621 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft()
[all …]
/kernel/linux/linux-5.10/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
476 /* Set default value for multicast hash bins */ in stmmac_probe_config_dt()
499 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt()
/kernel/linux/linux-6.6/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
478 /* Set default value for multicast hash bins */ in stmmac_probe_config_dt()
501 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/drivers/cpuidle/governors/
Dteo.c38 * The computations carried out by this governor are based on using bins whose
186 * @state_bins: Idle state data bins for this CPU.
187 * @total: Grand total of the "intercepts" and "hits" metrics for all bins.
189 * @recent_idx: Indices of bins corresponding to recent "intercepts".
268 * Decay the "hits" and "intercepts" metrics for all of the bins and in teo_update()
269 * find the bins that the sleep length and the measured idle duration in teo_update()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dshmparam.h9 /* Handle upto 2 cache bins */
/kernel/linux/linux-6.6/arch/arc/include/asm/
Dshmparam.h9 /* Handle upto 2 cache bins */
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dsnps,dwmac.yaml246 snps,multicast-filter-bins:
249 Number of multicast filter hash bins supported by this device
407 snps,multicast-filter-bins = <256>;
/kernel/linux/linux-5.10/include/dt-bindings/clock/
Drk3399-ddr.h7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
/kernel/linux/linux-6.6/include/dt-bindings/clock/
Drk3399-ddr.h7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c643 memset(&p_ramrod->approx_mcast.bins, 0, in qed_sp_update_mcast_bin()
644 sizeof(p_ramrod->approx_mcast.bins)); in qed_sp_update_mcast_bin()
651 u32 *p_bins = p_params->bins; in qed_sp_update_mcast_bin()
653 p_ramrod->approx_mcast.bins[i] = cpu_to_le32(p_bins[i]); in qed_sp_update_mcast_bin()
735 /* Update mcast bins for VFs, PF doesn't use this functionality */ in qed_sp_vport_update()
1468 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; in qed_sp_eth_filter_mcast() local
1502 memset(&p_ramrod->approx_mcast.bins, 0, in qed_sp_eth_filter_mcast()
1503 sizeof(p_ramrod->approx_mcast.bins)); in qed_sp_eth_filter_mcast()
1504 memset(bins, 0, sizeof(bins)); in qed_sp_eth_filter_mcast()
1514 bins[bit / nbits] |= 1 << (bit % nbits); in qed_sp_eth_filter_mcast()
[all …]

12345