Lines Matching defs:inst
194 struct vpu_inst *inst = ctrl_to_inst(ctrl); in vdec_op_s_ctrl() local
220 static int vdec_ctrl_init(struct vpu_inst *inst) in vdec_ctrl_init()
263 static void vdec_handle_resolution_change(struct vpu_inst *inst) in vdec_handle_resolution_change()
285 static int vdec_update_state(struct vpu_inst *inst, enum vpu_codec_state state, u32 force) in vdec_update_state()
311 static void vdec_set_last_buffer_dequeued(struct vpu_inst *inst) in vdec_set_last_buffer_dequeued()
337 struct vpu_inst *inst = to_inst(file); in vdec_enum_fmt() local
366 struct vpu_inst *inst = to_inst(file); in vdec_g_fmt() local
397 struct vpu_inst *inst = to_inst(file); in vdec_try_fmt() local
428 static int vdec_s_fmt_common(struct vpu_inst *inst, struct v4l2_format *f) in vdec_s_fmt_common()
503 struct vpu_inst *inst = to_inst(file); in vdec_s_fmt() local
536 struct vpu_inst *inst = to_inst(file); in vdec_g_selection() local
560 static int vdec_drain(struct vpu_inst *inst) in vdec_drain()
587 static int vdec_cmd_start(struct vpu_inst *inst) in vdec_cmd_start()
606 static int vdec_cmd_stop(struct vpu_inst *inst) in vdec_cmd_stop()
624 struct vpu_inst *inst = to_inst(file); in vdec_decoder_cmd() local
689 static bool vdec_check_ready(struct vpu_inst *inst, unsigned int type) in vdec_check_ready()
702 static struct vb2_v4l2_buffer *vdec_get_src_buffer(struct vpu_inst *inst, u32 count) in vdec_get_src_buffer()
710 static int vdec_frame_decoded(struct vpu_inst *inst, void *arg) in vdec_frame_decoded()
766 static struct vpu_vb2_buffer *vdec_find_buffer(struct vpu_inst *inst, u32 luma) in vdec_find_buffer()
781 static void vdec_buf_done(struct vpu_inst *inst, struct vpu_frame_info *frame) in vdec_buf_done()
834 static void vdec_stop_done(struct vpu_inst *inst) in vdec_stop_done()
857 static bool vdec_check_source_change(struct vpu_inst *inst) in vdec_check_source_change()
894 static void vdec_init_fmt(struct vpu_inst *inst) in vdec_init_fmt()
914 static void vdec_init_crop(struct vpu_inst *inst) in vdec_init_crop()
924 static void vdec_init_mbi(struct vpu_inst *inst) in vdec_init_mbi()
935 static void vdec_init_dcp(struct vpu_inst *inst) in vdec_init_dcp()
953 static int vdec_alloc_fs_buffer(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_alloc_fs_buffer()
972 static void vdec_alloc_fs(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_alloc_fs()
996 static int vdec_response_fs(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_response_fs()
1018 static int vdec_response_frame_abnormal(struct vpu_inst *inst) in vdec_response_frame_abnormal()
1038 static int vdec_response_frame(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) in vdec_response_frame()
1094 static void vdec_response_fs_request(struct vpu_inst *inst, bool force) in vdec_response_fs_request()
1128 static void vdec_response_fs_release(struct vpu_inst *inst, u32 id, u32 tag) in vdec_response_fs_release()
1138 static void vdec_recycle_buffer(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) in vdec_recycle_buffer()
1149 static void vdec_clear_slots(struct vpu_inst *inst) in vdec_clear_slots()
1171 static void vdec_event_seq_hdr(struct vpu_inst *inst, struct vpu_dec_codec_info *hdr) in vdec_event_seq_hdr()
1213 static void vdec_event_resolution_change(struct vpu_inst *inst) in vdec_event_resolution_change()
1234 static void vdec_event_req_fs(struct vpu_inst *inst, struct vpu_fs_info *fs) in vdec_event_req_fs()
1265 static void vdec_evnet_rel_fs(struct vpu_inst *inst, struct vpu_fs_info *fs) in vdec_evnet_rel_fs()
1307 static void vdec_event_eos(struct vpu_inst *inst) in vdec_event_eos()
1325 static void vdec_event_notify(struct vpu_inst *inst, u32 event, void *data) in vdec_event_notify()
1348 static int vdec_process_output(struct vpu_inst *inst, struct vb2_buffer *vb) in vdec_process_output()
1390 static int vdec_process_capture(struct vpu_inst *inst, struct vb2_buffer *vb) in vdec_process_capture()
1408 static void vdec_on_queue_empty(struct vpu_inst *inst, u32 type) in vdec_on_queue_empty()
1420 static void vdec_abort(struct vpu_inst *inst) in vdec_abort()
1458 static void vdec_stop(struct vpu_inst *inst, bool free) in vdec_stop()
1475 static void vdec_release(struct vpu_inst *inst) in vdec_release()
1482 static void vdec_cleanup(struct vpu_inst *inst) in vdec_cleanup()
1501 static int vdec_start(struct vpu_inst *inst) in vdec_start()
1560 static int vdec_start_session(struct vpu_inst *inst, u32 type) in vdec_start_session()
1588 static int vdec_stop_session(struct vpu_inst *inst, u32 type) in vdec_stop_session()
1609 static int vdec_get_debug_info(struct vpu_inst *inst, char *str, u32 size, u32 i) in vdec_get_debug_info()
1694 struct vpu_inst *inst = to_inst(file); in vdec_init() local
1716 struct vpu_inst *inst; in vdec_open() local