Lines Matching defs:inst
126 static int switch_state(struct vpu_instance *inst, enum vpu_instance_state state) in switch_state()
157 static int wave5_vpu_dec_set_eos_on_firmware(struct vpu_instance *inst) in wave5_vpu_dec_set_eos_on_firmware()
185 static void wave5_handle_src_buffer(struct vpu_instance *inst, dma_addr_t rd_ptr) in wave5_handle_src_buffer()
304 static int start_decode(struct vpu_instance *inst, u32 *fail_res) in start_decode()
325 static void flag_last_buffer_done(struct vpu_instance *inst) in flag_last_buffer_done()
347 static void send_eos_event(struct vpu_instance *inst) in send_eos_event()
359 static int handle_dynamic_resolution_change(struct vpu_instance *inst) in handle_dynamic_resolution_change()
409 static void wave5_vpu_dec_finish_decode(struct vpu_instance *inst) in wave5_vpu_dec_finish_decode()
574 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_try_fmt_cap() local
617 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_s_fmt_cap() local
676 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_g_fmt_cap() local
700 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_enum_fmt_out() local
717 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_try_fmt_out() local
747 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_s_fmt_out() local
789 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_g_selection() local
823 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_s_selection() local
842 static int wave5_vpu_dec_stop(struct vpu_instance *inst) in wave5_vpu_dec_stop()
907 static int wave5_vpu_dec_start(struct vpu_instance *inst) in wave5_vpu_dec_start()
934 struct vpu_instance *inst = wave5_to_vpu_inst(fh); in wave5_vpu_dec_decoder_cmd() local
1002 struct vpu_instance *inst = vb2_get_drv_priv(q); in wave5_vpu_dec_queue_setup() local
1049 static int wave5_prepare_fb(struct vpu_instance *inst) in wave5_prepare_fb()
1199 static int write_to_ringbuffer(struct vpu_instance *inst, void *buffer, size_t buffer_size, in write_to_ringbuffer()
1226 static int fill_ringbuffer(struct vpu_instance *inst) in fill_ringbuffer()
1310 struct vpu_instance *inst = vb2_get_drv_priv(vb->vb2_queue); in wave5_vpu_dec_buf_queue_src() local
1324 struct vpu_instance *inst = vb2_get_drv_priv(vb->vb2_queue); in wave5_vpu_dec_buf_queue_dst() local
1364 struct vpu_instance *inst = vb2_get_drv_priv(vb->vb2_queue); in wave5_vpu_dec_buf_queue() local
1376 static int wave5_vpu_dec_allocate_ring_buffer(struct vpu_instance *inst) in wave5_vpu_dec_allocate_ring_buffer()
1396 struct vpu_instance *inst = vb2_get_drv_priv(q); in wave5_vpu_dec_start_streaming() local
1444 struct vpu_instance *inst = vb2_get_drv_priv(q); in streamoff_output() local
1477 struct vpu_instance *inst = vb2_get_drv_priv(q); in streamoff_capture() local
1519 struct vpu_instance *inst = vb2_get_drv_priv(q); in wave5_vpu_dec_stop_streaming() local
1586 static int initialize_sequence(struct vpu_instance *inst) in initialize_sequence()
1616 static bool wave5_is_draining_or_eos(struct vpu_instance *inst) in wave5_is_draining_or_eos()
1626 struct vpu_instance *inst = priv; in wave5_vpu_dec_device_run() local
1721 struct vpu_instance *inst = priv; in wave5_vpu_dec_job_abort() local
1736 struct vpu_instance *inst = priv; in wave5_vpu_dec_job_ready() local
1794 struct vpu_instance *inst = NULL; in wave5_vpu_open_dec() local