Searched refs:divisor (Results 51 - 75 of 88) sorted by relevance

1234

/freebsd-current/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_rtc_ext.h275 @Description Configures the divisor for generating the output clock from
279 @Param[in] divisor - Divisor for generation of the output clock.
285 t_Error FM_RTC_ConfigOutputClockDivisor(t_Handle h_FmRtc, uint16_t divisor);
/freebsd-current/bin/ls/tests/
H A Dls_tests.sh559 divisor=1
563 divisor=$KB
566 divisor=$MB
569 divisor=$GB
572 divisor=$TB
575 divisor=$PB
579 bc_expr="$(printf "scale=%s\n%s/%s\nquit" $scale $file_size $divisor)"
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dudivmodsi4.S20 @ unsigned int __udivmodsi4(unsigned int divident, unsigned int divisor,
H A Dudivsi3.S24 @ unsigned int __udivsi3(unsigned int divident, unsigned int divisor)
/freebsd-current/sys/dev/usb/serial/
H A Duftdi.c1464 uint32_t clk, divisor, fastclk_flag, frac, hwspeed; local
1480 * and a 14-bit divisor.
1486 * Calculate the divisor, initially yielding a fixed point number with a
1488 * hardware can handle. When the integral part of the divisor is
1493 * If the integral part of the divisor is 1, a special rule applies: the
1507 divisor = (clk << 4) / speed;
1508 if ((divisor & 0xf) == 1)
1509 divisor &= 0xfffffff8;
1511 divisor += roundoff_232a[divisor
[all...]
/freebsd-current/sys/arm/freescale/imx/
H A Dimx6_ccm.c494 imx_ccm_set_cacrr(uint32_t divisor) argument
497 WR4(ccm_sc, CCM_CACCR, divisor);
H A Dimx_i2c.c108 * FDR register to achieve that divisor.. There is no algorithmic relationship I
113 u_int divisor; member in struct:clkdiv
264 * transfer time when we set the bus speed divisor. Slaves are allowed
613 * Look up the divisor that gives the nearest speed that doesn't exceed
629 if (clkdiv_table[i].divisor >= div)
640 busfreq = ipgfreq / clkdiv_table[i].divisor;
644 * Disable the controller (do the reset), and set the new clock divisor.
/freebsd-current/sys/dev/hid/
H A Dhid.c845 int64_t divisor; local
851 divisor = 10;
856 divisor = 254;
860 divisor = 1;
864 divisor = 10;
881 (physical_size * divisor * scale[hi->unit_exponent][1]);
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c265 * First the procedure takes care of the case in which the divisor is a
267 * dividend is less than the divisor, one execution of do_div() is all that
291 v1 = (v << n) >> 32; // Normalize divisor, MSB is 1.
328 __umoddi3(uint64_t dividend, uint64_t divisor) argument
330 return (dividend - (divisor * __udivdi3(dividend, divisor)));
/freebsd-current/sys/dev/ice/
H A Dice_type.h55 * DIV_S64 - Divide signed 64-bit value with signed 64-bit divisor
57 * @divisor: value to divide by
63 static inline s64 DIV_S64(s64 dividend, s64 divisor) argument
65 return dividend / divisor;
69 * DIV_U64 - Divide unsigned 64-bit value by unsigned 64-bit divisor
71 * @divisor: value to divide by
77 static inline u64 DIV_U64(u64 dividend, u64 divisor) argument
79 return dividend / divisor;
/freebsd-current/sys/x86/x86/
H A Dlocal_apic.c346 static void lapic_timer_set_divisor(u_int divisor);
746 KASSERT(la->la_timer_period != 0, ("lapic%u: zero divisor",
928 /* Pick timer divisor. */
965 /* Pick a different divisor if necessary. */
1337 lapic_timer_set_divisor(u_int divisor) argument
1340 KASSERT(powerof2(divisor), ("lapic: invalid divisor %u", divisor)); local
1341 KASSERT(ffs(divisor) <= nitems(lapic_timer_divisors),
1342 ("lapic: invalid divisor local
[all...]
/freebsd-current/contrib/lutok/
H A Dstate_test.cpp141 /// \pre stack(-1) contains the divisor.
149 /// \throw std::runtime_error If the divisor is zero.
150 /// \throw std::string If the dividend or the divisor are negative. This is an
157 const int divisor = state.to_integer(-1); local
158 if (divisor == 0)
160 if (dividend < 0 || divisor < 0)
162 state.push_integer(dividend / divisor);
163 state.push_integer(dividend % divisor);
/freebsd-current/sys/netinet/
H A Dtcp_ratelimit.c284 SYSCTL_INT(_net_inet_tcp_rl, OID_AUTO, divisor, CTLFLAG_RW,
1600 const struct tcp_hwrate_limit_table *te, int *err, int divisor)
1613 * divisor = 1000, which is the default for now.
1619 if ((divisor == 0) ||
1620 (divisor < RL_MIN_DIVISOR)) {
1626 bytes = bw / divisor;
1599 tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1mss, const struct tcp_hwrate_limit_table *te, int *err, int divisor) argument
/freebsd-current/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl248 divisor = M[i,i]
250 M[i,k] = M[i,k] / divisor
252 V[i] = V[i] / divisor
/freebsd-current/sys/dev/mrsas/
H A Dmrsas_fp.c73 u_int32_t mega_mod64(u_int64_t dividend, u_int32_t divisor);
77 u_int64_t mega_div64_32(u_int64_t dividend, u_int32_t divisor);
162 * divisor. Assumes a check for a divisor of zero is not possible.
165 * @param divisor: Divisor
169 #define mega_mod64(dividend, divisor) ({ \
171 remainder = ((u_int64_t) (dividend)) % (u_int32_t) (divisor); \
174 #define mega_div64_32(dividend, divisor) ({ \
176 quotient = ((u_int64_t) (dividend)) / (u_int32_t) (divisor); \
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1352 integerPart *lhsSignificand, *dividend, *divisor;
1367 divisor = dividend + partsCount;
1369 /* Copy the dividend and divisor as they will be modified in-place. */
1372 divisor[i] = rhsSignificand[i];
1380 /* Normalize the divisor. */
1381 bit = precision - APInt::tcMSB(divisor, partsCount) - 1;
1384 APInt::tcShiftLeft(divisor, partsCount, bit);
1394 /* Ensure the dividend >= divisor initially for the loop below.
1397 if (APInt::tcCompare(dividend, divisor, partsCount) < 0) {
1400 assert(APInt::tcCompare(dividend, divisor, partsCoun
[all...]
H A DAPInt.cpp1299 assert(v && "Must provide divisor");
1500 // Initialize the divisor
1514 // the divisor. m is the number of words by which the dividend exceeds the
1515 // divisor (i.e. m+n is the length of the dividend). These sizes must not
1524 // If we're left with only a single word for the divisor, Knuth doesn't work
1532 uint32_t divisor = V[0];
1539 } else if (partial_dividend < divisor) {
1542 } else if (partial_dividend == divisor) {
1546 Q[i] = Lo_32(partial_dividend / divisor);
1547 remainder = Lo_32(partial_dividend - (Q[i] * divisor));
[all...]
/freebsd-current/sys/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfm_rtc.c350 t_Error FM_RTC_ConfigOutputClockDivisor(t_Handle h_FmRtc, uint16_t divisor) argument
357 p_Rtc->outputClockDivisor = divisor;
/freebsd-current/sys/amd64/vmm/io/
H A Dvlapic.c233 int divisor; local
238 divisor = vlapic_timer_divisor(lapic->dcr_timer);
239 VLAPIC_CTR2(vlapic, "vlapic dcr_timer=%#x, divisor=%d",
240 lapic->dcr_timer, divisor);
248 FREQ2BT(VLAPIC_BUS_FREQ / divisor, &vlapic->timer_freq_bt);
/freebsd-current/sys/vm/
H A Dmemguard.c72 SYSCTL_UINT(_vm_memguard, OID_AUTO, divisor, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,
170 TUNABLE_INT_FETCH("vm.memguard.divisor", &vm_memguard_divisor);
/freebsd-current/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp555 // Format dividend/divisor as a percentage. Return 1 if the result is greater
557 static uint32_t formatPercentage(uint64_t dividend, uint64_t divisor) { argument
558 if (!dividend || !divisor)
561 return dividend < divisor ? 1 : dividend / divisor;
/freebsd-current/contrib/bc/src/
H A Dnum.c1615 * digits in the divisor estimate. In other words, it is shifting the numbers in
1616 * order to force the divisor estimate to fill the limb.
1619 * @param divisor The divisor estimate.
1622 bc_num_divExtend(BcNum* restrict a, BcNum* restrict b, BcBigDig divisor) argument
1626 assert(divisor < BC_BASE_POW);
1628 pow = BC_BASE_DIGS - bc_num_log10((size_t) divisor);
1646 BcBigDig divisor; local
1684 // good "estimate" for the actual divisor.
1685 divisor
[all...]
/freebsd-current/contrib/jemalloc/src/
H A Dstats.c71 get_rate_str(uint64_t dividend, uint64_t divisor, char str[6]) { argument
72 if (divisor == 0 || dividend > divisor) {
80 unsigned n = (unsigned)((dividend * 1000) / divisor);
/freebsd-current/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp1456 Scalar divisor, dividend; local
1457 divisor = tmp.ResolveValue(exe_ctx);
1459 divisor.MakeSigned();
1461 stack.back() = dividend / divisor;
/freebsd-current/sys/kern/
H A Duipc_mbuf.c1781 int divisor = 255, progress = 0, fraglen; local
1790 if (length < 0 && divisor > MCLBYTES)
1791 divisor = MCLBYTES;
1793 length = 1 + (arc4random() % divisor);
1810 fraglen = 1 + (arc4random() % divisor);

Completed in 235 milliseconds

1234