Lines Matching refs:ref_div
79 * @ref_div: resulting reference divider
87 unsigned int *fb_div, unsigned int *ref_div)
97 *ref_div = clamp(DIV_ROUND_CLOSEST(den, post_div), 1u, ref_div_max);
98 *fb_div = DIV_ROUND_CLOSEST(nom * *ref_div * post_div, den);
102 *ref_div = DIV_ROUND_CLOSEST(*ref_div * fb_div_max, *fb_div);
120 * dot_clock = (ref_freq * feedback_div) / (ref_div * post_div)
136 unsigned ref_div_min, ref_div_max, ref_div;
211 ref_div_max, &fb_div, &ref_div);
213 (ref_div * post_div));
226 &fb_div, &ref_div);
230 amdgpu_pll_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min);
238 ref_div *= tmp;
253 (ref_div * post_div * 10);
254 *ref_div_p = ref_div;
259 ref_div, post_div);