Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv04.c148 uint32_t oldpll = nvkm_rd32(device, reg); in setPLL_single() local
149 int oldN = (oldpll >> 8) & 0xff, oldM = oldpll & 0xff; in setPLL_single()
150 uint32_t pll = (oldpll & 0xfff80000) | pv->log2P << 16 | pv->NM1; in setPLL_single()
154 if (oldpll == pll) in setPLL_single()
166 nvkm_wr32(device, reg, pv->log2P << 16 | (oldpll & 0xffff)); in setPLL_single()
169 nvkm_wr32(device, reg, (oldpll & 0xffff0000) | pv->NM1); in setPLL_single()