Lines Matching refs:ddiv
240 struct ddiv_clk *ddiv = to_ddiv_clock(divider); in rzv2h_ddiv_set_rate() local
241 struct rzv2h_cpg_priv *priv = ddiv->priv; in rzv2h_ddiv_set_rate()
254 ret = rzv2h_cpg_wait_ddiv_clk_update_done(priv->base, ddiv->mon); in rzv2h_ddiv_set_rate()
263 ret = rzv2h_cpg_wait_ddiv_clk_update_done(priv->base, ddiv->mon); in rzv2h_ddiv_set_rate()
287 struct ddiv cfg_ddiv = core->cfg.ddiv; in rzv2h_cpg_ddiv_clk_register()
295 struct ddiv_clk *ddiv; in rzv2h_cpg_ddiv_clk_register() local
307 ddiv = devm_kzalloc(priv->dev, sizeof(*ddiv), GFP_KERNEL); in rzv2h_cpg_ddiv_clk_register()
308 if (!ddiv) in rzv2h_cpg_ddiv_clk_register()
316 ddiv->priv = priv; in rzv2h_cpg_ddiv_clk_register()
317 ddiv->mon = cfg_ddiv.monbit; in rzv2h_cpg_ddiv_clk_register()
318 div = &ddiv->div; in rzv2h_cpg_ddiv_clk_register()