Lines Matching refs:vim2m_ctx

153 struct vim2m_ctx {  struct
179 static inline struct vim2m_ctx *file2ctx(struct file *file) in file2ctx() argument
181 return container_of(file->private_data, struct vim2m_ctx, fh); in file2ctx()
184 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data()
199 static int device_process(struct vim2m_ctx *ctx, in device_process()
348 struct vim2m_ctx *ctx = priv; in job_ready()
361 struct vim2m_ctx *ctx = priv; in job_abort()
375 struct vim2m_ctx *ctx = priv; in device_run()
391 struct vim2m_ctx *curr_ctx; in device_isr()
478 static int vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
538 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap()
560 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out()
579 static int vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
625 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_s_fmt_vid_out()
640 struct vim2m_ctx *ctx = in vim2m_s_ctrl()
641 container_of(ctrl->handler, struct vim2m_ctx, hdl); in vim2m_s_ctrl()
718 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq); in vim2m_queue_setup()
752 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_prepare()
782 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_queue()
789 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); in vim2m_start_streaming()
798 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); in vim2m_stop_streaming()
827 struct vim2m_ctx *ctx = priv; in queue_init()
883 struct vim2m_ctx *ctx = NULL; in vim2m_open()
946 struct vim2m_ctx *ctx = file2ctx(file); in vim2m_release()