Lines Matching full:p_clk
458 struct hi3559av100_clk_pll *p_clk = NULL; in hisi_clk_register_pll() local
463 p_clk = devm_kcalloc(dev, nums, sizeof(*p_clk), GFP_KERNEL); in hisi_clk_register_pll()
464 if (!p_clk) in hisi_clk_register_pll()
475 p_clk->ctrl_reg1 = base + clks[i].ctrl_reg1; in hisi_clk_register_pll()
476 p_clk->frac_shift = clks[i].frac_shift; in hisi_clk_register_pll()
477 p_clk->frac_width = clks[i].frac_width; in hisi_clk_register_pll()
478 p_clk->postdiv1_shift = clks[i].postdiv1_shift; in hisi_clk_register_pll()
479 p_clk->postdiv1_width = clks[i].postdiv1_width; in hisi_clk_register_pll()
480 p_clk->postdiv2_shift = clks[i].postdiv2_shift; in hisi_clk_register_pll()
481 p_clk->postdiv2_width = clks[i].postdiv2_width; in hisi_clk_register_pll()
483 p_clk->ctrl_reg2 = base + clks[i].ctrl_reg2; in hisi_clk_register_pll()
484 p_clk->fbdiv_shift = clks[i].fbdiv_shift; in hisi_clk_register_pll()
485 p_clk->fbdiv_width = clks[i].fbdiv_width; in hisi_clk_register_pll()
486 p_clk->refdiv_shift = clks[i].refdiv_shift; in hisi_clk_register_pll()
487 p_clk->refdiv_width = clks[i].refdiv_width; in hisi_clk_register_pll()
488 p_clk->hw.init = &init; in hisi_clk_register_pll()
490 clk = clk_register(NULL, &p_clk->hw); in hisi_clk_register_pll()
498 p_clk++; in hisi_clk_register_pll()