Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/ath/ath9k/
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
152 idx = spectral_max_index(bins, SPECTRAL_HT20_40_NUM_BINS); in spectral_max_index_ht40()
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()
[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()
/Linux-v5.4/net/sched/
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()
318 sfbhash = siphash_1u32(salt, &q->bins[slot].perturbation); in sfb_enqueue()
320 sfbhash = skb_get_hash_perturb(skb, &q->bins[slot].perturbation); in sfb_enqueue()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dpixfmt-meta-vsp1-hgo.rst32 additionally output the histogram with 64 or 256 bins, resulting in four
35 - In *64 bins normal mode*, the HGO operates on the three channels independently
36 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
38 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
39 channels to compute a single 64-bins histogram. Only the RGB image format is
41 - In *256 bins normal mode*, the HGO operates on the Y channel to compute a
42 single 256-bins histogram. Only the YCbCr image format is supported.
43 - In *256 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
44 channels to compute a single 256-bins histogram. Only the RGB image format is
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
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-v5.4/arch/arm64/boot/dts/intel/
Dsocfpga_agilex.dtsi94 snps,multicast-filter-bins = <256>;
109 snps,multicast-filter-bins = <256>;
124 snps,multicast-filter-bins = <256>;
/Linux-v5.4/drivers/ras/
Dcec.c436 static const char * const bins[] = { "00", "01", "10", "11" }; variable
450 i, this, bins[DECAY(ca->array[i])], COUNT(ca->array[i])); in array_dump()
/Linux-v5.4/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()
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()
1543 p_ramrod_bins->bins[i] = cpu_to_le32(bins[i]); in qed_sp_eth_filter_mcast()
Dqed_l2.h218 u32 bins[8]; member
Dqed_vf.c1137 memcpy(p_mcast_tlv->bins, p_params->bins, in qed_vf_pf_vport_update()
1284 sp_params.bins[bit / 32] |= 1 << (bit % 32); in qed_vf_pf_filter_mcast()
Dqed_vf.h399 u64 bins[4]; member
Dqed_sriov.c2837 memcpy(p_data->bins, p_mcast_tlv->bins, in qed_iov_vp_update_mcast_bin_param()
Dqed_hsi.h6217 __le32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; member
/Linux-v5.4/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.4/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.4/Documentation/devicetree/bindings/lpddr2/
Dlpddr2.txt38 speed-bins as is required. Please see Documentation/devicetree/
/Linux-v5.4/arch/arm/boot/dts/
Dsocfpga_arria10.dtsi430 snps,multicast-filter-bins = <256>;
450 snps,multicast-filter-bins = <256>;
470 snps,multicast-filter-bins = <256>;
Dsocfpga.dtsi561 snps,multicast-filter-bins = <256>;
579 snps,multicast-filter-bins = <256>;
/Linux-v5.4/arch/arc/boot/dts/
Dhsdk.dts213 snps,multicast-filter-bins = <256>;
/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Dde4x5.c774 u_int bins[DE4X5_PKT_STAT_SZ]; /* Private stats counters */ member
1867 lp->pktStats.bins[i]++; in de4x5_local_stats()
1881 lp->pktStats.bins[0]++; /* Duplicates stats.rx_packets */ in de4x5_local_stats()
1882 if (lp->pktStats.bins[0] == 0) { /* Reset counters */ in de4x5_local_stats()
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dmsm8996.dtsi2108 * all bins of the hardware