Searched refs:mul (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_tdma.h37 #define TDMA_EP_MUL(x, mul) ((x) * (mul))
44 #define TDMA_EP_RND(x,mul) \
45 ((((x)%(mul)) >= ((mul)/2)) ? \
46 ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/freebsd-11-stable/lib/libc/quad/TESTS/
H A DMakefile3 all: mul divrem
5 MUL= mul.c ../muldi3.c
6 mul: ${MUL}
/freebsd-11-stable/lib/libc/gen/
H A Dgetbsize.c45 long n, max, mul, blocksize; local
65 mul = GB;
70 mul = KB;
75 mul = MB;
79 mul = 1;
85 mul = 1;
92 if ((blocksize = n * mul) < 512) {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dcityhash.c42 cityhash_helper(uint64_t u, uint64_t v, uint64_t mul) argument
44 uint64_t a = (u ^ v) * mul;
46 uint64_t b = (v ^ a) * mul;
48 b *= mul;
55 uint64_t mul = HASH_K2 + 64; local
58 uint64_t c = w4 * mul;
61 a + rotate(b + HASH_K2, 18) + c, mul));
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofArith.d52 mul = offsetof(record_t, x) * offsetof(record_t, c);
61 printf("Multiplication of offsets (x*c) = %d\n", mul);
69 (0 != offsetof(record_t, c)) || (12 != add) || (4 != sub) || (0 != mul)
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/x86/
H A Dsqr.pl28 &mul("eax"); # *a * *a
49 &mul("eax"); # *a * *a
H A Dmul.pl34 &mul($w); # *a * w
62 &mul($w); # *a * w
H A Dmul_add.pl40 &mul($w); # *a * w
68 &mul($w); # *a * w
H A Dcomba.pl11 &comment("mul a[$ai]*b[$bi]");
17 &mul("edx");
46 { &mul("eax");}
48 { &mul("edx");}
75 { &mul("eax");}
77 { &mul("edx");}
/freebsd-11-stable/sys/dev/syscons/dragon/
H A Ddragon_saver.c128 static int order, mul, out; local
146 mul = ((random() & 7) + 1) * (SCRW / 320);
160 dx = 0; dy = mul;
163 dx = mul; dy = 0;
166 dx = 0; dy = -mul;
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dx86-mont.pl322 &mul ($word); # ap[j]*bp[0]
332 &mul ($word); # ap[num-1]*bp[0]
345 &mul ($word); # np[0]*m
357 &mul ($word); # ap[j]*bp[i]
369 &mul ($word); # ap[num-1]*bp[i]
386 &mul ($word); # np[0]*m
395 &mul ($word); # np[j]*m
407 &mul ($word); # np[j]*m
439 &mul ($word); # ap[0]*ap[0]
448 &mul (
[all...]
H A Dco-586.pl23 &comment("mul a[$ai]*b[$bi]");
29 &mul("edx");
58 { &mul("eax");}
60 { &mul("edx");}
87 { &mul("eax");}
89 { &mul("edx");}
H A Dbn-586.pl166 &mul($w); # *a * w
192 &mul($w); # *a * w
278 &mul($w); # *a * w
306 &mul($w); # *a * w
378 &mul("eax"); # *a * *a
399 &mul("eax"); # *a * *a
/freebsd-11-stable/sys/arm/mv/armadaxp/
H A Dmptramp.S48 mul r2, r0, r1
/freebsd-11-stable/usr.bin/systat/
H A Dconvtbl.c53 uintmax_t mul; member in struct:convtbl
60 /* mul, scale, str, name */
106 return ((double)size * tp->mul / tp->scale);
/freebsd-11-stable/contrib/tcpdump/
H A Dchecksum.c144 uint32_t mul; local
170 mul = (length - checksum_offset)*(c0);
172 x = mul - c0 - c1;
173 y = c1 - mul - 1;
/freebsd-11-stable/stand/ficl/
H A Dmath64.h54 DPUNS m64Mac(DPUNS u, FICL_UNS mul, FICL_UNS add);
H A Dmath64.c144 ** Multiplies DPUNS u by FICL_UNS mul and adds FICL_UNS add. Mul is typically
149 DPUNS m64Mac(DPUNS u, FICL_UNS mul, FICL_UNS add) argument
151 DPUNS resultLo = ficlLongMul(u.lo, mul);
152 DPUNS resultHi = ficlLongMul(u.hi, mul);
/freebsd-11-stable/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;
411 printf("\tint32_t mul, shift;\n");
419 norm["mul"], nor
[all...]
/freebsd-11-stable/sys/arm/at91/
H A Dat91_pmc.c405 uint32_t mul, div, freq; local
409 mul = (reg >> clk->pll_mul_shift) & clk->pll_mul_mask;
413 freq, div, mul + 1, (freq/div) * (mul+1));
416 if (div != 0 && mul != 0) {
418 freq *= mul + 1;
429 uint32_t i, div = 0, mul = 0, diff = 1 << 30; local
458 mul = mul1;
470 ((mul - 1) << clk->pll_mul_shift) |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_options.c664 dtrace_optval_t mul = 1; local
674 mul *= 1024;
678 mul *= 1024;
682 mul *= 1024;
686 mul *= 1024;
693 *rval = strtoull(arg, &end, 0) * mul;
695 if ((mul > 1 && end != &arg[len - 1]) || (mul == 1 && *end != '\0') ||
719 dtrace_optval_t mul = 1, val = 0; local
723 hrtime_t mul; member in struct:__anon53
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_node.h288 #define IEEE80211_RSSI_EP_RND(x, mul) \
289 ((((x) % (mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_soc.c166 uint32_t val, mul, div, res; local
176 mul = MT7620_PLL_MULT_RATIO_BASE + ((val >> MT7620_PLL_MULT_RATIO_OFF) &
185 res = (MT7620_XTAL_40 * mul) / div;
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dfeeder_matrix.c79 int mul, shift; member in struct:feed_matrix_info::__anon7867
158 accum = (accum * info->matrix[i].mul) >> \
239 info->matrix[i].mul = 1;
276 accum = (accum * info->matrix[i].mul) >>
296 int mul, shift; local
364 mul = (1 << (FEEDMATRIX_ATTN_SHIFT - 1)) + 143 - j;
366 while ((mul & 1) == 0 && shift > 0) {
367 mul >>= 1;
370 info->matrix[ch].mul = mul;
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_asm.c111 mul(rp[0], ap[0], w, c1);
112 mul(rp[1], ap[1], w, c1);
113 mul(rp[2], ap[2], w, c1);
114 mul(rp[3], ap[3], w, c1);
121 mul(rp[0], ap[0], w, c1);
204 mul(rp[0], ap[0], bl, bh, carry);
205 mul(rp[1], ap[1], bl, bh, carry);
206 mul(rp[2], ap[2], bl, bh, carry);
207 mul(rp[3], ap[3], bl, bh, carry);
214 mul(r
[all...]

Completed in 251 milliseconds

123