Lines Matching refs:pll_init
499 struct ccu_pll *ccu_pll_hw_register(const struct ccu_pll_init_data *pll_init) in ccu_pll_hw_register() argument
506 if (!pll_init) in ccu_pll_hw_register()
519 pll->reg_ctl = pll_init->base + CCU_PLL_CTL; in ccu_pll_hw_register()
520 pll->reg_ctl1 = pll_init->base + CCU_PLL_CTL1; in ccu_pll_hw_register()
521 pll->sys_regs = pll_init->sys_regs; in ccu_pll_hw_register()
522 pll->id = pll_init->id; in ccu_pll_hw_register()
525 hw_init.name = pll_init->name; in ccu_pll_hw_register()
526 hw_init.flags = pll_init->flags; in ccu_pll_hw_register()
533 if (!pll_init->parent_name) { in ccu_pll_hw_register()
537 parent_data.fw_name = pll_init->parent_name; in ccu_pll_hw_register()
541 ret = of_clk_hw_register(pll_init->np, &pll->hw); in ccu_pll_hw_register()