Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H 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
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 …]
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()
/OK3568_Linux_fs/kernel/net/sched/
H 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()
320 sfbhash = siphash_1u32(salt, &q->bins[slot].perturbation); in sfb_enqueue()
322 sfbhash = skb_get_hash_perturb(skb, &q->bins[slot].perturbation); in sfb_enqueue()
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H 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
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/
H A DRkAiqResourceTranslator.cpp160 …memcpy(statsInt->aec_stats.ae_data.chn[0].rawhist_lite.bins, stats->params.rawhist0.hist_bin, ISP2… in translateAecStats()
161 …memcpy(statsInt->aec_stats.ae_data.chn[1].rawhist_big.bins, stats->params.rawhist1.hist_bin, ISP2X… in translateAecStats()
162 …memcpy(statsInt->aec_stats.ae_data.chn[2].rawhist_big.bins, stats->params.rawhist2.hist_bin, ISP2X… in translateAecStats()
165 SumHistPix[0] += statsInt->aec_stats.ae_data.chn[0].rawhist_lite.bins[i]; in translateAecStats()
166 SumHistPix[1] += statsInt->aec_stats.ae_data.chn[1].rawhist_big.bins[i]; in translateAecStats()
167 SumHistPix[2] += statsInt->aec_stats.ae_data.chn[2].rawhist_big.bins[i]; in translateAecStats()
171 …HistMean[0] += (float)(statsInt->aec_stats.ae_data.chn[0].rawhist_lite.bins[i] * (i + 1)) / (float… in translateAecStats()
172 …HistMean[1] += (float)(statsInt->aec_stats.ae_data.chn[1].rawhist_big.bins[i] * (i + 1)) / (float)… in translateAecStats()
173 …HistMean[2] += (float)(statsInt->aec_stats.ae_data.chn[2].rawhist_big.bins[i] * (i + 1)) / (float)… in translateAecStats()
205 …memcpy(statsInt->aec_stats.ae_data.chn[0].rawhist_big.bins, stats->params.rawhist1.hist_bin, ISP2X… in translateAecStats()
[all …]
H A DRkAiqResourceTranslatorV3x.cpp686 …MergeAecHistBinStats(statsInt->aec_stats.ae_data.chn[0].rawhist_lite.bins, left_stats->params.rawh… in translateMultiAecStats()
699 …MergeAecHistBinStats(statsInt->aec_stats.ae_data.chn[1].rawhist_big.bins, left_stats->params.rawhi… in translateMultiAecStats()
715 …MergeAecHistBinStats(statsInt->aec_stats.ae_data.chn[2].rawhist_big.bins, left_stats->params.rawhi… in translateMultiAecStats()
719 SumHistPix[0] += statsInt->aec_stats.ae_data.chn[0].rawhist_lite.bins[i]; in translateMultiAecStats()
720 SumHistPix[1] += statsInt->aec_stats.ae_data.chn[1].rawhist_big.bins[i]; in translateMultiAecStats()
721 SumHistPix[2] += statsInt->aec_stats.ae_data.chn[2].rawhist_big.bins[i]; in translateMultiAecStats()
725 …HistMean[0] += (float)(statsInt->aec_stats.ae_data.chn[0].rawhist_lite.bins[i] * (i + 1)) / (float… in translateMultiAecStats()
726 …HistMean[1] += (float)(statsInt->aec_stats.ae_data.chn[1].rawhist_big.bins[i] * (i + 1)) / (float)… in translateMultiAecStats()
727 …HistMean[2] += (float)(statsInt->aec_stats.ae_data.chn[2].rawhist_big.bins[i] * (i + 1)) / (float)… in translateMultiAecStats()
772 …MergeAecHistBinStats(statsInt->aec_stats.ae_data.chn[0].rawhist_big.bins, left_stats->params.rawhi… in translateMultiAecStats()
[all …]
H A DRkAiqResourceTranslatorV32.cpp177 memset(statsInt->aec_stats.ae_data.chn[index0].rawhist_lite.bins, 0, in translateAecStats()
179 memset(statsInt->aec_stats.ae_data.chn[index1].rawhist_big.bins, 0, in translateAecStats()
230 statsInt->aec_stats.ae_data.chn[index0].rawhist_lite.bins[tmp] += in translateAecStats()
232 statsInt->aec_stats.ae_data.chn[index1].rawhist_big.bins[tmp] += in translateAecStats()
247 memcpy(statsInt->aec_stats.ae_data.chn[index0].rawhist_lite.bins, in translateAecStats()
265 memcpy(statsInt->aec_stats.ae_data.chn[index1].rawhist_big.bins, in translateAecStats()
313 memset(statsInt->aec_stats.ae_data.chn[AeSelMode].rawhist_big.bins, 0, in translateAecStats()
362 statsInt->aec_stats.ae_data.chn[AeSelMode].rawhist_big.bins[tmp] += in translateAecStats()
366 memcpy(statsInt->aec_stats.ae_data.chn[AeSelMode].rawhist_big.bins, in translateAecStats()
388 memcpy(statsInt->aec_stats.ae_data.extra.rawhist_big.bins, in translateAecStats()
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxstat.c69 unsigned long bins[DMX_STAT_BINS]; member
167 ++s->bins[i]; in dmxStatSync()
173 ++s->bins[i]; in dmxStatSync()
216 dmxLogCont(dmxDebug, " %5lu", s->bins[j]); in dmxStatCallback()
222 s->bins[j] = 0; in dmxStatCallback()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H 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()
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/
H A Dstmmac.txt28 - snps,multicast-filter-bins: Number of multicast filter hash bins
59 snps,multicast-filter-bins = <256>;
/OK3568_Linux_fs/kernel/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() argument
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()
659 ath11k_spectral_parse_fft(fft_sample->data, fft_report->bins, num_bins, in ath11k_spectral_process_fft()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/
H A Daec_uapi_head.h233 unsigned int bins[RAWHIST_BIN_N_MAX]; member
238 unsigned int bins[SIHIST_BIN_N_MAX]; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/ae/
H A Drk_aiq_types_ae_hw.h173 unsigned int bins[RAWHIST_BIN_N_MAX]; member
177 unsigned int bins[SIHIST_BIN_N_MAX]; member
/OK3568_Linux_fs/u-boot/common/
H A Ddlmalloc.src1231 chunks. Each bin is doubly linked. The bins are approximately
1232 proportionally (log) spaced. There are a lot of these bins
1236 bins are kept in size order, with ties going to the
1240 size. This is irrelevant for the small bins, which all contain
1399 The bins, `av_' are an array of pairs of pointers serving as the
1406 8 bytes apart. Larger bins are approximately logarithmically
1412 64 bins of size 8
1413 32 bins of size 64
1414 16 bins of size 512
1415 8 bins of size 4096
[all …]
/OK3568_Linux_fs/external/common_algorithm/audio/
H A DChangelog.txt4 - Update new Para.bins and matching for new Para tool
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtremoteobjects/
H A D0001-Allow-a-tools-only-build.patch18 @@ -3,7 +3,7 @@ cmd = $${QT.remoteobjects.bins}/repc
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1/include/mapbox/
H A Dshelf-pack.hpp202 std::vector<Bin*> pack(std::vector<Bin> &bins, const PackOptions &options = PackOptions{}) { in pack() argument
205 for (auto& bin : bins) {
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
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()
1522 p_ramrod_bins->bins[i] = cpu_to_le32(bins[i]); in qed_sp_eth_filter_mcast()
H A Dqed_l2.h193 u32 bins[8]; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/altera/
H A Dsocfpga_stratix10.dtsi152 snps,multicast-filter-bins = <256>;
170 snps,multicast-filter-bins = <256>;
188 snps,multicast-filter-bins = <256>;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/intel/
H A Dsocfpga_agilex.dtsi149 snps,multicast-filter-bins = <256>;
167 snps,multicast-filter-bins = <256>;
185 snps,multicast-filter-bins = <256>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ddr/
H A Dlpddr2.txt38 speed-bins as is required. Please see Documentation/devicetree/
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dsocfpga_arria10.dtsi430 snps,multicast-filter-bins = <256>;
449 snps,multicast-filter-bins = <256>;
468 snps,multicast-filter-bins = <256>;

123