Lines Matching refs:g2d_ctx
28 #define fh2ctx(__fh) container_of(__fh, struct g2d_ctx, fh)
82 static struct g2d_frame *get_frame(struct g2d_ctx *ctx, in get_frame()
99 struct g2d_ctx *ctx = vb2_get_drv_priv(vq); in g2d_queue_setup()
116 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_prepare()
128 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_queue()
143 struct g2d_ctx *ctx = priv; in queue_init()
175 struct g2d_ctx *ctx = container_of(ctrl->handler, struct g2d_ctx, in g2d_s_ctrl()
201 static int g2d_setup_ctrls(struct g2d_ctx *ctx) in g2d_setup_ctrls()
236 struct g2d_ctx *ctx = NULL; in g2d_open()
277 struct g2d_ctx *ctx = fh2ctx(file->private_data); in g2d_release()
310 struct g2d_ctx *ctx = prv; in vidioc_g_fmt()
362 struct g2d_ctx *ctx = prv; in vidioc_s_fmt()
403 struct g2d_ctx *ctx = prv; in vidioc_g_selection()
453 struct g2d_ctx *ctx = prv; in vidioc_try_selection()
481 struct g2d_ctx *ctx = prv; in vidioc_s_selection()
503 struct g2d_ctx *ctx = prv; in device_run()
545 struct g2d_ctx *ctx = dev->curr; in g2d_isr()