Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A 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 */
112 spectral_max_magnitude(u8 *bins) spectral_max_magnitude() argument
120 spectral_max_index(u8 *bins, int num_bins) spectral_max_index() argument
148 spectral_max_index_ht40(u8 *bins) spectral_max_index_ht40() argument
160 spectral_max_index_ht20(u8 *bins) spectral_max_index_ht20() argument
166 spectral_bitmap_weight(u8 *bins) spectral_bitmap_weight() argument
[all...]
H 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()
82 /* first check wether channels have 'strong' bins */ in ath9k_get_max_index_ht40()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A 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 */
112 spectral_max_magnitude(u8 *bins) spectral_max_magnitude() argument
120 spectral_max_index(u8 *bins, int num_bins) spectral_max_index() argument
148 spectral_max_index_ht40(u8 *bins) spectral_max_index_ht40() argument
160 spectral_max_index_ht20(u8 *bins) spectral_max_index_ht20() argument
166 spectral_bitmap_weight(u8 *bins) spectral_bitmap_weight() argument
[all...]
H 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()
82 /* first check wether channels have 'strong' bins */ in ath9k_get_max_index_ht40()
/kernel/linux/linux-5.10/net/sched/
H A 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[slo in decrement_one_qlen()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A 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[slo in decrement_one_qlen()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A 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...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A 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...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A 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()
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 in ath11k_spectral_process_fft()
537 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude, int bin_len, u8 *bins) ath11k_spectral_get_max_exp() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H 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()
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 in ath11k_spectral_process_fft()
538 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude, int bin_len, u8 *bins) ath11k_spectral_get_max_exp() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A 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()
[all...]
H A Dqed_l2.h193 u32 bins[8]; member
H A Dqed_vf.c1131 memcpy(p_mcast_tlv->bins, p_params->bins, in qed_vf_pf_vport_update()
1278 sp_params.bins[bit / 32] |= 1 << (bit % 32); in qed_vf_pf_filter_mcast()
H A Dqed_vf.h368 /* There are only 256 approx bins, and in HSI they're divided into
372 u64 bins[4]; member
H A Dqed_sriov.c2817 memcpy(p_data->bins, p_mcast_tlv->bins, in qed_iov_vp_update_mcast_bin_param()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H 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()
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()
[all...]
H A Dqed_l2.h192 u32 bins[8]; member
H A Dqed_vf.c1124 memcpy(p_mcast_tlv->bins, p_params->bins, in qed_vf_pf_vport_update()
1268 sp_params.bins[bit / 32] |= 1 << (bit % 32); in qed_vf_pf_filter_mcast()
H A Dqed_vf.h368 /* There are only 256 approx bins, and in HSI they're divided into
372 u64 bins[4]; member
H A Dqed_sriov.c2819 memcpy(p_data->bins, p_mcast_tlv->bins, in qed_iov_vp_update_mcast_bin_param()
/kernel/linux/linux-5.10/drivers/ras/
H 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()
/kernel/linux/linux-6.6/drivers/ras/
H 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A 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()

Completed in 55 milliseconds

12