Home
last modified time | relevance | path

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

1234

/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-4.19/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-4.19/Documentation/media/uapi/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-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-4.19/net/sched/
Dsch_sfb.c32 * SFB uses two B[l][n] : L x N arrays of bins (L levels, N bins per level)
38 #define SFB_NUMBUCKETS (1 << SFB_BUCKET_SHIFT) /* N bins per Level */
53 struct sfb_bucket bins[SFB_LEVELS][SFB_NUMBUCKETS]; member
73 u8 slot; /* current active bins (0 or 1) */
75 struct sfb_bins bins[2]; member
88 * Each queued skb might be hashed on one or two bins
130 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in increment_one_qlen()
159 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in decrement_one_qlen()
196 memset(&q->bins, 0, sizeof(q->bins)); in sfb_zero_all_buckets()
206 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0]; in sfb_compute_qlen()
[all …]
/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-4.19/drivers/net/wireless/ath/ath10k/
Dspectral.c43 /* peak index outside of bins */ in get_max_exp()
83 u8 chain_idx, *bins; in ath10k_spectral_process_fft() local
113 * show, the particular configuration of 80 MHz/64 bins does in ath10k_spectral_process_fft()
147 bins = (u8 *)fftr; in ath10k_spectral_process_fft()
148 bins += sizeof(*fftr) + ar->hw_params.spectral_bin_offset; in ath10k_spectral_process_fft()
156 bin_len, bins); in ath10k_spectral_process_fft()
158 memcpy(fft_sample->data, bins, bin_len); in ath10k_spectral_process_fft()
433 unsigned int bins, fft_size, bin_scale; in read_file_spectral_bins() local
440 bins = 1 << (fft_size - bin_scale); in read_file_spectral_bins()
444 len = sprintf(buf, "%d\n", bins); in read_file_spectral_bins()
[all …]
Dspectral.h26 * @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
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()
535 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument
542 /* peak index outside of bins */ in ath11k_spectral_get_max_exp()
547 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
552 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
608 /* Only In-band bins are useful to user for visualize */ in ath11k_spectral_process_fft()
614 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.c25 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
27 * @mcast_bins: Multicast filtering bins
29 * this function validates the number of Multicast filtering bins specified
31 * 64 bins, 128 bins, or 256 bins. "bins" refer to the division of CRC
32 * 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()
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()
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c35 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
36 * @mcast_bins: Multicast filtering bins
38 * this function validates the number of Multicast filtering bins specified
40 * 64 bins, 128 bins, or 256 bins. "bins" refer to the division of CRC
41 * number space. 64 bins correspond to 6 bits of the CRC, 128 corresponds
437 /* Set default value for multicast hash bins */ in stmmac_probe_config_dt()
460 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt()
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dstmmac.txt56 - snps,multicast-filter-bins: Number of multicast filter hash bins
162 snps,multicast-filter-bins = <256>;
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dshmparam.h9 /* Handle upto 2 cache bins */
/kernel/linux/linux-4.19/arch/arc/include/asm/
Dshmparam.h12 /* 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-4.19/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/include/dt-bindings/clock/
Drk3399-ddr.h7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
/kernel/linux/linux-4.19/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi142 snps,multicast-filter-bins = <256>;
159 snps,multicast-filter-bins = <256>;
176 snps,multicast-filter-bins = <256>;
/kernel/linux/linux-4.19/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c664 memset(&p_ramrod->approx_mcast.bins, 0, in qed_sp_update_mcast_bin()
665 sizeof(p_ramrod->approx_mcast.bins)); in qed_sp_update_mcast_bin()
672 u32 *p_bins = p_params->bins; in qed_sp_update_mcast_bin()
674 p_ramrod->approx_mcast.bins[i] = cpu_to_le32(p_bins[i]); in qed_sp_update_mcast_bin()
756 /* Update mcast bins for VFs, PF doesn't use this functionality */ in qed_sp_vport_update()
1489 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; in qed_sp_eth_filter_mcast() local
1523 memset(&p_ramrod->approx_mcast.bins, 0, in qed_sp_eth_filter_mcast()
1524 sizeof(p_ramrod->approx_mcast.bins)); in qed_sp_eth_filter_mcast()
1525 memset(bins, 0, sizeof(bins)); in qed_sp_eth_filter_mcast()
1535 bins[bit / nbits] |= 1 << (bit % nbits); in qed_sp_eth_filter_mcast()
[all …]
/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 …]

1234