Searched refs:quotient (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/lib/ |
D | div64.c | 73 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()
|
/linux-4.19.296/drivers/clk/qcom/ |
D | clk-alpha-pll.c | 392 u64 quotient; in alpha_pll_round_rate() local 394 quotient = rate; in alpha_pll_round_rate() 395 remainder = do_div(quotient, prate); in alpha_pll_round_rate() 396 *l = quotient; in alpha_pll_round_rate() 404 quotient = remainder << ALPHA_SHIFT(alpha_width); in alpha_pll_round_rate() 406 remainder = do_div(quotient, prate); in alpha_pll_round_rate() 409 quotient++; in alpha_pll_round_rate() 411 *a = quotient; in alpha_pll_round_rate() 598 u64 quotient; in alpha_huayra_pll_round_rate() local 600 quotient = rate; in alpha_huayra_pll_round_rate() [all …]
|
/linux-4.19.296/drivers/media/tuners/ |
D | max2165.c | 160 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument 181 *quotient = q; in fixpt_div32() 192 u32 quotient, fraction; in max2165_set_rf() local 197 "ient, &fraction); in max2165_set_rf() 204 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
|