Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clk/visconti/
Dclkc.c138 struct clk_hw *div_clk; in visconti_clk_register_gates() local
158 div_clk = devm_clk_hw_register_fixed_factor(dev, in visconti_clk_register_gates()
163 if (IS_ERR(div_clk)) in visconti_clk_register_gates()
164 return PTR_ERR(div_clk); in visconti_clk_register_gates()
/linux-5.19.10/drivers/phy/ti/
Dphy-ti-pipe3.c172 struct clk *div_clk; member
657 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()
877 if (!IS_ERR(phy->div_clk)) { in ti_pipe3_enable_clocks()
878 ret = clk_prepare_enable(phy->div_clk); in ti_pipe3_enable_clocks()
904 if (!IS_ERR(phy->div_clk)) in ti_pipe3_disable_clocks()
905 clk_disable_unprepare(phy->div_clk); in ti_pipe3_disable_clocks()
/linux-5.19.10/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c919 bgp->div_clk = clk_get(NULL, bgp->conf->div_ck_name); in ti_bandgap_probe()
920 if (IS_ERR(bgp->div_clk)) { in ti_bandgap_probe()
922 ret = PTR_ERR(bgp->div_clk); in ti_bandgap_probe()
942 clk_rate = clk_round_rate(bgp->div_clk, in ti_bandgap_probe()
951 ret = clk_set_rate(bgp->div_clk, clk_rate); in ti_bandgap_probe()
1061 clk_put(bgp->div_clk); in ti_bandgap_probe()
1094 clk_put(bgp->div_clk); in ti_bandgap_remove()
Dti-bandgap.h205 struct clk *div_clk; member
/linux-5.19.10/drivers/clk/
Dclk-bm1880.c672 static struct clk_hw *bm1880_clk_register_div(struct bm1880_div_hw_clock *div_clk, in bm1880_clk_register_div() argument
678 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()
/linux-5.19.10/drivers/i2c/busses/
Di2c-tegra.c275 struct clk *div_clk; member
688 err = clk_set_rate(i2c_dev->div_clk, in tegra_i2c_init()
1699 i2c_dev->div_clk = i2c_dev->clocks[0].clk; in tegra_i2c_init_clocks()
1704 err = clk_enable(i2c_dev->div_clk); in tegra_i2c_init_clocks()
1721 clk_disable(i2c_dev->div_clk); in tegra_i2c_release_clocks()