Searched refs:div (Results 1 - 25 of 51) sorted by relevance

123

/device/linaro/bootloader/arm-trusted-firmware/drivers/delay_timer/
H A Dgeneric_delay_timer.c31 void generic_delay_timer_init_args(uint32_t mult, uint32_t div) argument
35 ops.clk_div = div;
39 VERBOSE("Generic delay timer configured with mult=%u and div=%u\n",
40 mult, div);
49 unsigned int div = plat_get_syscnt_freq2(); local
52 while ((mult % 10 == 0) && (div % 10 == 0)) {
54 div /= 10;
57 generic_delay_timer_init_args(mult, div);
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/
H A Dgeneric_delay_timer.h12 void generic_delay_timer_init_args(uint32_t mult, uint32_t div);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
H A DModU64x32.c36 div ecx
38 div ecx
H A DDivU64x32.c28 div ecx
31 div ecx
H A DDivU64x32Remainder.c29 div ecx
32 div ecx
H A DDivU64x32.asm38 div ecx
41 div ecx
H A DDivU64x32Remainder.asm39 div ecx ; eax <- quotient[32..63], edx <- remainder
42 div ecx ; eax <- quotient[0..31]
H A DModU64x32.asm38 div ecx
40 div ecx
H A DDivU64x64Remainder.c39 div ebx
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
H A DModU64x32.c43 div ecx
45 div ecx
H A DDivU64x32.c43 div ecx
46 div ecx
H A DDivU64x32Remainder.c44 div ecx
47 div ecx
H A DDivU64x32.asm38 div ecx
41 div ecx
H A DDivU64x32Remainder.asm39 div ecx ; eax <- quotient[32..63], edx <- remainder
42 div ecx ; eax <- quotient[0..31]
H A DModU64x32.asm38 div ecx
40 div ecx
/device/linaro/bootloader/arm-trusted-firmware/include/lib/
H A Dutils_def.h23 * be used in C code as the `div` parameter is evaluated twice.
58 #define div_round_up(val, div) __extension__ ({ \
59 __typeof__(div) _div = (div); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dfractions.py415 __div__, __rdiv__ = _operator_fallbacks(_div, operator.div)
420 div = a / b
421 if isinstance(div, Rational):
422 # trunc(math.floor(div)) doesn't work if the rational is
425 return div.numerator // div.denominator
427 return math.floor(div)
432 div = a / b
433 if isinstance(div, Rational):
434 # trunc(math.floor(div)) does
[all...]
/device/google/contexthub/firmware/os/platform/stm32/
H A Dusart.c96 uint32_t baseClk, div, intPart, fraPart; local
119 div = (baseClk * 25) / (baud * 2);
120 intPart = div / 100;
121 fraPart = div % 100;
H A Dspi.c176 unsigned int div; local
182 div = pclk / mode->speed;
183 if (div > SPI_CR1_BR_MAX)
185 else if (div < SPI_CR1_BR_MIN)
186 div = SPI_CR1_BR_MIN;
198 regs->CR1 |= SPI_CR1_BR(div);
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
H A DXdiv.c2 The div, ldiv, and lldiv, functions compute numer / denom and
5 The div, ldiv, and lldiv functions return a structure of type div_t, ldiv_t,
32 div(int num, int denom) function
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
H A DDivU64x32.c57 div ecx ; Dividend Divisor Quoitent...Remainder
63 div ecx ; Leave the REMAINDER in EDX as High 32-bit of new dividend
H A DDivU64x32.asm65 div ecx ; Dividend Divisor Quoitent...Remainder
71 div ecx ; Leave the REMAINDER in EDX as High 32-bit of new dividend
/device/linaro/bootloader/arm-trusted-firmware/drivers/synopsys/emmc/
H A Ddw_mmc.c156 int div; local
160 for (div = 1; div < 256; div++) {
161 if ((dw_params.clk_rate / (2 * div)) <= clk) {
165 assert(div < 256);
176 mmio_write_32(dw_params.reg_base + DWMMC_CLKDIV, div);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dcomplexobject.c602 Py_complex div, mod; local
611 div = c_quot(a, b); /* The raw divisor value. */
616 div.real = floor(div.real); /* Use the floor of the real part. */
617 div.imag = 0.0;
618 mod = c_diff(a, c_prod(b, div));
627 Py_complex div, mod; local
637 div = c_quot(a, b); /* The raw divisor value. */
642 div.real = floor(div
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dcomplexobject.c598 Py_complex div, mod; local
607 div = c_quot(a, b); /* The raw divisor value. */
612 div.real = floor(div.real); /* Use the floor of the real part. */
613 div.imag = 0.0;
614 mod = c_diff(a, c_prod(b, div));
623 Py_complex div, mod; local
633 div = c_quot(a, b); /* The raw divisor value. */
638 div.real = floor(div
[all...]

Completed in 230 milliseconds

123