Searched refs:clock_mod (Results 1 – 8 of 8) sorted by relevance
179 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()
47 struct clk *clock_mod; member
284 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()408 clk_rate_exclusive_put(isp_dev->clock_mod); in sun6i_isp_resources_setup()418 clk_rate_exclusive_put(isp_dev->clock_mod); in sun6i_isp_resources_cleanup()
61 struct clk *clock_mod; member
627 clk_disable_unprepare(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_suspend()644 ret = clk_prepare_enable(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resume()670 clk_disable_unprepare(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resume()714 csi2_dev->clock_mod = devm_clk_get(dev, "mod"); in sun8i_a83t_mipi_csi2_resources_setup()715 if (IS_ERR(csi2_dev->clock_mod)) { in sun8i_a83t_mipi_csi2_resources_setup()717 return PTR_ERR(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resources_setup()720 ret = clk_set_rate_exclusive(csi2_dev->clock_mod, 297000000); in sun8i_a83t_mipi_csi2_resources_setup()764 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resources_setup()774 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun8i_a83t_mipi_csi2_resources_cleanup()
46 struct clk *clock_mod; member
587 clk_disable_unprepare(csi2_dev->clock_mod); in sun6i_mipi_csi2_suspend()604 ret = clk_prepare_enable(csi2_dev->clock_mod); in sun6i_mipi_csi2_resume()654 csi2_dev->clock_mod = devm_clk_get(dev, "mod"); in sun6i_mipi_csi2_resources_setup()655 if (IS_ERR(csi2_dev->clock_mod)) { in sun6i_mipi_csi2_resources_setup()657 return PTR_ERR(csi2_dev->clock_mod); in sun6i_mipi_csi2_resources_setup()660 ret = clk_set_rate_exclusive(csi2_dev->clock_mod, 297000000); in sun6i_mipi_csi2_resources_setup()697 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun6i_mipi_csi2_resources_setup()707 clk_rate_exclusive_put(csi2_dev->clock_mod); in sun6i_mipi_csi2_resources_cleanup()
45 struct clk *clock_mod; member