Lines Matching refs:g2d_ctx
32 #define fh2ctx(__fh) container_of(__fh, struct g2d_ctx, fh)
91 static struct g2d_frame *get_frame(struct g2d_ctx *ctx, in get_frame()
108 struct g2d_ctx *ctx = vb2_get_drv_priv(vq); in g2d_queue_setup()
126 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_prepare()
138 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_queue()
151 struct g2d_ctx *ctx = priv; in queue_init()
181 struct g2d_ctx *ctx = container_of(ctrl->handler, struct g2d_ctx, in g2d_s_ctrl()
207 static int g2d_setup_ctrls(struct g2d_ctx *ctx) in g2d_setup_ctrls()
242 struct g2d_ctx *ctx = NULL; in g2d_open()
283 struct g2d_ctx *ctx = fh2ctx(file->private_data); in g2d_release()
318 struct g2d_ctx *ctx = prv; in vidioc_g_fmt()
370 struct g2d_ctx *ctx = prv; in vidioc_s_fmt()
411 struct g2d_ctx *ctx = priv; in vidioc_cropcap()
428 struct g2d_ctx *ctx = prv; in vidioc_g_crop()
444 struct g2d_ctx *ctx = prv; in vidioc_try_crop()
463 struct g2d_ctx *ctx = prv; in vidioc_s_crop()
485 struct g2d_ctx *ctx = prv; in job_abort()
498 struct g2d_ctx *ctx = prv; in device_run()
540 struct g2d_ctx *ctx = dev->curr; in g2d_isr()