Lines Matching refs:vim2m_ctx
156 struct vim2m_ctx { struct
185 static inline struct vim2m_ctx *file2ctx(struct file *file) in file2ctx() argument
187 return container_of(file->private_data, struct vim2m_ctx, fh); in file2ctx()
190 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data()
205 static int device_process(struct vim2m_ctx *ctx, in device_process()
354 struct vim2m_ctx *ctx = priv; in job_ready()
367 struct vim2m_ctx *ctx = priv; in job_abort()
381 struct vim2m_ctx *ctx = priv; in device_run()
397 struct vim2m_ctx *curr_ctx; in device_isr()
484 static int vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
547 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap()
572 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out()
591 static int vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
637 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_s_fmt_vid_out()
656 struct vim2m_ctx *ctx = in vim2m_s_ctrl()
657 container_of(ctrl->handler, struct vim2m_ctx, hdl); in vim2m_s_ctrl()
732 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq); in vim2m_queue_setup()
758 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_prepare()
788 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_queue()
795 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); in vim2m_start_streaming()
804 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); in vim2m_stop_streaming()
833 struct vim2m_ctx *ctx = priv; in queue_init()
889 struct vim2m_ctx *ctx = NULL; in vim2m_open()
954 struct vim2m_ctx *ctx = file2ctx(file); in vim2m_release()