Lines Matching refs:vim2m_ctx

156 struct vim2m_ctx {  struct
182 static inline struct vim2m_ctx *file2ctx(struct file *file) in file2ctx() argument
184 return container_of(file->private_data, struct vim2m_ctx, fh); in file2ctx()
187 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data()
202 static int device_process(struct vim2m_ctx *ctx, in device_process()
351 struct vim2m_ctx *ctx = priv; in job_ready()
364 struct vim2m_ctx *ctx = priv; in job_abort()
378 struct vim2m_ctx *ctx = priv; in device_run()
394 struct vim2m_ctx *curr_ctx; in device_isr()
482 static int vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
542 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap()
564 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out()
583 static int vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
629 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_s_fmt_vid_out()
644 struct vim2m_ctx *ctx = in vim2m_s_ctrl()
645 container_of(ctrl->handler, struct vim2m_ctx, hdl); in vim2m_s_ctrl()
719 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq); in vim2m_queue_setup()
746 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_prepare()
775 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vim2m_buf_queue()
782 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); in vim2m_start_streaming()
791 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); in vim2m_stop_streaming()
820 struct vim2m_ctx *ctx = priv; in queue_init()
876 struct vim2m_ctx *ctx = NULL; in vim2m_open()
939 struct vim2m_ctx *ctx = file2ctx(file); in vim2m_release()