Searched refs:quotient (Results 1 - 4 of 4) sorted by relevance

/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr_common.c32 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient) argument
34 if (quotient == NULL) {
35 printf("%s: error: NULL quotient pointer found\n", __func__);
43 *quotient = (dividend + divisor / 2) / divisor;
H A Dmv_ddr_common.h52 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient);
/u-boot/lib/
H A Ddiv64.c73 u64 quotient; local
76 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder);
79 quotient = -quotient;
81 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder);
83 quotient = -quotient;
85 return quotient;
/u-boot/drivers/serial/
H A Dserial_sifive.c60 unsigned long quotient = local
63 if (quotient == 0)
66 return quotient - 1;

Completed in 91 milliseconds