Home
last modified time | relevance | path

Searched refs:ram_clk (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/media/sunxi/cedrus/
Dcedrus_hw.c148 clk_disable_unprepare(dev->ram_clk); in cedrus_hw_suspend()
183 ret = clk_prepare_enable(dev->ram_clk); in cedrus_hw_resume()
273 dev->ram_clk = devm_clk_get(dev->dev, "ram"); in cedrus_hw_probe()
274 if (IS_ERR(dev->ram_clk)) { in cedrus_hw_probe()
277 ret = PTR_ERR(dev->ram_clk); in cedrus_hw_probe()
Dcedrus.h174 struct clk *ram_clk; member
/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_csi.c232 csi->ram_clk = devm_clk_get(&pdev->dev, "ram"); in sun4i_csi_probe()
233 if (IS_ERR(csi->ram_clk)) { in sun4i_csi_probe()
235 return PTR_ERR(csi->ram_clk); in sun4i_csi_probe()
333 clk_prepare_enable(csi->ram_clk); in sun4i_csi_runtime_resume()
347 clk_disable_unprepare(csi->ram_clk); in sun4i_csi_runtime_suspend()
Dsun4i_csi.h116 struct clk *ram_clk; member
/drivers/gpu/drm/sun4i/
Dsun4i_frontend.c609 frontend->ram_clk = devm_clk_get(dev, "ram"); in sun4i_frontend_bind()
610 if (IS_ERR(frontend->ram_clk)) { in sun4i_frontend_bind()
612 return PTR_ERR(frontend->ram_clk); in sun4i_frontend_bind()
656 clk_prepare_enable(frontend->ram_clk); in sun4i_frontend_runtime_resume()
677 clk_disable_unprepare(frontend->ram_clk); in sun4i_frontend_runtime_suspend()
Dsun4i_backend.c879 backend->ram_clk = devm_clk_get(dev, "ram"); in sun4i_backend_bind()
880 if (IS_ERR(backend->ram_clk)) { in sun4i_backend_bind()
882 ret = PTR_ERR(backend->ram_clk); in sun4i_backend_bind()
885 clk_prepare_enable(backend->ram_clk); in sun4i_backend_bind()
951 clk_disable_unprepare(backend->ram_clk); in sun4i_backend_bind()
973 clk_disable_unprepare(backend->ram_clk); in sun4i_backend_unbind()
Dsun4i_frontend.h128 struct clk *ram_clk; member
Dsun4i_backend.h177 struct clk *ram_clk; member
/drivers/media/platform/sunxi/sun8i-di/
Dsun8i-di.c851 dev->ram_clk = devm_clk_get(dev->dev, "ram"); in deinterlace_probe()
852 if (IS_ERR(dev->ram_clk)) { in deinterlace_probe()
855 return PTR_ERR(dev->ram_clk); in deinterlace_probe()
954 ret = clk_prepare_enable(dev->ram_clk); in deinterlace_runtime_resume()
973 clk_disable_unprepare(dev->ram_clk); in deinterlace_runtime_resume()
990 clk_disable_unprepare(dev->ram_clk); in deinterlace_runtime_suspend()
Dsun8i-di.h232 struct clk *ram_clk; member