/freebsd/sys/dev/ath/ |
H A D | if_ath_tdma.h | 37 #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))
|
/freebsd/lib/libc/gen/ |
H A D | getbsize.c | 41 long n, max, mul, blocksize; in getbsize() local 61 mul = GB; in getbsize() 66 mul = KB; in getbsize() 71 mul = MB; in getbsize() 75 mul = 1; in getbsize() 81 mul = 1; in getbsize() 88 if ((blocksize = n * mul) < 512) { in getbsize()
|
/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | cityhash.c | 42 cityhash_helper(uint64_t u, uint64_t v, uint64_t mul) in cityhash_helper() argument 44 uint64_t a = (u ^ v) * mul; in cityhash_helper() 46 uint64_t b = (v ^ a) * mul; in cityhash_helper() 48 b *= mul; in cityhash_helper() 55 uint64_t mul = HASH_K2 + 64; in cityhash_impl() local 58 uint64_t c = w4 * mul; in cityhash_impl() 61 a + rotate(b + HASH_K2, 18) + c, mul)); in cityhash_impl()
|
/freebsd/sys/crypto/openssl/aarch64/ |
H A D | armv8-mont.S | 46 mul x6,x7,x9 // ap[0]*bp[0] 49 mul x10,x8,x9 // ap[1]*bp[0] 52 mul x15,x6,x4 // "tp[0]"*n0 57 mul x16,x14,x15 // np[1]*m1 81 mul x10,x8,x9 // ap[j]*bp[0] 86 mul x16,x14,x15 // np[j]*m1 114 mul x6,x7,x9 // ap[0]*bp[i] 118 mul x10,x8,x9 // ap[1]*bp[i] 123 mul x15,x6,x4 128 mul x16,x14,x15 // np[1]*m1 [all …]
|
H A D | ecp_nistz256-armv8.S | 2649 mul x14,x4,x3 // a[0]*b[0] 2652 mul x15,x5,x3 // a[1]*b[0] 2655 mul x16,x6,x3 // a[2]*b[0] 2658 mul x17,x7,x3 // a[3]*b[0] 2672 mul x8,x4,x3 // lo(a[0]*b[i]) 2674 mul x9,x5,x3 // lo(a[1]*b[i]) 2676 mul x10,x6,x3 // lo(a[2]*b[i]) 2678 mul x11,x7,x3 // lo(a[3]*b[i]) 2701 mul x8,x4,x3 // lo(a[0]*b[i]) 2703 mul x9,x5,x3 // lo(a[1]*b[i]) [all …]
|
/freebsd/sys/arm64/qoriq/clk/ |
H A D | qoriq_clk_pll.c | 74 uint32_t mul; in qoriq_clk_pll_recalc_freq() local 78 RD4(clk, sc->offset, &mul); in qoriq_clk_pll_recalc_freq() 80 if (sc->flags & QORIQ_CLK_PLL_HAS_KILL_BIT && mul & QORIQ_PLL_KILL_BIT) in qoriq_clk_pll_recalc_freq() 83 mul &= sc->mask; in qoriq_clk_pll_recalc_freq() 84 mul >>= sc->shift; in qoriq_clk_pll_recalc_freq() 86 *freq = *freq * mul; in qoriq_clk_pll_recalc_freq()
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_common.h | 291 #define RTE_ALIGN_MUL_CEIL(v, mul) \ argument 292 (((v + (typeof(v))(mul) - 1) / ((typeof(v))(mul))) * (typeof(v))(mul)) 299 #define RTE_ALIGN_MUL_FLOOR(v, mul) \ argument 300 ((v / ((typeof(v))(mul))) * (typeof(v))(mul)) 307 #define RTE_ALIGN_MUL_NEAR(v, mul) \ argument 309 typeof(v) ceil = RTE_ALIGN_MUL_CEIL(v, mul); \ 310 typeof(v) floor = RTE_ALIGN_MUL_FLOOR(v, mul); \
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | x86-mont.pl | 330 &mul ($word); # ap[j]*bp[0] 340 &mul ($word); # ap[num-1]*bp[0] 353 &mul ($word); # np[0]*m 363 &mul ($word); # ap[j]*bp[i] 375 &mul ($word); # ap[num-1]*bp[i] 392 &mul ($word); # np[0]*m 400 &mul ($word); # np[j]*m 412 &mul ($word); # np[j]*m 443 &mul ($word); # ap[0]*ap[0] 452 &mul ($word); # ap[j]*ap[0] [all …]
|
H A D | co-586.pl | 39 &mul("edx"); 68 { &mul("eax");} 70 { &mul("edx");} 97 { &mul("eax");} 99 { &mul("edx");}
|
/freebsd/contrib/tcpdump/ |
H A D | checksum.c | 109 uint32_t mul; in create_osi_cksum() local 135 mul = (length - checksum_offset)*(c0); in create_osi_cksum() 137 x = mul - c0 - c1; in create_osi_cksum() 138 y = c1 - mul - 1; in create_osi_cksum()
|
/freebsd/lib/libc/tests/gen/ |
H A D | glob2_test.c | 52 unsigned i, j, k, mul; in ATF_TC_BODY() local 75 for (j = 0; j < mul; j++) { in ATF_TC_BODY() 95 dt /= mul; in ATF_TC_BODY() 101 mul = 1; in ATF_TC_BODY()
|
/freebsd/lib/libc/quad/TESTS/ |
H A D | Makefile | 1 all: mul divrem 3 MUL= mul.c ../muldi3.c 4 mul: ${MUL} target
|
/freebsd/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 109 static int order, mul, out; in dragon_update() local 127 mul = ((random() & 7) + 1) * (SCRW / 320); in dragon_update() 141 dx = 0; dy = mul; in dragon_update() 144 dx = mul; dy = 0; in dragon_update() 147 dx = 0; dy = -mul; in dragon_update()
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ec_all_m31.c | 97 return br_ec_p256_m64.mul(G, Glen, kb, kblen, curve); in api_mul() 99 return br_ec_p256_m31.mul(G, Glen, kb, kblen, curve); in api_mul() 103 return br_ec_c25519_m64.mul(G, Glen, kb, kblen, curve); in api_mul() 105 return br_ec_c25519_m31.mul(G, Glen, kb, kblen, curve); in api_mul() 108 return br_ec_prime_i31.mul(G, Glen, kb, kblen, curve); in api_mul()
|
H A D | ec_all_m15.c | 72 return br_ec_p256_m15.mul(G, Glen, kb, kblen, curve); in api_mul() 74 return br_ec_c25519_m15.mul(G, Glen, kb, kblen, curve); in api_mul() 76 return br_ec_prime_i15.mul(G, Glen, kb, kblen, curve); in api_mul()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/ |
H A D | tst.OffsetofArith.d | 52 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/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_options.c | 677 dtrace_optval_t mul = 1; in dt_optval_parse() local 687 mul *= 1024; in dt_optval_parse() 691 mul *= 1024; in dt_optval_parse() 695 mul *= 1024; in dt_optval_parse() 699 mul *= 1024; in dt_optval_parse() 706 *rval = strtoull(arg, &end, 0) * mul; in dt_optval_parse() 708 if ((mul > 1 && end != &arg[len - 1]) || (mul == 1 && *end != '\0') || in dt_optval_parse() 744 dtrace_optval_t mul = 1, val = 0; in dt_opt_rate() local 748 hrtime_t mul; in dt_opt_rate() member 774 mul = suffix[i].mul; in dt_opt_rate() [all …]
|
/freebsd/sys/tools/sound/ |
H A D | feeder_eq_mkfilter.awk | 235 function feedeq_calc_preamp(norm, gain, shift, mul, bit, attn) 241 mul = 1; 246 mul = floor((attn * FEEDEQ_PREAMP_ONE) + 0.5); 249 while ((mul % 2) == 0 && shift > 0) { 250 mul = floor(mul / 2); 254 norm["mul"] = mul;
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math_impl.h | 276 const unsigned mul = *((unsigned *)private); in raidz_mul_abd_cb() local 284 MUL(mul, MUL_D); in raidz_mul_abd_cb() 288 MUL(mul, MUL_D); in raidz_mul_abd_cb() 880 const unsigned *mul) in raidz_rec_pq_abd() argument 902 MUL(mul[MUL_PQ_X], REC_PQ_X); in raidz_rec_pq_abd() 903 MUL(mul[MUL_PQ_Y], REC_PQ_Y); in raidz_rec_pq_abd() 1041 const unsigned *mul) in raidz_rec_pr_abd() argument 1062 MUL(mul[MUL_PR_X], REC_PR_X); in raidz_rec_pr_abd() 1063 MUL(mul[MUL_PR_Y], REC_PR_Y); in raidz_rec_pr_abd() 1205 const unsigned *mul) in raidz_rec_qr_abd() argument [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | feeder_matrix.c | 79 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 363 mul = (1 << (FEEDMATRIX_ATTN_SHIFT - 1)) + 143 - j; in feed_matrix_setup() 365 while ((mul & 1) == 0 && shift > 0) { in feed_matrix_setup() 366 mul >>= 1; in feed_matrix_setup() 369 info->matrix[ch].mul = mul; in feed_matrix_setup() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfoDMR.td | 88 [!cast<DMRROW>("DMRROW"#!mul(Index, 2)), 89 !cast<DMRROW>("DMRROW"#!add(!mul(Index, 2), 1))]>, DwarfRegNum<[-1, -1]>; 100 [!cast<DMRROWp>("DMRROWp"#!mul(Index, 4)), 101 !cast<DMRROWp>("DMRROWp"#!add(!mul(Index, 4), 1))]>, DwarfRegNum<[-1, -1]>; 110 [!cast<DMRROWp>("DMRROWp"#!add(!mul(Index, 4), 2)), 111 !cast<DMRROWp>("DMRROWp"#!add(!mul(Index, 4), 3))]>, DwarfRegNum<[-1, -1]>;
|
/freebsd/usr.bin/sed/tests/ |
H A D | math.sed | 182 # move any mul/divs to the front via parans 187 # can we div or mul 189 b mul 293 # turn mul into add until 1*x -> x, 0*x -> 0 294 : mul 319 b mul
|
/freebsd/sys/net80211/ |
H A D | ieee80211_node.h | 317 #define IEEE80211_RSSI_EP_RND(x, mul) \ argument 318 ((((x) % (mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
|
/freebsd/contrib/arm-optimized-routines/string/aarch64/ |
H A D | memcpy-sve.S | 66 ld1b z0.b, p0/z, [src, 0, mul vl] 67 ld1b z1.b, p1/z, [src, 1, mul vl] 68 st1b z0.b, p0, [dstin, 0, mul vl] 69 st1b z1.b, p1, [dstin, 1, mul vl]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoM.td | 28 def MUL : ALU_rr<0b0000001, 0b000, "mul", Commutable=1>, 70 def : PatGprGpr<mul, MUL>; 85 def : PatGprGpr<binop_allwusers<mul>, MULW>; 114 def : Pat<(i64 (mul (and GPR:$rs1, 0xffffffff), (and GPR:$rs2, 0xffffffff))), 123 def : PatGprGpr<mul, MULW, i32, i32>;
|