Searched refs:div_clk (Results 1 – 4 of 4) sorted by relevance
256 struct clk *div_clk; member657 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() local1533 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 …]
172 struct clk *div_clk; member658 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()
909 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()
199 struct clk *div_clk; member