Lines Matching refs:calcclk1
389 int clkP, calcclk1, calcclk2, calcclkout;
408 calcclk1 = crystal * N1 / M1;
409 if (calcclk1 < minvco1)
411 if (calcclk1 > maxvco1)
415 if (calcclk1/M2 < minU2)
417 if (calcclk1/M2 > maxU2)
420 /* add calcclk1/2 to round better */
421 N2 = (clkP * M2 + calcclk1/2) / calcclk1;
432 calcclk2 = calcclk1 * N2 / M2;
438 calcclk2 = calcclk1;