Lines Matching refs:m2
45 int m1, m2;
66 intel_range_t dot, vco, n, m, m1, m2, p, p1;
124 .m2 = { .min = 6, .max = 16 },
138 .m2 = { .min = 6, .max = 16 },
152 .m2 = { .min = 3, .max = 7 },
166 .m2 = { .min = 5, .max = 9 },
181 .m2 = { .min = 5, .max = 11 },
197 .m2 = { .min = 5, .max = 11 },
211 .m2 = { .min = 5, .max = 11 },
226 .m2 = { .min = 5, .max = 11 },
241 .m2 = { .min = 0x05, .max = 0x06 },
255 /* Pineview only has one combined m divider, which we treat as m2. */
257 .m2 = { .min = 0, .max = 254 },
271 .m2 = { .min = 0, .max = 254 },
290 .m2 = { .min = 5, .max = 9 },
304 .m2 = { .min = 5, .max = 9 },
318 .m2 = { .min = 5, .max = 9 },
333 .m2 = { .min = 5, .max = 9 },
347 .m2 = { .min = 5, .max = 9 },
361 .m2 = { .min = 5, .max = 9 },
375 .m2 = { .min = 11, .max = 156 },
389 .m2 = { .min = 11, .max = 156 },
403 .m2 = { .min = 11, .max = 156 },
606 clock->m = clock->m2 + 2;
618 clock->m = 5 * (clock->m1 + 2) + (clock->m2 + 2);
653 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2)
654 INTELPllInvalid("m2 out of range\n");
657 if (clock->m1 <= clock->m2 && !IS_PINEVIEW(dev))
658 INTELPllInvalid("m1 <= m2\n");
708 for (clock.m2 = limit->m2.min;
709 clock.m2 <= limit->m2.max; clock.m2++) {
711 if (clock.m2 >= clock.m1 && !IS_PINEVIEW(dev))
777 /* based on hardware requirement, prefere larger m1,m2 */
780 for (clock.m2 = limit->m2.max;
781 clock.m2 >= limit->m2.min; clock.m2--) {
821 clock.m2 = 9;
827 clock.m2 = 8;
846 clock.m2 = 8;
852 clock.m2 = 2;
854 clock.m = 5 * (clock.m1 + 2) + (clock.m2 + 2);
866 u32 p1, p2, m1, m2, vco, bestn, bestm1, bestm2, bestp1, bestp2;
880 n = p = p1 = p2 = m = m1 = m2 = vco = bestn = 0;
891 /* based on hardware requirement, prefer bigger m1,m2 values */
893 m2 = (((2*(fastclk * p * n / m1 )) +
895 m = m1 * m2;
911 bestm2 = m2;
923 best_clock->m2 = bestm2;
4266 clock->m2 = 8;
4273 clock->m2 = 8;
4288 fp = (1 << clock->n) << 16 | clock->m1 << 8 | clock->m2;
4291 reduced_clock->m1 << 8 | reduced_clock->m2;
4293 fp = clock->n << 16 | clock->m1 << 8 | clock->m2;
4296 reduced_clock->m2;
4384 bestm2 = clock->m2;
4736 * reflck * (5 * (m1 + 2) + (m2 + 2)) / (n + 2) / p1 / p2.
5292 * reflck * (5 * (m1 + 2) + (m2 + 2)) / (n + 2) / p1 / p2.
5644 fp = clock.n << 16 | clock.m1 << 8 | clock.m2;
5647 reduced_clock.m2;
5851 fp = clock.n << 16 | clock.m1 << 8 | clock.m2;
5854 reduced_clock.m2;
6845 clock.m2 = (fp & FP_M2_PINEVIEW_DIV_MASK) >> FP_M2_DIV_SHIFT;
6848 clock.m2 = (fp & FP_M2_DIV_MASK) >> FP_M2_DIV_SHIFT;