Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/sh/clk/
Dcore.c228 struct clk *clkp; in propagate_rate() local
230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
231 if (clkp->ops && clkp->ops->recalc) in propagate_rate()
232 clkp->rate = clkp->ops->recalc(clkp); in propagate_rate()
234 propagate_rate(clkp); in propagate_rate()
319 struct clk *clkp; in recalculate_root_clocks() local
321 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
322 if (clkp->ops && clkp->ops->recalc) in recalculate_root_clocks()
323 clkp->rate = clkp->ops->recalc(clkp); in recalculate_root_clocks()
324 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 …]
/linux-4.19.296/drivers/clk/
Dclk.c3481 struct clk **clkp; in devm_clk_register() local
3483 clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); in devm_clk_register()
3484 if (!clkp) in devm_clk_register()
3489 *clkp = clk; in devm_clk_register()
3490 devres_add(dev, clkp); in devm_clk_register()
3492 devres_free(clkp); in devm_clk_register()
/linux-4.19.296/drivers/clk/tegra/
Dclk-tegra210.c3045 struct clk **clkp; in tegra210_periph_clk_init() local
3047 clkp = tegra_lookup_dt_id(init->clk_id, tegra210_clks); in tegra210_periph_clk_init()
3048 if (!clkp) { in tegra210_periph_clk_init()
3054 *clkp = clk; in tegra210_periph_clk_init()