Home
last modified time | relevance | path

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

123

/Linux-v5.15/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-v5.15/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 …]
/Linux-v5.15/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-v5.15/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)
/Linux-v5.15/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 …]
Ddebugfs_htt_stats.h234 * The histogram bins are 0-29, 30-59, 60-89 and so on. The are
235 * 10 bins in this histogram. They are defined in FW using the
580 * histogram bins are 0-29, 30-59, 60-89 and so on. The are 10 bins
597 * Each bin represents 1ms & we have 10 bins in this histogram.
/Linux-v5.15/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()
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()
Ddwmac-generic.c42 /* Set default value for multicast hash bins */ in dwmac_generic_probe()
Ddwmac-loongson.c18 /* Set default value for multicast hash bins */ in loongson_default_data()
/Linux-v5.15/drivers/cpuidle/governors/
Dteo.c33 * The computations carried out by this governor are based on using bins whose
139 * @state_bins: Idle state data bins for this CPU.
140 * @total: Grand total of the "intercepts" and "hits" mertics for all bins.
142 * @recent_idx: Indices of bins corresponding to recent "intercepts".
199 * Decay the "hits" and "intercepts" metrics for all of the bins and in teo_update()
200 * find the bins that the sleep length and the measured idle duration in teo_update()
/Linux-v5.15/arch/arc/include/asm/
Dshmparam.h9 /* Handle upto 2 cache bins */
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dsnps,dwmac.yaml269 snps,multicast-filter-bins:
272 Number of multicast filter hash bins supported by this device
443 snps,multicast-filter-bins = <256>;
/Linux-v5.15/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-v5.15/include/dt-bindings/clock/
Drk3399-ddr.h7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
/Linux-v5.15/Documentation/devicetree/bindings/ddr/
Dlpddr2.txt38 speed-bins as is required. Please see Documentation/devicetree/
/Linux-v5.15/include/uapi/linux/
Domap3isp.h201 /* Flags for number of bins */
207 /* Number of bins * 4 colors * 4-bytes word */
246 __u16 hist_bins; /* number of bins: 32, 64, 128, or 256 */
/Linux-v5.15/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi152 snps,multicast-filter-bins = <256>;
170 snps,multicast-filter-bins = <256>;
188 snps,multicast-filter-bins = <256>;
/Linux-v5.15/arch/arm64/boot/dts/intel/
Dsocfpga_agilex.dtsi164 snps,multicast-filter-bins = <256>;
182 snps,multicast-filter-bins = <256>;
200 snps,multicast-filter-bins = <256>;
/Linux-v5.15/drivers/ras/
Dcec.c445 static const char * const bins[] = { "00", "01", "10", "11" }; variable
459 i, this, bins[DECAY(ca->array[i])], COUNT(ca->array[i])); in array_show()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
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-v5.15/arch/arm/boot/dts/
Dsocfpga_arria10.dtsi439 snps,multicast-filter-bins = <256>;
459 snps,multicast-filter-bins = <256>;
479 snps,multicast-filter-bins = <256>;

123