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()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()
61 struct clk *clock_mod; member
631 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()
46 struct clk *clock_mod; member
591 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()
45 struct clk *clock_mod; member