Lines Matching refs:q1
830 unsigned long q, q1, q2; in quark_x1000_get_clk_div() local
840 q1 = DIV_ROUND_UP(fref1, rate); in quark_x1000_get_clk_div()
843 if (q1 > 256) { in quark_x1000_get_clk_div()
845 scale = fls_long(q1 - 1); in quark_x1000_get_clk_div()
847 q1 >>= scale - 9; in quark_x1000_get_clk_div()
852 q1 += q1 & 1; in quark_x1000_get_clk_div()
856 scale = __ffs(q1); in quark_x1000_get_clk_div()
857 q1 >>= scale; in quark_x1000_get_clk_div()
861 r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); in quark_x1000_get_clk_div()
876 q = q1; in quark_x1000_get_clk_div()
890 q1 = DIV_ROUND_UP(fref, rate); in quark_x1000_get_clk_div()
891 m = (1 << 24) / q1; in quark_x1000_get_clk_div()