Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/i2c/busses/
Di2c-tegra.c194 struct clk *div_clk; member
463 ret = clk_enable(i2c_dev->div_clk); in tegra_i2c_runtime_resume()
478 clk_disable(i2c_dev->div_clk); in tegra_i2c_runtime_suspend()
933 struct clk *div_clk; in tegra_i2c_probe() local
952 div_clk = devm_clk_get(&pdev->dev, "div-clk"); in tegra_i2c_probe()
953 if (IS_ERR(div_clk)) { in tegra_i2c_probe()
955 return PTR_ERR(div_clk); in tegra_i2c_probe()
963 i2c_dev->div_clk = div_clk; in tegra_i2c_probe()
1011 ret = clk_set_rate(i2c_dev->div_clk, in tegra_i2c_probe()
1018 ret = clk_prepare(i2c_dev->div_clk); in tegra_i2c_probe()
[all …]
/Linux-v4.19/drivers/phy/ti/
Dphy-ti-pipe3.c135 struct clk *div_clk; member
499 phy->div_clk = devm_clk_get(dev, "div-clk"); in ti_pipe3_get_clk()
500 if (IS_ERR(phy->div_clk)) { in ti_pipe3_get_clk()
502 return PTR_ERR(phy->div_clk); in ti_pipe3_get_clk()
505 phy->div_clk = ERR_PTR(-ENODEV); in ti_pipe3_get_clk()
721 if (!IS_ERR(phy->div_clk)) { in ti_pipe3_enable_clocks()
722 ret = clk_prepare_enable(phy->div_clk); in ti_pipe3_enable_clocks()
758 if (!IS_ERR(phy->div_clk)) in ti_pipe3_disable_clocks()
759 clk_disable_unprepare(phy->div_clk); in ti_pipe3_disable_clocks()
/Linux-v4.19/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c923 bgp->div_clk = clk_get(NULL, bgp->conf->div_ck_name); in ti_bandgap_probe()
924 if (IS_ERR(bgp->div_clk)) { in ti_bandgap_probe()
926 ret = PTR_ERR(bgp->div_clk); in ti_bandgap_probe()
946 clk_rate = clk_round_rate(bgp->div_clk, in ti_bandgap_probe()
955 ret = clk_set_rate(bgp->div_clk, clk_rate); in ti_bandgap_probe()
1059 clk_put(bgp->div_clk); in ti_bandgap_probe()
1091 clk_put(bgp->div_clk); in ti_bandgap_remove()
Dti-bandgap.h213 struct clk *div_clk; member