/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.h | 49 * [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]} 72 * [7:0]: lower bins {max_magnitude[1:0], bitmap_weight[5:0]} 73 * [7:0]: lower bins max_magnitude[9:2] 74 * [7:0]: lower bins {max_index[5:0], max_magnitude[11:10]} 75 * [7:0]: upper bins {max_magnitude[1:0], bitmap_weight[5:0]} 76 * [7:0]: upper bins max_magnitude[9:2] 77 * [7:0]: upper bins {max_index[5:0], max_magnitude[11:10]} 105 /* grabs the max magnitude from the all/upper/lower bins */ spectral_max_magnitude() 106 static inline u16 spectral_max_magnitude(u8 *bins) spectral_max_magnitude() argument 108 return (bins[0] & 0xc0) >> 6 | spectral_max_magnitude() 109 (bins[1] & 0xff) << 2 | spectral_max_magnitude() 110 (bins[2] & 0x03) << 10; spectral_max_magnitude() 113 /* return the max magnitude from the all/upper/lower bins */ spectral_max_index() 114 static inline u8 spectral_max_index(u8 *bins) spectral_max_index() argument 116 s8 m = (bins[2] & 0xfc) >> 2; spectral_max_index() 127 /* return the bitmap weight from the all/upper/lower bins */ spectral_bitmap_weight() 128 static inline u8 spectral_bitmap_weight(u8 *bins) spectral_bitmap_weight() argument 130 return bins[0] & 0x3f; spectral_bitmap_weight()
|
H A D | common-spectral.c | 45 u8 num_bins, *bins, *vdata = (u8 *)hdr; ath_cmn_process_fft() local 76 bins = (u8 *)fft_sample_40.data; ath_cmn_process_fft() 80 bins = (u8 *)fft_sample_20.data; ath_cmn_process_fft() 90 memcpy(bins, vdata, num_bins); ath_cmn_process_fft() 94 memcpy(&bins[1], vdata, num_bins - 1); ath_cmn_process_fft() 95 bins[0] = vdata[0]; ath_cmn_process_fft() 99 memcpy(bins, vdata, 30); ath_cmn_process_fft() 100 bins[30] = vdata[31]; ath_cmn_process_fft() 101 memcpy(&bins[31], &vdata[33], num_bins - 31); ath_cmn_process_fft() 105 bins[0] = vdata[0]; ath_cmn_process_fft() 106 memcpy(&bins[1], vdata, 30); ath_cmn_process_fft() 107 bins[31] = vdata[31]; ath_cmn_process_fft() 108 memcpy(&bins[32], &vdata[33], num_bins - 32); ath_cmn_process_fft() 118 bins[dc_pos] = (bins[dc_pos + 1] + bins[dc_pos - 1]) / 2; ath_cmn_process_fft()
|
H A D | ar9003_phy.h | 52 #define AR_PHY_SPUR_REG_ENABLE_MASK_PPM 0x20000 /* bins move with freq offset */
|
/linux-4.1.27/tools/testing/selftests/timers/ |
H A D | Makefile | 15 bins = $(TEST_PROGS) $(TEST_PROGS_EXTENDED) macro 17 all: ${bins} 36 rm -f ${bins}
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | shmparam.h | 12 /* Handle upto 2 cache bins */
|
/linux-4.1.27/net/sched/ |
H A D | sch_sfb.c | 32 * SFB uses two B[l][n] : L x N arrays of bins (L levels, N bins per level) 38 #define SFB_NUMBUCKETS (1 << SFB_BUCKET_SHIFT) /* N bins per Level */ 53 struct sfb_bucket bins[SFB_LEVELS][SFB_NUMBUCKETS]; member in struct:sfb_bins 72 u8 slot; /* current active bins (0 or 1) */ 74 struct sfb_bins bins[2]; member in struct:sfb_sched_data 87 * Each queued skb might be hashed on one or two bins 129 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; increment_one_qlen() 158 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; decrement_one_qlen() 195 memset(&q->bins, 0, sizeof(q->bins)); sfb_zero_all_buckets() 205 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0]; sfb_compute_qlen() 223 q->bins[slot].perturbation = prandom_u32(); sfb_init_perturbation() 327 q->bins[slot].perturbation); sfb_enqueue() 334 struct sfb_bucket *b = &q->bins[slot].bins[i][hash]; sfb_enqueue() 362 q->bins[slot].perturbation); sfb_enqueue() 369 struct sfb_bucket *b = &q->bins[slot].bins[i][hash]; sfb_enqueue()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | spectral.c | 43 /* peak index outside of bins */ get_max_exp() 68 u8 chain_idx, *bins; ath10k_spectral_process_fft() local 96 * show, the particular configuration of 80 MHz/64 bins does ath10k_spectral_process_fft() 131 bins = (u8 *)fftr; ath10k_spectral_process_fft() 132 bins += sizeof(*fftr); ath10k_spectral_process_fft() 140 bin_len, bins); ath10k_spectral_process_fft() 142 memcpy(fft_sample->data, bins, bin_len); ath10k_spectral_process_fft() 417 unsigned int len, bins, fft_size, bin_scale; read_file_spectral_bins() local 423 bins = 1 << (fft_size - bin_scale); read_file_spectral_bins() 427 len = sprintf(buf, "%d\n", bins); read_file_spectral_bins()
|
H A D | spectral.h | 26 * @fft_size: number of bins to be requested = 2^(fft_size - bin_scale)
|
H A D | wmi.h | 3821 /* number of bins in the FFT: 2^(fft_size - bin_scale) */ 3840 * 1x- oversampled bins(in-band) per FFT + spectral scan summary 3843 * 2x- oversampled bins (all) per FFT + spectral scan summary
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 57 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 58 * @mcast_bins: Multicast filtering bins 60 * this function validates the number of Multicast filtering bins specified 62 * 64 bins, 128 bins, or 256 bins. "bins" refer to the division of CRC 63 * number space. 64 bins correspond to 6 bits of the CRC, 128 corresponds 213 of_property_read_u32(np, "snps,multicast-filter-bins", stmmac_probe_config_dt() 328 /* Set default value for multicast hash bins */ stmmac_pltfr_probe()
|
H A D | stmmac_pci.c | 86 /* Set default value for multicast hash bins */ stmmac_default_data() 121 /* Set default value for multicast hash bins */ quark_default_data()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | omap3isp.h | 178 /* Flags for number of bins */ 184 /* Number of bins * 4 colors * 4-bytes word */ 223 __u16 hist_bins; /* number of bins: 32, 64, 128, or 256 */
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgt215.c | 106 u8 median[8], bins[4] = {0, 0, 0, 0}, bin = 0, qty = 0; gt215_link_train_calc() local 129 bins[(median[i] & 0xf0) >> 4]++; gt215_link_train_calc() 135 if (bins[i] > qty) { gt215_link_train_calc() 137 qty = bins[i]; gt215_link_train_calc()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
H A D | lustre_import.h | 65 unsigned int at_hist[AT_BINS]; /* timeout history bins */
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.c | 2532 /* Get a bin and update a bins' vector */ bnx2x_mcast_set_one_rule_e2() 2540 /* If there were no more bins to clear bnx2x_mcast_set_one_rule_e2() 2575 * returns last handled bin index or -1 if all bins have been handled 2584 /* go through the registry and configure the bins from it */ bnx2x_mcast_handle_restore_cmd_e2() 2668 /* If we cleared all bins - we are done */ bnx2x_mcast_hdl_pending_del_e2() 2835 * the same bin and the actual number of bins set in the bnx2x_mcast_validate_e2() 2844 /* Here we assume that all new MACs will fall into new bins. bnx2x_mcast_validate_e2() 2894 * bnx2x_mcast_refresh_registry_e2 - recalculate the actual number of set bins 2899 * Recalculate the actual number of set bins in the registry using Brian 2900 * Kernighan's algorithm: it's execution complexity is as a number of set bins. 2965 * set bins after the last requested operation in order to properly bnx2x_mcast_setup_e2() 2972 * know in this scope what the actual state of bins configuration is bnx2x_mcast_setup_e2()
|
/linux-4.1.27/include/linux/ceph/ |
H A D | rados.h | 91 * increases over time. b is the number of bins, and bmask is the
|
/linux-4.1.27/net/irda/ |
H A D | irqueue.c | 86 * lock only the individual bins, it will never be able to lock the 118 * data of the hashbin and not only the bins themselves.
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | import.c | 1529 /* Bin into timeslices using AT_BINS bins. 1565 /* move bins over */ at_measured()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.c | 774 u_int bins[DE4X5_PKT_STAT_SZ]; /* Private stats counters */ member in struct:pkt_stats 1866 lp->pktStats.bins[i]++; de4x5_local_stats() 1880 lp->pktStats.bins[0]++; /* Duplicates stats.rx_packets */ de4x5_local_stats() 1881 if (lp->pktStats.bins[0] == 0) { /* Reset counters */ de4x5_local_stats()
|
/linux-4.1.27/net/batman-adv/ |
H A D | network-coding.c | 642 /* Loop hash table bins */ batadv_nc_process_nc_paths()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_pm.c | 3873 /* Max/min bins are special */ gen6_set_rps_thresholds()
|