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

/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/
H A Dnouveau_nvkm_subdev_devinit_nv04.c153 uint32_t oldpll = nvkm_rd32(device, reg); local
154 int oldN = (oldpll >> 8) & 0xff, oldM = oldpll & 0xff;
155 uint32_t pll = (oldpll & 0xfff80000) | pv->log2P << 16 | pv->NM1;
159 if (oldpll == pll)
171 nvkm_wr32(device, reg, pv->log2P << 16 | (oldpll & 0xffff));
174 nvkm_wr32(device, reg, (oldpll & 0xffff0000) | pv->NM1);

Completed in 121 milliseconds