Lines Matching full:crystal
48 int crystal = info->refclk; in getMNP_single() local
55 /* possibly correlated with introduction of 27MHz crystal */ in getMNP_single()
93 if (crystal/M < minU) in getMNP_single()
95 if (crystal/M > maxU) in getMNP_single()
98 /* add crystal/2 to round better */ in getMNP_single()
99 N = (clkP * M + crystal/2) / crystal; in getMNP_single()
107 calcclk = ((N * crystal + P/2) / P + M/2) / M; in getMNP_single()
149 int crystal = info->refclk; in getMNP_double() local
165 if (crystal/M1 < minU1) in getMNP_double()
167 if (crystal/M1 > maxU1) in getMNP_double()
171 calcclk1 = crystal * N1 / M1; in getMNP_double()