Lines Matching defs:inst
194 struct vpu_inst *inst = ctrl_to_inst(ctrl); in vdec_op_s_ctrl() local
218 static int vdec_ctrl_init(struct vpu_inst *inst) in vdec_ctrl_init()
261 static void vdec_handle_resolution_change(struct vpu_inst *inst) in vdec_handle_resolution_change()
283 static int vdec_update_state(struct vpu_inst *inst, enum vpu_codec_state state, u32 force) in vdec_update_state()
309 static void vdec_set_last_buffer_dequeued(struct vpu_inst *inst) in vdec_set_last_buffer_dequeued()
335 struct vpu_inst *inst = to_inst(file); in vdec_enum_fmt() local
364 struct vpu_inst *inst = to_inst(file); in vdec_g_fmt() local
395 struct vpu_inst *inst = to_inst(file); in vdec_try_fmt() local
426 static int vdec_s_fmt_common(struct vpu_inst *inst, struct v4l2_format *f) in vdec_s_fmt_common()
501 struct vpu_inst *inst = to_inst(file); in vdec_s_fmt() local
534 struct vpu_inst *inst = to_inst(file); in vdec_g_selection() local
558 static int vdec_drain(struct vpu_inst *inst) in vdec_drain()
585 static int vdec_cmd_start(struct vpu_inst *inst) in vdec_cmd_start()
604 static int vdec_cmd_stop(struct vpu_inst *inst) in vdec_cmd_stop()
622 struct vpu_inst *inst = to_inst(file); in vdec_decoder_cmd() local
687 static bool vdec_check_ready(struct vpu_inst *inst, unsigned int type) in vdec_check_ready()
700 static struct vb2_v4l2_buffer *vdec_get_src_buffer(struct vpu_inst *inst, u32 count) in vdec_get_src_buffer()
708 static int vdec_frame_decoded(struct vpu_inst *inst, void *arg) in vdec_frame_decoded()
764 static struct vpu_vb2_buffer *vdec_find_buffer(struct vpu_inst *inst, u32 luma) in vdec_find_buffer()
779 static void vdec_buf_done(struct vpu_inst *inst, struct vpu_frame_info *frame) in vdec_buf_done()
832 static void vdec_stop_done(struct vpu_inst *inst) in vdec_stop_done()
855 static bool vdec_check_source_change(struct vpu_inst *inst) in vdec_check_source_change()
892 static void vdec_init_fmt(struct vpu_inst *inst) in vdec_init_fmt()
912 static void vdec_init_crop(struct vpu_inst *inst) in vdec_init_crop()
922 static void vdec_init_mbi(struct vpu_inst *inst) in vdec_init_mbi()
933 static void vdec_init_dcp(struct vpu_inst *inst) in vdec_init_dcp()
951 static int vdec_alloc_fs_buffer(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_alloc_fs_buffer()
970 static void vdec_alloc_fs(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_alloc_fs()
994 static int vdec_response_fs(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_response_fs()
1016 static int vdec_response_frame_abnormal(struct vpu_inst *inst) in vdec_response_frame_abnormal()
1036 static int vdec_response_frame(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) in vdec_response_frame()
1092 static void vdec_response_fs_request(struct vpu_inst *inst, bool force) in vdec_response_fs_request()
1126 static void vdec_response_fs_release(struct vpu_inst *inst, u32 id, u32 tag) in vdec_response_fs_release()
1136 static void vdec_recycle_buffer(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) in vdec_recycle_buffer()
1147 static void vdec_clear_slots(struct vpu_inst *inst) in vdec_clear_slots()
1169 static void vdec_event_seq_hdr(struct vpu_inst *inst, struct vpu_dec_codec_info *hdr) in vdec_event_seq_hdr()
1211 static void vdec_event_resolution_change(struct vpu_inst *inst) in vdec_event_resolution_change()
1232 static void vdec_event_req_fs(struct vpu_inst *inst, struct vpu_fs_info *fs) in vdec_event_req_fs()
1263 static void vdec_evnet_rel_fs(struct vpu_inst *inst, struct vpu_fs_info *fs) in vdec_evnet_rel_fs()
1305 static void vdec_event_eos(struct vpu_inst *inst) in vdec_event_eos()
1323 static void vdec_event_notify(struct vpu_inst *inst, u32 event, void *data) in vdec_event_notify()
1346 static int vdec_process_output(struct vpu_inst *inst, struct vb2_buffer *vb) in vdec_process_output()
1388 static int vdec_process_capture(struct vpu_inst *inst, struct vb2_buffer *vb) in vdec_process_capture()
1406 static void vdec_on_queue_empty(struct vpu_inst *inst, u32 type) in vdec_on_queue_empty()
1418 static void vdec_abort(struct vpu_inst *inst) in vdec_abort()
1456 static void vdec_stop(struct vpu_inst *inst, bool free) in vdec_stop()
1473 static void vdec_release(struct vpu_inst *inst) in vdec_release()
1480 static void vdec_cleanup(struct vpu_inst *inst) in vdec_cleanup()
1499 static int vdec_start(struct vpu_inst *inst) in vdec_start()
1558 static int vdec_start_session(struct vpu_inst *inst, u32 type) in vdec_start_session()
1586 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