Home
last modified time | relevance | path

Searched refs:clk_main (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/pwm/
Dpwm-mtk-disp.c55 struct clk *clk_main; member
85 err = clk_prepare_enable(mdp->clk_main); in mtk_disp_pwm_config()
94 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_config()
108 rate = clk_get_rate(mdp->clk_main); in mtk_disp_pwm_config()
113 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_config()
155 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_config()
165 err = clk_prepare_enable(mdp->clk_main); in mtk_disp_pwm_enable()
174 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_enable()
192 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_disable()
219 mdp->clk_main = devm_clk_get(&pdev->dev, "main"); in mtk_disp_pwm_probe()
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-mt65xx.c153 struct clk *clk_main; /* main clock for i2c bus */ member
249 ret = clk_prepare_enable(i2c->clk_main); in mtk_i2c_clock_enable()
261 clk_disable_unprepare(i2c->clk_main); in mtk_i2c_clock_enable()
273 clk_disable_unprepare(i2c->clk_main); in mtk_i2c_clock_disable()
832 i2c->clk_main = devm_clk_get(&pdev->dev, "main"); in mtk_i2c_probe()
833 if (IS_ERR(i2c->clk_main)) { in mtk_i2c_probe()
835 return PTR_ERR(i2c->clk_main); in mtk_i2c_probe()
844 clk = i2c->clk_main; in mtk_i2c_probe()