Home
last modified time | relevance | path

Searched refs:mul (Results 1 – 25 of 78) sorted by relevance

1234

/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath_tdma.h37 #define TDMA_EP_MUL(x, mul) ((x) * (mul)) argument
44 #define TDMA_EP_RND(x,mul) \ argument
45 ((((x)%(mul)) >= ((mul)/2)) ? \
46 ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
H A Dif_athvar.h220 #define ATH_EP_MUL(x, mul) ((x) * (mul)) argument
228 #define ATH_EP_RND(x,mul) \ argument
229 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/dragonfly/lib/libc/gen/
H A Dgetbsize.c43 long n, max, mul, blocksize; in getbsize() local
63 mul = GB; in getbsize()
68 mul = KB; in getbsize()
73 mul = MB; in getbsize()
77 mul = 1; in getbsize()
83 mul = 1; in getbsize()
90 if ((blocksize = n * mul) < 512) { in getbsize()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/libsupc++/
H A Dhash_bytes.cc131 static const size_t mul = (0xc6a4a793UL << 32UL) + 0x5bd1e995UL;
138 size_t hash = seed ^ (len * mul);
141 const size_t data = shift_mix(unaligned_load(p) * mul) * mul;
143 hash *= mul;
149 hash *= mul;
151 hash = shift_mix(hash) * mul;
/dragonfly/contrib/gcc-8.0/libstdc++-v3/libsupc++/
H A Dhash_bytes.cc136 static const size_t mul = (((size_t) 0xc6a4a793UL) << 32UL)
144 size_t hash = seed ^ (len * mul);
147 const size_t data = shift_mix(unaligned_load(p) * mul) * mul;
149 hash *= mul;
155 hash *= mul;
157 hash = shift_mix(hash) * mul;
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_afmt.c54 unsigned long div, mul; in amdgpu_afmt_calc_cts() local
70 mul = ((128*freq/1000) + (n-1))/n; in amdgpu_afmt_calc_cts()
72 n *= mul; in amdgpu_afmt_calc_cts()
73 cts *= mul; in amdgpu_afmt_calc_cts()
/dragonfly/contrib/tcpdump/
H A Dchecksum.c144 uint32_t mul; in create_osi_cksum() local
170 mul = (length - checksum_offset)*(c0); in create_osi_cksum()
172 x = mul - c0 - c1; in create_osi_cksum()
173 y = c1 - mul - 1; in create_osi_cksum()
/dragonfly/sys/dev/misc/syscons/dragon/
H A Ddragon_saver.c112 static int order, mul, out; in dragon_update() local
130 mul = ((krandom() & 7) + 1) * (SCRW / 320); in dragon_update()
144 dx = 0; dy = mul; in dragon_update()
147 dx = mul; dy = 0; in dragon_update()
150 dx = 0; dy = -mul; in dragon_update()
/dragonfly/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk234 function feedeq_calc_preamp(norm, gain, shift, mul, bit, attn)
240 mul = 1;
245 mul = floor((attn * FEEDEQ_PREAMP_ONE) + 0.5);
248 while ((mul % 2) == 0 && shift > 0) {
249 mul = floor(mul / 2);
253 norm["mul"] = mul;
/dragonfly/sys/dev/sound/pcm/
H A Dfeeder_matrix.c79 int mul, shift; member
158 accum = (accum * info->matrix[i].mul) >> \
239 info->matrix[i].mul = 1; in feed_matrix_reset()
276 accum = (accum * info->matrix[i].mul) >> in feed_matrix_apply_generic()
296 int mul, shift; in feed_matrix_setup() local
364 mul = (1 << (FEEDMATRIX_ATTN_SHIFT - 1)) + 143 - j; in feed_matrix_setup()
366 while ((mul & 1) == 0 && shift > 0) { in feed_matrix_setup()
367 mul >>= 1; in feed_matrix_setup()
370 info->matrix[ch].mul = mul; in feed_matrix_setup()
388 info->matrix[i].mul, info->matrix[i].shift); in feed_matrix_setup()
/dragonfly/sys/netproto/802_11/
H A Dieee80211_node.h290 #define IEEE80211_RSSI_EP_RND(x, mul) \ argument
291 ((((x) % (mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/dragonfly/sys/dev/drm/i915/
H A Dintel_dsi_vbt.c517 u32 mul; in intel_dsi_vbt_init() local
643 mul = IS_GEMINILAKE(dev_priv) ? 8 : 2; in intel_dsi_vbt_init()
648 prepare_cnt = DIV_ROUND_UP(ths_prepare_ns * ui_den, ui_num * mul); in intel_dsi_vbt_init()
653 ui_num * mul in intel_dsi_vbt_init()
668 * ui_den, ui_num * mul); in intel_dsi_vbt_init()
672 trail_cnt = DIV_ROUND_UP(tclk_trail_ns * ui_den, ui_num * mul); in intel_dsi_vbt_init()
711 lp_to_hs_switch = DIV_ROUND_UP(4 * tlpx_ui + prepare_cnt * mul + in intel_dsi_vbt_init()
712 exit_zero_cnt * mul + 10, 8); in intel_dsi_vbt_init()
H A Dintel_panel.c1341 u32 mul; in spt_hz_to_pwm() local
1344 mul = 128; in spt_hz_to_pwm()
1346 mul = 16; in spt_hz_to_pwm()
1360 u32 mul, clock; in lpt_hz_to_pwm() local
1363 mul = 16; in lpt_hz_to_pwm()
1365 mul = 128; in lpt_hz_to_pwm()
1372 return DIV_ROUND_CLOSEST(clock, pwm_freq_hz * mul); in lpt_hz_to_pwm()
1433 int mul, clock; in vlv_hz_to_pwm() local
1440 mul = 16; in vlv_hz_to_pwm()
1443 mul = 128; in vlv_hz_to_pwm()
[all …]
/dragonfly/sys/opencrypto/
H A Dgmac.c42 uint32_t mul; in ghash_gfmul() local
60 mul = v[3] & 1; in ghash_gfmul()
64 v[0] = (v[0] >> 1) ^ (0xe1000000 * mul); in ghash_gfmul()
/dragonfly/usr.bin/systat/
H A Dconvtbl.c45 uintmax_t mul; member
102 return ((double)size * tp->mul / tp->scale); in convert()
/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_asm.c114 mul(rp[0], ap[0], w, c1); in bn_mul_words()
115 mul(rp[1], ap[1], w, c1); in bn_mul_words()
116 mul(rp[2], ap[2], w, c1); in bn_mul_words()
117 mul(rp[3], ap[3], w, c1); in bn_mul_words()
124 mul(rp[0], ap[0], w, c1); in bn_mul_words()
208 mul(rp[0], ap[0], bl, bh, carry); in bn_mul_words()
209 mul(rp[1], ap[1], bl, bh, carry); in bn_mul_words()
210 mul(rp[2], ap[2], bl, bh, carry); in bn_mul_words()
211 mul(rp[3], ap[3], bl, bh, carry); in bn_mul_words()
934 mul(tp[j], ap[j], ml, mh, c0); in bn_mul_mont()
[all …]
H A Dbn_lcl.h350 #define mul(r,a,w,c) { \ macro
377 #define mul(r,a,w,c) { \ macro
405 #define mul(r,a,w,c) { \ macro
481 #define mul(r,a,bl,bh,c) { \ macro
/dragonfly/contrib/gcc-8.0/libgomp/
H A Dtaskloop.c111 UTYPE mul = num_tasks * grainsize; in GOMP_taskloop() local
113 if (mul != n) in GOMP_taskloop()
116 nfirst = n - mul - 1; in GOMP_taskloop()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5416/
H A Dar5416_ani.c38 #define HAL_EP_RND(x, mul) \ argument
39 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/
H A Dar5212_ani.c34 #define HAL_EP_RND(x, mul) \ argument
35 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/dragonfly/contrib/gcc-8.0/gcc/
H A Doptabs.def70 OPTAB_CD(smul_widen_optab, "mul$b$a3")
113 OPTAB_NL(smul_optab, "mul$Q$a3", MULT, "mul", '3', gen_int_fp_fixed_libfunc)
114 OPTAB_NX(smul_optab, "mul$P$a3")
115 OPTAB_NX(smul_optab, "mul$F$a3")
116 OPTAB_VL(smulv_optab, "mulv$I$a3", MULT, "mul", '3', gen_intv_fp_libfunc)
117 OPTAB_VX(smulv_optab, "mul$F$a3")
/dragonfly/contrib/binutils-2.27/gas/doc/
H A Dc-cris.texi98 @option{--no-mul-bug-abort}. (A subsequent
99 @option{--mul-bug-abort} will turn it back on.)
112 @cindex @option{--no-mul-bug-abort} command line option, CRIS
113 @cindex @option{--mul-bug-abort} command line option, CRIS
114 @cindex CRIS @option{--no-mul-bug-abort} command line option
115 @cindex CRIS @option{--mul-bug-abort} command line option
121 @option{--mul-bug-abort} command line option is active (the
128 @option{--mul-bug-abort} command line option turns off the
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_ani.c64 #define HAL_EP_RND(x, mul) \ argument
65 ((((x) % (mul)) >= ((mul) / 2)) ? ((x) + ((mul) - 1)) / (mul) : (x) / (mul))
/dragonfly/tools/tools/ath/athstats/
H A Dathstats.c59 #define HAL_EP_RND(x,mul) \ argument
60 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_audio.c562 unsigned long div, mul; in radeon_audio_calc_cts() local
578 mul = ((128*freq/1000) + (n-1))/n; in radeon_audio_calc_cts()
580 n *= mul; in radeon_audio_calc_cts()
581 cts *= mul; in radeon_audio_calc_cts()

1234