Home
last modified time | relevance | path

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

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