Lines Matching defs:dividers
49 struct atom_clock_dividers dividers;
62 engine_clock, false, ÷rs);
66 reference_divider = 1 + dividers.ref_div;
68 if (dividers.enable_post_div)
69 post_divider = ((dividers.post_div >> 4) & 0xf) +
70 (dividers.post_div & 0xf) + 2;
79 if (dividers.enable_post_div)
84 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div);
85 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf);
86 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf);
135 struct atom_clock_dividers dividers;
140 memory_clock, false, ÷rs);
144 reference_divider = dividers.ref_div + 1;
146 if (dividers.enable_post_div)
147 post_divider = ((dividers.post_div >> 4) & 0xf) +
148 (dividers.post_div & 0xf) + 2;
153 if (dividers.enable_post_div)
159 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div);
160 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf);
161 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf);
164 mpll_func_cntl_3 |= MPLL_FB_DIV(dividers.fb_div);
165 if (dividers.enable_dithen)
178 u32 clk_v = ss.percentage * dividers.fb_div / (clk_s * 10000);