Lines Matching refs:dividers
44 struct atom_clock_dividers dividers;
57 engine_clock, false, ÷rs);
61 reference_divider = 1 + dividers.ref_div;
63 if (dividers.enable_post_div)
64 post_divider = ((dividers.post_div >> 4) & 0xf) +
65 (dividers.post_div & 0xf) + 2;
74 if (dividers.enable_post_div)
79 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div);
80 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf);
81 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf);
130 struct atom_clock_dividers dividers;
135 memory_clock, false, ÷rs);
139 reference_divider = dividers.ref_div + 1;
141 if (dividers.enable_post_div)
142 post_divider = ((dividers.post_div >> 4) & 0xf) +
143 (dividers.post_div & 0xf) + 2;
148 if (dividers.enable_post_div)
154 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div);
155 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf);
156 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf);
159 mpll_func_cntl_3 |= MPLL_FB_DIV(dividers.fb_div);
160 if (dividers.enable_dithen)
173 u32 clk_v = ss.percentage * dividers.fb_div / (clk_s * 10000);