Home
last modified time | relevance | path

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

/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.c81 struct clk *clkp; in sh_clk_mstp_register() local
86 clkp = clks + k; in sh_clk_mstp_register()
87 clkp->ops = &sh_clk_mstp_clk_ops; in sh_clk_mstp_register()
88 ret |= clk_register(clkp); in sh_clk_mstp_register()
229 struct clk *clkp; in sh_clk_div_register_ops() local
244 clkp = clks + k; in sh_clk_div_register_ops()
246 clkp->ops = ops; in sh_clk_div_register_ops()
247 clkp->priv = table; in sh_clk_div_register_ops()
249 clkp->freq_table = freq_table + (k * freq_table_size); in sh_clk_div_register_ops()
250 clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; in sh_clk_div_register_ops()
[all …]
/drivers/gpu/drm/sti/
Dsti_dvo.c286 struct clk *clkp; in sti_dvo_set_mode() local
296 clkp = dvo->clk_main_parent; in sti_dvo_set_mode()
298 clkp = dvo->clk_aux_parent; in sti_dvo_set_mode()
300 if (clkp) { in sti_dvo_set_mode()
301 clk_set_parent(dvo->clk_pix, clkp); in sti_dvo_set_mode()
302 clk_set_parent(dvo->clk, clkp); in sti_dvo_set_mode()
Dsti_gdp.c666 struct clk *clkp; in sti_gdp_atomic_check() local
675 clkp = gdp->clk_main_parent; in sti_gdp_atomic_check()
677 clkp = gdp->clk_aux_parent; in sti_gdp_atomic_check()
679 if (clkp) in sti_gdp_atomic_check()
680 clk_set_parent(gdp->clk_pix, clkp); in sti_gdp_atomic_check()
/drivers/clk/
Dclk.c4277 struct clk **clkp; in devm_clk_register() local
4279 clkp = devres_alloc(devm_clk_unregister_cb, sizeof(*clkp), GFP_KERNEL); in devm_clk_register()
4280 if (!clkp) in devm_clk_register()
4285 *clkp = clk; in devm_clk_register()
4286 devres_add(dev, clkp); in devm_clk_register()
4288 devres_free(clkp); in devm_clk_register()
4392 struct clk **clkp; in devm_clk_hw_get_clk() local
4400 clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); in devm_clk_hw_get_clk()
4401 if (!clkp) in devm_clk_hw_get_clk()
4406 *clkp = clk; in devm_clk_hw_get_clk()
[all …]
/drivers/net/can/rcar/
Drcar_canfd.c517 struct clk *clkp; /* Peripheral clock */ member
1826 gpriv->clkp = devm_clk_get(&pdev->dev, "fck"); in rcar_canfd_probe()
1827 if (IS_ERR(gpriv->clkp)) { in rcar_canfd_probe()
1828 err = PTR_ERR(gpriv->clkp); in rcar_canfd_probe()
1914 err = clk_prepare_enable(gpriv->clkp); in rcar_canfd_probe()
1974 clk_disable_unprepare(gpriv->clkp); in rcar_canfd_probe()
1997 clk_disable_unprepare(gpriv->clkp); in rcar_canfd_remove()
/drivers/clk/tegra/
Dclk-tegra124.c1071 struct clk **clkp; in tegra124_periph_clk_init() local
1073 clkp = tegra_lookup_dt_id(init->clk_id, tegra124_clks); in tegra124_periph_clk_init()
1074 if (!clkp) { in tegra124_periph_clk_init()
1080 *clkp = clk; in tegra124_periph_clk_init()
Dclk-tegra210.c3172 struct clk **clkp; in tegra210_periph_clk_init() local
3174 clkp = tegra_lookup_dt_id(init->clk_id, tegra210_clks); in tegra210_periph_clk_init()
3175 if (!clkp) { in tegra210_periph_clk_init()
3181 *clkp = clk; in tegra210_periph_clk_init()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c558 static int get_clk(struct platform_device *pdev, struct clk **clkp, in get_clk() argument
570 *clkp = clk; in get_clk()