Searched refs:calcclk1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dpllnv04.c152 int clkP, calcclk1, calcclk2, calcclkout; getMNP_double() local
171 calcclk1 = crystal * N1 / M1; getMNP_double()
172 if (calcclk1 < minvco1) getMNP_double()
174 if (calcclk1 > maxvco1) getMNP_double()
178 if (calcclk1/M2 < minU2) getMNP_double()
180 if (calcclk1/M2 > maxU2) getMNP_double()
183 /* add calcclk1/2 to round better */ getMNP_double()
184 N2 = (clkP * M2 + calcclk1/2) / calcclk1; getMNP_double()
195 calcclk2 = calcclk1 * N2 / M2; getMNP_double()
201 calcclk2 = calcclk1; getMNP_double()

Completed in 37 milliseconds