Lines Matching refs:vpu_inst
27 void vpu_inst_lock(struct vpu_inst *inst) in vpu_inst_lock()
32 void vpu_inst_unlock(struct vpu_inst *inst) in vpu_inst_unlock()
66 void vpu_v4l2_set_error(struct vpu_inst *inst) in vpu_v4l2_set_error()
77 int vpu_notify_eos(struct vpu_inst *inst) in vpu_notify_eos()
90 int vpu_notify_source_change(struct vpu_inst *inst) in vpu_notify_source_change()
103 int vpu_set_last_buffer_dequeued(struct vpu_inst *inst) in vpu_set_last_buffer_dequeued()
123 bool vpu_is_source_empty(struct vpu_inst *inst) in vpu_is_source_empty()
136 const struct vpu_format *vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f) in vpu_try_fmt_common()
183 static bool vpu_check_ready(struct vpu_inst *inst, u32 type) in vpu_check_ready()
194 int vpu_process_output_buffer(struct vpu_inst *inst) in vpu_process_output_buffer()
220 int vpu_process_capture_buffer(struct vpu_inst *inst) in vpu_process_capture_buffer()
243 struct vb2_v4l2_buffer *vpu_next_src_buf(struct vpu_inst *inst) in vpu_next_src_buf()
267 void vpu_skip_frame(struct vpu_inst *inst, int count) in vpu_skip_frame()
290 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence) in vpu_find_buf_by_sequence()
317 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx) in vpu_find_buf_by_idx()
344 int vpu_get_num_buffers(struct vpu_inst *inst, u32 type) in vpu_get_num_buffers()
365 struct vpu_inst *inst = priv; in vpu_m2m_job_abort()
382 struct vpu_inst *inst = vb2_get_drv_priv(vq); in vpu_vb2_queue_setup()
428 struct vpu_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in vpu_vb2_buf_prepare()
448 struct vpu_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in vpu_vb2_buf_finish()
458 void vpu_vb2_buffers_return(struct vpu_inst *inst, unsigned int type, enum vb2_buffer_state state) in vpu_vb2_buffers_return()
477 struct vpu_inst *inst = vb2_get_drv_priv(q); in vpu_vb2_start_streaming()
510 struct vpu_inst *inst = vb2_get_drv_priv(q); in vpu_vb2_stop_streaming()
523 struct vpu_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in vpu_vb2_buf_queue()
548 struct vpu_inst *inst = priv; in vpu_m2m_queue_init()
590 static int vpu_v4l2_release(struct vpu_inst *inst) in vpu_v4l2_release()
613 int vpu_v4l2_open(struct file *file, struct vpu_inst *inst) in vpu_v4l2_open()
681 struct vpu_inst *inst = to_inst(file); in vpu_v4l2_close()