Lines Matching refs:dividers
42 struct atom_clock_dividers dividers;
55 engine_clock, false, ÷rs);
59 reference_divider = 1 + dividers.ref_div;
61 if (dividers.enable_post_div)
62 post_divider = ((dividers.post_div >> 4) & 0xf) +
63 (dividers.post_div & 0xf) + 2;
72 if (dividers.enable_post_div)
77 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div);
78 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf);
79 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf);
128 struct atom_clock_dividers dividers;
133 memory_clock, false, ÷rs);
137 reference_divider = dividers.ref_div + 1;
139 if (dividers.enable_post_div)
140 post_divider = ((dividers.post_div >> 4) & 0xf) +
141 (dividers.post_div & 0xf) + 2;
146 if (dividers.enable_post_div)
152 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div);
153 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf);
154 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf);
157 mpll_func_cntl_3 |= MPLL_FB_DIV(dividers.fb_div);
158 if (dividers.enable_dithen)
171 u32 clk_v = ss.percentage * dividers.fb_div / (clk_s * 10000);