Lines Matching refs:cur_pll
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()
411 cur_pll.base.n = n_int; in gm20b_pllg_program_mnp()
412 cur_pll.sdm_din = sdm_din; in gm20b_pllg_program_mnp()
413 gm20b_pllg_write_mnp(clk, &cur_pll); in gm20b_pllg_program_mnp()
435 struct gk20a_pll cur_pll; in gm20b_pllg_program_mnp_slide() local
439 gk20a_pllg_read_mnp(&clk->base, &cur_pll); in gm20b_pllg_program_mnp_slide()
442 if (pll->m == cur_pll.m && pll->pl == cur_pll.pl) in gm20b_pllg_program_mnp_slide()
446 cur_pll.n = gk20a_pllg_n_lo(&clk->base, &cur_pll); in gm20b_pllg_program_mnp_slide()
447 ret = gm20b_pllg_slide(clk, cur_pll.n); in gm20b_pllg_program_mnp_slide()
453 cur_pll = *pll; in gm20b_pllg_program_mnp_slide()
454 cur_pll.n = gk20a_pllg_n_lo(&clk->base, &cur_pll); in gm20b_pllg_program_mnp_slide()
455 ret = gm20b_pllg_program_mnp(clk, &cur_pll); in gm20b_pllg_program_mnp_slide()