Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-tegra.c256 struct clk *div_clk; member
657 ret = clk_enable(i2c_dev->div_clk); in tegra_i2c_runtime_resume()
672 clk_disable(i2c_dev->div_clk); in tegra_i2c_runtime_suspend()
764 err = clk_set_rate(i2c_dev->div_clk, in tegra_i2c_init()
1513 struct clk *div_clk; in tegra_i2c_probe() local
1533 div_clk = devm_clk_get(&pdev->dev, "div-clk"); in tegra_i2c_probe()
1534 if (IS_ERR(div_clk)) { in tegra_i2c_probe()
1535 if (PTR_ERR(div_clk) != -EPROBE_DEFER) in tegra_i2c_probe()
1538 return PTR_ERR(div_clk); in tegra_i2c_probe()
1547 i2c_dev->div_clk = div_clk; in tegra_i2c_probe()
[all …]
/Linux-v5.4/drivers/phy/ti/
Dphy-ti-pipe3.c172 struct clk *div_clk; member
658 phy->div_clk = devm_clk_get(dev, "div-clk"); in ti_pipe3_get_clk()
659 if (IS_ERR(phy->div_clk)) { in ti_pipe3_get_clk()
661 return PTR_ERR(phy->div_clk); in ti_pipe3_get_clk()
664 phy->div_clk = ERR_PTR(-ENODEV); in ti_pipe3_get_clk()
878 if (!IS_ERR(phy->div_clk)) { in ti_pipe3_enable_clocks()
879 ret = clk_prepare_enable(phy->div_clk); in ti_pipe3_enable_clocks()
915 if (!IS_ERR(phy->div_clk)) in ti_pipe3_disable_clocks()
916 clk_disable_unprepare(phy->div_clk); in ti_pipe3_disable_clocks()
/Linux-v5.4/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c909 bgp->div_clk = clk_get(NULL, bgp->conf->div_ck_name); in ti_bandgap_probe()
910 if (IS_ERR(bgp->div_clk)) { in ti_bandgap_probe()
912 ret = PTR_ERR(bgp->div_clk); in ti_bandgap_probe()
932 clk_rate = clk_round_rate(bgp->div_clk, in ti_bandgap_probe()
941 ret = clk_set_rate(bgp->div_clk, clk_rate); in ti_bandgap_probe()
1045 clk_put(bgp->div_clk); in ti_bandgap_probe()
1077 clk_put(bgp->div_clk); in ti_bandgap_remove()
Dti-bandgap.h199 struct clk *div_clk; member