Home
last modified time | relevance | path

Searched refs:clkp (Results 1 – 8 of 8) 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/clk/
Dclk-mb86s7x.c189 char clkp[20]; in crg11_get() local
199 snprintf(clkp, 20, "UngatedCLK%d_%X", cntrlr, domain); in crg11_get()
201 snprintf(clkp, 20, "CLK%d_%X_%d", cntrlr, domain, port); in crg11_get()
205 clk = __clk_lookup(clkp); in crg11_get()
217 init.name = clkp; in crg11_get()
229 pr_debug("Registered %s\n", clkp); in crg11_get()
231 clk_register_clkdev(clk, clkp, NULL); in crg11_get()
Dclk.c2776 struct clk **clkp; in devm_clk_register() local
2778 clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); in devm_clk_register()
2779 if (!clkp) in devm_clk_register()
2784 *clkp = clk; in devm_clk_register()
2785 devres_add(dev, clkp); in devm_clk_register()
2787 devres_free(clkp); in devm_clk_register()
/drivers/gpu/drm/sti/
Dsti_dvo.c294 struct clk *clkp; in sti_dvo_set_mode() local
304 clkp = dvo->clk_main_parent; in sti_dvo_set_mode()
306 clkp = dvo->clk_aux_parent; in sti_dvo_set_mode()
308 if (clkp) { in sti_dvo_set_mode()
309 clk_set_parent(dvo->clk_pix, clkp); in sti_dvo_set_mode()
310 clk_set_parent(dvo->clk, clkp); in sti_dvo_set_mode()
Dsti_gdp.c664 struct clk *clkp; in sti_gdp_atomic_check() local
673 clkp = gdp->clk_main_parent; in sti_gdp_atomic_check()
675 clkp = gdp->clk_aux_parent; in sti_gdp_atomic_check()
677 if (clkp) in sti_gdp_atomic_check()
678 clk_set_parent(gdp->clk_pix, clkp); in sti_gdp_atomic_check()
/drivers/net/can/rcar/
Drcar_canfd.c515 struct clk *clkp; /* Peripheral clock */ member
1681 gpriv->clkp = devm_clk_get(&pdev->dev, "fck"); in rcar_canfd_probe()
1682 if (IS_ERR(gpriv->clkp)) { in rcar_canfd_probe()
1683 err = PTR_ERR(gpriv->clkp); in rcar_canfd_probe()
1739 err = clk_prepare_enable(gpriv->clkp); in rcar_canfd_probe()
1799 clk_disable_unprepare(gpriv->clkp); in rcar_canfd_probe()
1819 clk_disable_unprepare(gpriv->clkp); in rcar_canfd_remove()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c422 static int get_clk(struct platform_device *pdev, struct clk **clkp, in get_clk() argument
434 *clkp = clk; in get_clk()