Home
last modified time | relevance | path

Searched refs:zclk (Results 1 – 3 of 3) sorted by relevance

/drivers/clk/shmobile/
Dclk-rcar-gen2.c60 struct cpg_z_clk *zclk = to_z_clk(hw); in cpg_z_clk_recalc_rate() local
64 val = (clk_readl(zclk->reg) & CPG_FRQCRC_ZFC_MASK) in cpg_z_clk_recalc_rate()
89 struct cpg_z_clk *zclk = to_z_clk(hw); in cpg_z_clk_set_rate() local
97 if (clk_readl(zclk->kick_reg) & CPG_FRQCRB_KICK) in cpg_z_clk_set_rate()
100 val = clk_readl(zclk->reg); in cpg_z_clk_set_rate()
103 clk_writel(val, zclk->reg); in cpg_z_clk_set_rate()
109 kick = clk_readl(zclk->kick_reg); in cpg_z_clk_set_rate()
111 clk_writel(kick, zclk->kick_reg); in cpg_z_clk_set_rate()
123 if (!(clk_readl(zclk->kick_reg) & CPG_FRQCRB_KICK)) in cpg_z_clk_set_rate()
142 struct cpg_z_clk *zclk; in cpg_z_clk_register() local
[all …]
/drivers/crypto/marvell/
Dcesa.c463 engine->zclk = devm_clk_get(dev, res_name); in mv_cesa_probe()
464 if (IS_ERR(engine->zclk)) in mv_cesa_probe()
465 engine->zclk = NULL; in mv_cesa_probe()
471 ret = clk_prepare_enable(engine->zclk); in mv_cesa_probe()
508 clk_disable_unprepare(cesa->engines[i].zclk); in mv_cesa_probe()
524 clk_disable_unprepare(cesa->engines[i].zclk); in mv_cesa_remove()
Dcesa.h443 struct clk *zclk; member