Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-tegra.c182 struct clk *div_clk; member
428 ret = clk_enable(i2c_dev->div_clk); in tegra_i2c_runtime_resume()
443 clk_disable(i2c_dev->div_clk); in tegra_i2c_runtime_suspend()
877 struct clk *div_clk; in tegra_i2c_probe() local
896 div_clk = devm_clk_get(&pdev->dev, "div-clk"); in tegra_i2c_probe()
897 if (IS_ERR(div_clk)) { in tegra_i2c_probe()
899 return PTR_ERR(div_clk); in tegra_i2c_probe()
907 i2c_dev->div_clk = div_clk; in tegra_i2c_probe()
955 ret = clk_set_rate(i2c_dev->div_clk, in tegra_i2c_probe()
962 ret = clk_prepare(i2c_dev->div_clk); in tegra_i2c_probe()
[all …]
/drivers/phy/
Dphy-ti-pipe3.c99 struct clk *div_clk; member
427 phy->div_clk = devm_clk_get(dev, "div-clk"); in ti_pipe3_get_clk()
428 if (IS_ERR(phy->div_clk)) { in ti_pipe3_get_clk()
430 return PTR_ERR(phy->div_clk); in ti_pipe3_get_clk()
433 phy->div_clk = ERR_PTR(-ENODEV); in ti_pipe3_get_clk()
628 if (!IS_ERR(phy->div_clk)) { in ti_pipe3_enable_clocks()
629 ret = clk_prepare_enable(phy->div_clk); in ti_pipe3_enable_clocks()
665 if (!IS_ERR(phy->div_clk)) in ti_pipe3_disable_clocks()
666 clk_disable_unprepare(phy->div_clk); in ti_pipe3_disable_clocks()
/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c1297 bgp->div_clk = clk_get(NULL, bgp->conf->div_ck_name); in ti_bandgap_probe()
1298 if (IS_ERR(bgp->div_clk)) { in ti_bandgap_probe()
1300 ret = PTR_ERR(bgp->div_clk); in ti_bandgap_probe()
1320 clk_rate = clk_round_rate(bgp->div_clk, in ti_bandgap_probe()
1329 ret = clk_set_rate(bgp->div_clk, clk_rate); in ti_bandgap_probe()
1434 clk_put(bgp->div_clk); in ti_bandgap_probe()
1464 clk_put(bgp->div_clk); in ti_bandgap_remove()
Dti-bandgap.h245 struct clk *div_clk; member