Home
last modified time | relevance | path

Searched refs:testm (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/mgag200/
Dmgag200_g200eh3.c29 unsigned int testp, testm, testn; in mgag200_g200eh3_pixpllc_atomic_check() local
37 for (testm = 150; testm >= 6; testm--) { in mgag200_g200eh3_pixpllc_atomic_check()
38 if (clock * testm > vcomax) in mgag200_g200eh3_pixpllc_atomic_check()
40 if (clock * testm < vcomin) in mgag200_g200eh3_pixpllc_atomic_check()
43 computed = (pllreffreq * testn) / testm; in mgag200_g200eh3_pixpllc_atomic_check()
51 m = testm + 1; in mgag200_g200eh3_pixpllc_atomic_check()
Dmgag200_g200se.c126 unsigned int testp, testm, testn; in mgag200_g200se_00_pixpllc_atomic_check() local
141 for (testm = 1; testm < 32; testm++) { in mgag200_g200se_00_pixpllc_atomic_check()
142 computed = (pllreffreq * testn) / (testm * testp); in mgag200_g200se_00_pixpllc_atomic_check()
149 m = testm; in mgag200_g200se_00_pixpllc_atomic_check()
210 unsigned int testp, testm, testn; in mgag200_g200se_04_pixpllc_atomic_check() local
235 for (testm = 1; testm <= 32; testm++) { in mgag200_g200se_04_pixpllc_atomic_check()
236 computed = (pllreffreq * testn) / (testm * testp); in mgag200_g200se_04_pixpllc_atomic_check()
244 m = testm; in mgag200_g200se_04_pixpllc_atomic_check()
Dmgag200_g200ew3.c36 unsigned int testp, testm, testn, testp2; in mgag200_g200ew3_pixpllc_atomic_check() local
51 for (testm = 1; testm < 26; testm++) { in mgag200_g200ew3_pixpllc_atomic_check()
53 computed = (pllreffreq * testn) / (testm * testp * testp2); in mgag200_g200ew3_pixpllc_atomic_check()
60 m = testm + 1; in mgag200_g200ew3_pixpllc_atomic_check()
Dmgag200_g200eh.c54 unsigned int testp, testm, testn; in mgag200_g200eh_pixpllc_atomic_check() local
67 for (testm = 1; testm < 33; testm++) { in mgag200_g200eh_pixpllc_atomic_check()
69 computed = (pllreffreq * testn) / (testm * testp); in mgag200_g200eh_pixpllc_atomic_check()
77 m = testm; in mgag200_g200eh_pixpllc_atomic_check()
Dmgag200_g200ev.c60 unsigned int testp, testm, testn; in mgag200_g200ev_pixpllc_atomic_check() local
74 for (testm = 1; testm < 17; testm++) { in mgag200_g200ev_pixpllc_atomic_check()
76 (testm * testp); in mgag200_g200ev_pixpllc_atomic_check()
84 m = testm; in mgag200_g200ev_pixpllc_atomic_check()
Dmgag200_g200wb.c52 unsigned int testp, testm, testn; in mgag200_g200wb_pixpllc_atomic_check() local
65 for (testm = 1; testm < 17; testm++) { in mgag200_g200wb_pixpllc_atomic_check()
67 computed = (pllreffreq * testn) / (testm * testp); in mgag200_g200wb_pixpllc_atomic_check()
75 m = testm; in mgag200_g200wb_pixpllc_atomic_check()
Dmgag200_g200er.c72 int testr, testn, testm, testo; in mgag200_g200er_pixpllc_atomic_check() local
85 for (testm = 3; testm >= 0; testm--) { in mgag200_g200er_pixpllc_atomic_check()
95 computed = vco / (m_div_val[testm] * (testo + 1)); in mgag200_g200er_pixpllc_atomic_check()
102 m = (testm | (testo << 3)) + 1; in mgag200_g200er_pixpllc_atomic_check()
Dmgag200_g200.c78 u8 testp, testm, testn; in mgag200_g200_pixpllc_atomic_check() local
104 for (testm = in_div_min; testm <= in_div_max; testm++) { in mgag200_g200_pixpllc_atomic_check()
106 computed = ref_clk * (testn + 1) / (testm + 1); in mgag200_g200_pixpllc_atomic_check()
113 m = testm + 1; in mgag200_g200_pixpllc_atomic_check()
/drivers/video/fbdev/intelfb/
Dintelfbhw.c882 int testm; in splitm() local
888 testm = (5 * (m1 + 2)) + (m2 + 2); in splitm()
889 if (testm == m) { in splitm()
938 u32 m1, m2, n, p1, p2, n1, testm; in calc_pll_params() local
975 for (testm = m - 1; testm <= m; testm++) { in calc_pll_params()
976 f_out = calc_vclock3(index, testm, n, p); in calc_pll_params()
977 if (splitm(index, testm, &m1, &m2)) { in calc_pll_params()
979 testm); in calc_pll_params()
988 m_best = testm; in calc_pll_params()