Lines Matching refs:pll_lim
171 struct nvbios_pll pll_lim; in nouveau_hw_get_pllvals() local
174 ret = nvbios_pll_parse(bios, plltype, &pll_lim); in nouveau_hw_get_pllvals()
175 if (ret || !(reg1 = pll_lim.reg)) in nouveau_hw_get_pllvals()
200 pllvals->refclk = pll_lim.refclk; in nouveau_hw_get_pllvals()
264 struct nvbios_pll pll_lim; in nouveau_hw_fix_bad_vpll() local
268 if (nvbios_pll_parse(bios, pll, &pll_lim)) in nouveau_hw_fix_bad_vpll()
272 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll()
273 pv.N1 >= pll_lim.vco1.min_n && pv.N1 <= pll_lim.vco1.max_n && in nouveau_hw_fix_bad_vpll()
274 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll()
280 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll()
281 pv.N1 = pll_lim.vco1.min_n; in nouveau_hw_fix_bad_vpll()
282 pv.log2P = pll_lim.max_p_usable; in nouveau_hw_fix_bad_vpll()
283 clk->pll_prog(clk, pll_lim.reg, &pv); in nouveau_hw_fix_bad_vpll()