Home
last modified time | relevance | path

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

/linux/drivers/pwm/
A Dpwm-mtk-disp.c48 struct clk *clk_main; member
88 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_apply()
96 err = clk_prepare_enable(mdp->clk_main); in mtk_disp_pwm_apply()
107 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_apply()
122 rate = clk_get_rate(mdp->clk_main); in mtk_disp_pwm_apply()
128 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_apply()
193 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_get_state()
197 rate = clk_get_rate(mdp->clk_main); in mtk_disp_pwm_get_state()
213 clk_disable_unprepare(mdp->clk_main); in mtk_disp_pwm_get_state()
238 if (IS_ERR(mdp->clk_main)) in mtk_disp_pwm_probe()
[all …]
A Dpwm-mediatek.c57 struct clk *clk_main; member
82 ret = clk_prepare_enable(pc->clk_main); in pwm_mediatek_clk_enable()
93 clk_disable_unprepare(pc->clk_main); in pwm_mediatek_clk_enable()
106 clk_disable_unprepare(pc->clk_main); in pwm_mediatek_clk_disable()
236 pc->clk_main = devm_clk_get(&pdev->dev, "main"); in pwm_mediatek_probe()
237 if (IS_ERR(pc->clk_main)) { in pwm_mediatek_probe()
239 PTR_ERR(pc->clk_main)); in pwm_mediatek_probe()
240 return PTR_ERR(pc->clk_main); in pwm_mediatek_probe()
/linux/arch/arm64/boot/dts/xilinx/
A Dzynqmp.dtsi263 clock-names = "clk_main", "clk_apb";
276 clock-names = "clk_main", "clk_apb";
289 clock-names = "clk_main", "clk_apb";
302 clock-names = "clk_main", "clk_apb";
315 clock-names = "clk_main", "clk_apb";
328 clock-names = "clk_main", "clk_apb";
341 clock-names = "clk_main", "clk_apb";
354 clock-names = "clk_main", "clk_apb";
384 clock-names = "clk_main", "clk_apb";
397 clock-names = "clk_main", "clk_apb";
[all …]
/linux/Documentation/devicetree/bindings/dma/xilinx/
A Dzynqmp_dma.txt10 - clock-names : List of input clocks "clk_main", "clk_apb"
23 clock-names = "clk_main", "clk_apb";
/linux/drivers/dma/xilinx/
A Dzynqmp_dma.c251 struct clk *clk_main; member
994 clk_disable_unprepare(zdev->clk_main); in zynqmp_dma_runtime_suspend()
1012 err = clk_prepare_enable(zdev->clk_main); in zynqmp_dma_runtime_resume()
1021 clk_disable_unprepare(zdev->clk_main); in zynqmp_dma_runtime_resume()
1066 zdev->clk_main = devm_clk_get(&pdev->dev, "clk_main"); in zynqmp_dma_probe()
1067 if (IS_ERR(zdev->clk_main)) in zynqmp_dma_probe()
1068 return dev_err_probe(&pdev->dev, PTR_ERR(zdev->clk_main), in zynqmp_dma_probe()
/linux/drivers/i2c/busses/
A Di2c-mt65xx.c246 struct clk *clk_main; /* main clock for i2c bus */ member
445 ret = clk_prepare_enable(i2c->clk_main); in mtk_i2c_clock_enable()
467 clk_disable_unprepare(i2c->clk_main); in mtk_i2c_clock_enable()
482 clk_disable_unprepare(i2c->clk_main); in mtk_i2c_clock_disable()
1332 i2c->clk_main = devm_clk_get(&pdev->dev, "main"); in mtk_i2c_probe()
1333 if (IS_ERR(i2c->clk_main)) { in mtk_i2c_probe()
1335 return PTR_ERR(i2c->clk_main); in mtk_i2c_probe()
1348 clk = i2c->clk_main; in mtk_i2c_probe()

Completed in 14 milliseconds