Lines Matching refs:m2
30 } dot, vco, n, m, m1, m2, p, p1; member
43 .m2 = { .min = 6, .max = 16 },
56 .m2 = { .min = 6, .max = 16 },
69 .m2 = { .min = 6, .max = 16 },
82 .m2 = { .min = 3, .max = 7 },
95 .m2 = { .min = 3, .max = 7 },
109 .m2 = { .min = 5, .max = 11 },
124 .m2 = { .min = 5, .max = 11 },
137 .m2 = { .min = 5, .max = 11 },
151 .m2 = { .min = 5, .max = 11 },
167 .m2 = { .min = 0, .max = 254 },
180 .m2 = { .min = 0, .max = 254 },
198 .m2 = { .min = 5, .max = 9 },
211 .m2 = { .min = 5, .max = 9 },
224 .m2 = { .min = 5, .max = 9 },
238 .m2 = { .min = 5, .max = 9 },
251 .m2 = { .min = 5, .max = 9 },
269 .m2 = { .min = 11, .max = 156 },
285 .m2 = { .min = 24 << 22, .max = 175 << 22 },
296 .m2 = { .min = 2 << 22, .max = 255 << 22 },
312 clock->m = clock->m2 + 2; in pnv_calc_dpll_params()
324 return 5 * (dpll->m1 + 2) + (dpll->m2 + 2); in i9xx_dpll_compute_m()
341 clock->m = clock->m1 * clock->m2; in vlv_calc_dpll_params()
353 clock->m = clock->m1 * clock->m2; in chv_calc_dpll_params()
376 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in intel_pll_is_valid()
382 if (clock->m1 <= clock->m2) in intel_pll_is_valid()
454 for (clock.m2 = limit->m2.min; in i9xx_find_best_dpll()
455 clock.m2 <= limit->m2.max; clock.m2++) { in i9xx_find_best_dpll()
456 if (clock.m2 >= clock.m1) in i9xx_find_best_dpll()
512 for (clock.m2 = limit->m2.min; in pnv_find_best_dpll()
513 clock.m2 <= limit->m2.max; clock.m2++) { in pnv_find_best_dpll()
575 for (clock.m2 = limit->m2.max; in g4x_find_best_dpll()
576 clock.m2 >= limit->m2.min; clock.m2--) { in g4x_find_best_dpll()
672 clock.m2 = DIV_ROUND_CLOSEST(target * clock.p * clock.n, in vlv_find_best_dpll()
714 u64 m2; in chv_find_best_dpll() local
736 m2 = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(target, clock.p * clock.n) << 22, in chv_find_best_dpll()
739 if (m2 > INT_MAX/clock.m1) in chv_find_best_dpll()
742 clock.m2 = m2; in chv_find_best_dpll()
775 return dpll->n << 16 | dpll->m1 << 8 | dpll->m2; in i9xx_dpll_compute_fp()
780 return (1 << dpll->n) << 16 | dpll->m2; in pnv_dpll_compute_fp()
1637 bestm2 = crtc_state->dpll.m2; in vlv_prepare_pll()
1766 bestm2_frac = crtc_state->dpll.m2 & 0x3fffff; in chv_prepare_pll()
1768 bestm2 = crtc_state->dpll.m2 >> 22; in chv_prepare_pll()