41 int N1, M1,
N2,
M2,
P;
46 nv_error(clk,
"failed to retrieve pll data, %d\n", ret);
52 nv_error(clk,
"failed pll calculation\n");
59 nv_wr32(priv,
info.reg + 0, 0x10000611);
60 nv_mask(priv,
info.reg + 4, 0x00ff00ff, (M1 << 16) | N1);
61 nv_mask(priv,
info.reg + 8, 0x7fff00ff, (P << 28) |
65 nv_mask(priv,
info.reg + 0, 0x01ff0000, (P << 22) |
68 nv_wr32(priv,
info.reg + 4, (N1 << 8) | M1);
71 nv_mask(priv,
info.reg + 0, 0x00070000, (P << 16));
72 nv_wr32(priv,
info.reg + 4, (N1 << 8) | M1);
88 *pobject = nv_object(priv);
92 priv->
base.pll_set = nv50_clock_pll_set;
101 .ctor = nv50_clock_ctor,