Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/
H A Dclk-versaclock7.c297 u64 qhat, rhat; in vc7_128_div_64_to_64() local
342 qhat = div64_u64_rem(numhi, den1, &rhat); in vc7_128_div_64_to_64()
343 c1 = qhat * den0; in vc7_128_div_64_to_64()
346 qhat -= (c1 - c2 > den) ? 2 : 1; in vc7_128_div_64_to_64()
347 q1 = (u32)qhat; in vc7_128_div_64_to_64()
356 qhat = div64_u64_rem(rem, den1, &rhat); in vc7_128_div_64_to_64()
357 c1 = qhat * den0; in vc7_128_div_64_to_64()
360 qhat -= (c1 - c2 > den) ? 2 : 1; in vc7_128_div_64_to_64()
361 q0 = (u32)qhat; in vc7_128_div_64_to_64()