Searched refs:cur_pll (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gm20b.c | 364 struct gm20b_pll cur_pll; in gm20b_pllg_program_mnp() local 371 gm20b_pllg_read_mnp(clk, &cur_pll); in gm20b_pllg_program_mnp() 372 pdiv_only = cur_pll.base.n == n_int && cur_pll.sdm_din == sdm_din && in gm20b_pllg_program_mnp() 373 cur_pll.base.m == pll->m; in gm20b_pllg_program_mnp() 389 u32 old = cur_pll.base.pl; in gm20b_pllg_program_mnp() 399 cur_pll.base.pl = min(old | BIT(ffs(new) - 1), in gm20b_pllg_program_mnp() 401 gk20a_pllg_write_mnp(&clk->base, &cur_pll.base); in gm20b_pllg_program_mnp() 404 cur_pll.base.pl = new; in gm20b_pllg_program_mnp() 405 gk20a_pllg_write_mnp(&clk->base, &cur_pll.base); in gm20b_pllg_program_mnp() 410 cur_pll.base = *pll; in gm20b_pllg_program_mnp() [all …]
|
D | gk20a.c | 300 struct gk20a_pll cur_pll; in gk20a_pllg_program_mnp() local 303 gk20a_pllg_read_mnp(clk, &cur_pll); in gk20a_pllg_program_mnp() 337 struct gk20a_pll cur_pll; in gk20a_pllg_program_mnp_slide() local 341 gk20a_pllg_read_mnp(clk, &cur_pll); in gk20a_pllg_program_mnp_slide() 344 if (pll->m == cur_pll.m && pll->pl == cur_pll.pl) in gk20a_pllg_program_mnp_slide() 348 cur_pll.n = gk20a_pllg_n_lo(clk, &cur_pll); in gk20a_pllg_program_mnp_slide() 349 ret = gk20a_pllg_slide(clk, cur_pll.n); in gk20a_pllg_program_mnp_slide() 355 cur_pll = *pll; in gk20a_pllg_program_mnp_slide() 356 cur_pll.n = gk20a_pllg_n_lo(clk, &cur_pll); in gk20a_pllg_program_mnp_slide() 357 ret = gk20a_pllg_program_mnp(clk, &cur_pll); in gk20a_pllg_program_mnp_slide()
|