Home
last modified time | relevance | path

Searched refs:clkp (Results 1 – 4 of 4) sorted by relevance

/drivers/sh/clk/
Dcore.c227 struct clk *clkp; in propagate_rate() local
229 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
230 if (clkp->ops && clkp->ops->recalc) in propagate_rate()
231 clkp->rate = clkp->ops->recalc(clkp); in propagate_rate()
233 propagate_rate(clkp); in propagate_rate()
318 struct clk *clkp; in recalculate_root_clocks() local
320 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
321 if (clkp->ops && clkp->ops->recalc) in recalculate_root_clocks()
322 clkp->rate = clkp->ops->recalc(clkp); in recalculate_root_clocks()
323 propagate_rate(clkp); in recalculate_root_clocks()
[all …]
Dcpg.c96 struct clk *clkp; in sh_clk_mstp_register() local
101 clkp = clks + k; in sh_clk_mstp_register()
102 clkp->ops = &sh_clk_mstp_clk_ops; in sh_clk_mstp_register()
103 ret |= clk_register(clkp); in sh_clk_mstp_register()
244 struct clk *clkp; in sh_clk_div_register_ops() local
259 clkp = clks + k; in sh_clk_div_register_ops()
261 clkp->ops = ops; in sh_clk_div_register_ops()
262 clkp->priv = table; in sh_clk_div_register_ops()
264 clkp->freq_table = freq_table + (k * freq_table_size); in sh_clk_div_register_ops()
265 clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; in sh_clk_div_register_ops()
[all …]
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c340 static int get_clk(struct platform_device *pdev, struct clk **clkp, in get_clk() argument
349 *clkp = clk; in get_clk()
/drivers/clk/
Dclk.c2490 struct clk **clkp; in devm_clk_register() local
2492 clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); in devm_clk_register()
2493 if (!clkp) in devm_clk_register()
2498 *clkp = clk; in devm_clk_register()
2499 devres_add(dev, clkp); in devm_clk_register()
2501 devres_free(clkp); in devm_clk_register()