Home
last modified time | relevance | path

Searched refs:clock_mod (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c179 clk_disable_unprepare(csi_dev->clock_mod); in sun6i_csi_suspend()
195 ret = clk_prepare_enable(csi_dev->clock_mod); in sun6i_csi_resume()
210 clk_disable_unprepare(csi_dev->clock_mod); in sun6i_csi_resume()
258 csi_dev->clock_mod = devm_clk_get(dev, "mod"); in sun6i_csi_resources_setup()
259 if (IS_ERR(csi_dev->clock_mod)) { in sun6i_csi_resources_setup()
261 return PTR_ERR(csi_dev->clock_mod); in sun6i_csi_resources_setup()
270 ret = clk_set_rate_exclusive(csi_dev->clock_mod, in sun6i_csi_resources_setup()
308 clk_rate_exclusive_put(csi_dev->clock_mod); in sun6i_csi_resources_setup()
316 clk_rate_exclusive_put(csi_dev->clock_mod); in sun6i_csi_resources_cleanup()
Dsun6i_csi.h47 struct clk *clock_mod; member
/linux-6.12.1/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp.c284 clk_disable_unprepare(isp_dev->clock_mod); in sun6i_isp_suspend()
300 ret = clk_prepare_enable(isp_dev->clock_mod); in sun6i_isp_resume()
315 clk_disable_unprepare(isp_dev->clock_mod); in sun6i_isp_resume()
358 isp_dev->clock_mod = devm_clk_get(dev, "mod"); in sun6i_isp_resources_setup()
359 if (IS_ERR(isp_dev->clock_mod)) { in sun6i_isp_resources_setup()
361 return PTR_ERR(isp_dev->clock_mod); in sun6i_isp_resources_setup()
370 ret = clk_set_rate_exclusive(isp_dev->clock_mod, 297000000); in sun6i_isp_resources_setup()
407 clk_rate_exclusive_put(isp_dev->clock_mod); in sun6i_isp_resources_setup()
417 clk_rate_exclusive_put(isp_dev->clock_mod); in sun6i_isp_resources_cleanup()
Dsun6i_isp.h61 struct clk *clock_mod; member
/linux-6.12.1/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
Dsun8i_a83t_mipi_csi2.c631 clk_disable_unprepare(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_suspend()
648 ret = clk_prepare_enable(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resume()
674 clk_disable_unprepare(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resume()
718 csi2_dev->clock_mod = devm_clk_get(dev, "mod"); in sun8i_a83t_mipi_csi2_resources_setup()
719 if (IS_ERR(csi2_dev->clock_mod)) { in sun8i_a83t_mipi_csi2_resources_setup()
721 return PTR_ERR(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resources_setup()
724 ret = clk_set_rate_exclusive(csi2_dev->clock_mod, 297000000); in sun8i_a83t_mipi_csi2_resources_setup()
768 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resources_setup()
778 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resources_cleanup()
Dsun8i_a83t_mipi_csi2.h46 struct clk *clock_mod; member
/linux-6.12.1/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c591 clk_disable_unprepare(csi2_dev->clock_mod); in sun6i_mipi_csi2_suspend()
608 ret = clk_prepare_enable(csi2_dev->clock_mod); in sun6i_mipi_csi2_resume()
658 csi2_dev->clock_mod = devm_clk_get(dev, "mod"); in sun6i_mipi_csi2_resources_setup()
659 if (IS_ERR(csi2_dev->clock_mod)) { in sun6i_mipi_csi2_resources_setup()
661 return PTR_ERR(csi2_dev->clock_mod); in sun6i_mipi_csi2_resources_setup()
664 ret = clk_set_rate_exclusive(csi2_dev->clock_mod, 297000000); in sun6i_mipi_csi2_resources_setup()
701 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun6i_mipi_csi2_resources_setup()
711 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun6i_mipi_csi2_resources_cleanup()
Dsun6i_mipi_csi2.h45 struct clk *clock_mod; member