Lines Matching defs:vim2m_ctx
203 struct vim2m_ctx {
235 static inline struct vim2m_ctx *file2ctx(struct file *file)
237 return container_of(file->private_data, struct vim2m_ctx, fh);
240 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx,
444 static int device_process(struct vim2m_ctx *ctx,
572 struct vim2m_ctx *ctx = priv;
585 struct vim2m_ctx *ctx = priv;
599 struct vim2m_ctx *ctx = priv;
621 struct vim2m_ctx *curr_ctx;
625 curr_ctx = container_of(w, struct vim2m_ctx, work_run.work);
729 static int vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f)
799 struct vim2m_ctx *ctx = file2ctx(file);
824 struct vim2m_ctx *ctx = file2ctx(file);
843 static int vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f)
894 struct vim2m_ctx *ctx = file2ctx(file);
913 struct vim2m_ctx *ctx =
914 container_of(ctrl->handler, struct vim2m_ctx, hdl);
992 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq);
1021 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1035 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1059 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1066 struct vim2m_ctx *ctx = vb2_get_drv_priv(q);
1081 struct vim2m_ctx *ctx = vb2_get_drv_priv(q);
1101 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1121 struct vim2m_ctx *ctx = priv;
1177 struct vim2m_ctx *ctx = NULL;
1247 struct vim2m_ctx *ctx = file2ctx(file);