Searched refs:div_clk (Results 1 – 5 of 5) sorted by relevance
172 struct clk *div_clk; member657 phy->div_clk = devm_clk_get(dev, "div-clk"); in ti_pipe3_get_clk()658 if (IS_ERR(phy->div_clk)) { in ti_pipe3_get_clk()660 return PTR_ERR(phy->div_clk); in ti_pipe3_get_clk()663 phy->div_clk = ERR_PTR(-ENODEV); in ti_pipe3_get_clk()883 if (!IS_ERR(phy->div_clk)) { in ti_pipe3_enable_clocks()884 ret = clk_prepare_enable(phy->div_clk); in ti_pipe3_enable_clocks()910 if (!IS_ERR(phy->div_clk)) in ti_pipe3_disable_clocks()911 clk_disable_unprepare(phy->div_clk); in ti_pipe3_disable_clocks()
914 bgp->div_clk = clk_get(NULL, bgp->conf->div_ck_name); in ti_bandgap_probe()915 if (IS_ERR(bgp->div_clk)) { in ti_bandgap_probe()917 ret = PTR_ERR(bgp->div_clk); in ti_bandgap_probe()937 clk_rate = clk_round_rate(bgp->div_clk, in ti_bandgap_probe()946 ret = clk_set_rate(bgp->div_clk, clk_rate); in ti_bandgap_probe()1056 clk_put(bgp->div_clk); in ti_bandgap_probe()1089 clk_put(bgp->div_clk); in ti_bandgap_remove()
205 struct clk *div_clk; member
672 static struct clk_hw *bm1880_clk_register_div(struct bm1880_div_hw_clock *div_clk, in bm1880_clk_register_div() argument678 div_clk->div.flags = CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO; in bm1880_clk_register_div()679 div_clk->base = sys_base; in bm1880_clk_register_div()680 div_clk->lock = &bm1880_clk_lock; in bm1880_clk_register_div()682 hw = &div_clk->hw; in bm1880_clk_register_div()
274 struct clk *div_clk; member681 err = clk_set_rate(i2c_dev->div_clk, in tegra_i2c_init()1666 i2c_dev->div_clk = i2c_dev->clocks[0].clk; in tegra_i2c_init_clocks()1671 err = clk_enable(i2c_dev->div_clk); in tegra_i2c_init_clocks()1688 clk_disable(i2c_dev->div_clk); in tegra_i2c_release_clocks()