Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dcommon-spectral.h112 static inline u16 spectral_max_magnitude(u8 *bins) in spectral_max_magnitude() argument
114 return (bins[0] & 0xc0) >> 6 | in spectral_max_magnitude()
115 (bins[1] & 0xff) << 2 | in spectral_max_magnitude()
116 (bins[2] & 0x03) << 10; in spectral_max_magnitude()
120 static inline u8 spectral_max_index(u8 *bins, int num_bins) in spectral_max_index() argument
122 s8 m = (bins[2] & 0xfc) >> 2; in spectral_max_index()
148 static inline u8 spectral_max_index_ht40(u8 *bins) in spectral_max_index_ht40() argument
160 static inline u8 spectral_max_index_ht20(u8 *bins) in spectral_max_index_ht20() argument
162 return spectral_max_index(bins, SPECTRAL_HT20_NUM_BINS); in spectral_max_index_ht20()
166 static inline u8 spectral_bitmap_weight(u8 *bins) in spectral_bitmap_weight() argument
[all …]
A 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()
/linux-6.3-rc2/net/sched/
A Dsch_sfb.c49 struct sfb_bucket bins[SFB_LEVELS][SFB_NUMBUCKETS]; member
71 struct sfb_bins bins[2]; member
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()
220 get_random_bytes(&q->bins[slot].perturbation, in sfb_init_perturbation()
221 sizeof(q->bins[slot].perturbation)); in sfb_init_perturbation()
332 struct sfb_bucket *b = &q->bins[slot].bins[i][hash]; in sfb_enqueue()
358 &q->bins[slot].perturbation); in sfb_enqueue()
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A 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
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dspectral.c72 u8 chain_idx, *bins; in ath10k_spectral_process_fft() local
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()
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/
A Dmsm8996pro.dtsi13 * On MSM8996 Pro the cpufreq driver shifts speed bins into the high
270 * Unlike CPU opp tables, the GPU driver does not shift speed bins.
273 * 624 Mhz and 560 Mhz are available on speed bins 0 and 1.
274 * All the rest are available on all bins of the hardware (like on
A Dmsm8996.dtsi1247 * 624Mhz is only available on speed bins 0 and 3.
1248 * 560Mhz is only available on speed bins 0, 2 and 3.
1249 * All the rest are available on all bins of the hardware.
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A 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
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()
688 ath11k_spectral_parse_fft(fft_sample->data, fft_report->bins, num_bins, in ath11k_spectral_process_fft()
/linux-6.3-rc2/drivers/ras/
A 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-6.3-rc2/drivers/net/ethernet/qlogic/qed/
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()
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()
1523 p_ramrod_bins->bins[i] = cpu_to_le32(bins[i]); in qed_sp_eth_filter_mcast()
A Dqed_l2.h192 u32 bins[8]; member
A Dqed_vf.c1132 memcpy(p_mcast_tlv->bins, p_params->bins, in qed_vf_pf_vport_update()
1279 sp_params.bins[bit / 32] |= 1 << (bit % 32); in qed_vf_pf_filter_mcast()
A Dqed_vf.h372 u64 bins[4]; member
/linux-6.3-rc2/arch/arm64/boot/dts/altera/
A Dsocfpga_stratix10.dtsi161 snps,multicast-filter-bins = <256>;
179 snps,multicast-filter-bins = <256>;
197 snps,multicast-filter-bins = <256>;
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
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-6.3-rc2/arch/arm64/boot/dts/intel/
A Dsocfpga_agilex.dtsi164 snps,multicast-filter-bins = <256>;
182 snps,multicast-filter-bins = <256>;
200 snps,multicast-filter-bins = <256>;
/linux-6.3-rc2/arch/arm/boot/dts/
A Dsocfpga_arria10.dtsi436 snps,multicast-filter-bins = <256>;
456 snps,multicast-filter-bins = <256>;
476 snps,multicast-filter-bins = <256>;
A Dsocfpga.dtsi580 snps,multicast-filter-bins = <256>;
599 snps,multicast-filter-bins = <256>;
A Dr9a06g032.dtsi330 snps,multicast-filter-bins = <256>;
/linux-6.3-rc2/Documentation/devicetree/bindings/net/
A Dsnps,dwmac.yaml455 snps,multicast-filter-bins:
458 Number of multicast filter hash bins supported by this device
657 snps,multicast-filter-bins = <256>;
/linux-6.3-rc2/Documentation/devicetree/bindings/memory-controllers/ddr/
A Djedec,lpddr2.yaml134 speed-bins as is required.
A Djedec,lpddr3.yaml181 speed-bin. The user may provide the timings for as many speed-bins as is
/linux-6.3-rc2/arch/arc/boot/dts/
A Daxs10x_mb.dtsi81 snps,multicast-filter-bins = <256>;
A Dhsdk.dts215 snps,multicast-filter-bins = <256>;
/linux-6.3-rc2/Documentation/admin-guide/mm/
A Dmultigen_lru.rst107 ``MAX_NR_GENS`` decides the number of bins for each histogram. The

Completed in 54 milliseconds

12