Lines Matching defs: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, bool eos) in vpu_set_last_buffer_dequeued()
124 bool vpu_is_source_empty(struct vpu_inst *inst) in vpu_is_source_empty()
137 static int vpu_init_format(struct vpu_inst *inst, struct vpu_format *fmt) in vpu_init_format()
179 static int vpu_calc_fmt_sizeimage(struct vpu_inst *inst, struct vpu_format *fmt) in vpu_calc_fmt_sizeimage()
229 int vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f, struct vpu_format *fmt) in vpu_try_fmt_common()
269 static bool vpu_check_ready(struct vpu_inst *inst, u32 type) in vpu_check_ready()
280 int vpu_process_output_buffer(struct vpu_inst *inst) in vpu_process_output_buffer()
306 int vpu_process_capture_buffer(struct vpu_inst *inst) in vpu_process_capture_buffer()
329 struct vb2_v4l2_buffer *vpu_next_src_buf(struct vpu_inst *inst) in vpu_next_src_buf()
353 void vpu_skip_frame(struct vpu_inst *inst, int count) in vpu_skip_frame()
376 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence) in vpu_find_buf_by_sequence()
403 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx) in vpu_find_buf_by_idx()
430 int vpu_get_num_buffers(struct vpu_inst *inst, u32 type) in vpu_get_num_buffers()
451 struct vpu_inst *inst = priv; in vpu_m2m_job_abort() local
468 struct vpu_inst *inst = vb2_get_drv_priv(vq); in vpu_vb2_queue_setup() local
519 struct vpu_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in vpu_vb2_buf_prepare() local
539 struct vpu_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in vpu_vb2_buf_finish() local
549 void vpu_vb2_buffers_return(struct vpu_inst *inst, unsigned int type, enum vb2_buffer_state state) in vpu_vb2_buffers_return()
568 struct vpu_inst *inst = vb2_get_drv_priv(q); in vpu_vb2_start_streaming() local
601 struct vpu_inst *inst = vb2_get_drv_priv(q); in vpu_vb2_stop_streaming() local
614 struct vpu_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in vpu_vb2_buf_queue() local
639 struct vpu_inst *inst = priv; in vpu_m2m_queue_init() local
681 static int vpu_v4l2_release(struct vpu_inst *inst) in vpu_v4l2_release()
704 int vpu_v4l2_open(struct file *file, struct vpu_inst *inst) in vpu_v4l2_open()
773 struct vpu_inst *inst = to_inst(file); in vpu_v4l2_close() local