Lines Matching full:rga
17 #include "rga-hw.h"
18 #include "rga.h"
79 struct rockchip_rga *rga = ctx->rga; in rga_buf_init() local
86 rbuf->dma_desc = dma_alloc_coherent(rga->dev, in rga_buf_init()
125 /* Create local MMU table for RGA */ in rga_buf_prepare()
130 v4l2_err(&ctx->rga->v4l2_dev, in rga_buf_prepare()
131 "Failed to map video buffer to RGA\n"); in rga_buf_prepare()
163 struct rockchip_rga *rga = ctx->rga; in rga_buf_cleanup() local
165 dma_free_coherent(rga->dev, rbuf->n_desc * sizeof(*rbuf->dma_desc), in rga_buf_cleanup()
189 struct rockchip_rga *rga = ctx->rga; in rga_buf_start_streaming() local
192 ret = pm_runtime_resume_and_get(rga->dev); in rga_buf_start_streaming()
209 struct rockchip_rga *rga = ctx->rga; in rga_buf_stop_streaming() local
212 pm_runtime_put(rga->dev); in rga_buf_stop_streaming()