Home
last modified time | relevance | path

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

/u-boot/lib/
A Ddiv64.c73 u64 quotient; in div_s64_rem() local
76 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
79 quotient = -quotient; in div_s64_rem()
81 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
83 quotient = -quotient; in div_s64_rem()
85 return quotient; in div_s64_rem()
/u-boot/drivers/ddr/marvell/a38x/
A Dmv_ddr_common.c32 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient) in round_div() argument
34 if (quotient == NULL) { in round_div()
43 *quotient = (dividend + divisor / 2) / divisor; in round_div()
A Dmv_ddr_common.h52 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient);
/u-boot/drivers/serial/
A Dserial_sifive.c61 unsigned long quotient = in uart_min_clk_divisor() local
64 if (quotient == 0) in uart_min_clk_divisor()
67 return quotient - 1; in uart_min_clk_divisor()

Completed in 6 milliseconds