Lines Matching refs:vpu_inst
197 struct vpu_inst;
199 int (*ctrl_init)(struct vpu_inst *inst);
200 int (*start)(struct vpu_inst *inst, u32 type);
201 int (*stop)(struct vpu_inst *inst, u32 type);
202 int (*abort)(struct vpu_inst *inst);
203 bool (*check_ready)(struct vpu_inst *inst, unsigned int type);
204 void (*buf_done)(struct vpu_inst *inst, struct vpu_frame_info *frame);
205 void (*event_notify)(struct vpu_inst *inst, u32 event, void *data);
206 void (*release)(struct vpu_inst *inst);
207 void (*cleanup)(struct vpu_inst *inst);
208 void (*mem_request)(struct vpu_inst *inst,
215 void (*input_done)(struct vpu_inst *inst);
216 void (*stop_done)(struct vpu_inst *inst);
217 int (*process_output)(struct vpu_inst *inst, struct vb2_buffer *vb);
218 int (*process_capture)(struct vpu_inst *inst, struct vb2_buffer *vb);
219 int (*get_one_frame)(struct vpu_inst *inst, void *info);
220 void (*on_queue_empty)(struct vpu_inst *inst, u32 type);
221 int (*get_debug_info)(struct vpu_inst *inst, char *str, u32 size, u32 i);
222 void (*wait_prepare)(struct vpu_inst *inst);
223 void (*wait_finish)(struct vpu_inst *inst);
226 struct vpu_inst { struct
237 int (*release)(struct vpu_inst *inst); argument
322 static inline struct vpu_inst *to_inst(struct file *filp) in to_inst()
324 return container_of(filp->private_data, struct vpu_inst, fh); in to_inst()
328 container_of((ctrl)->handler, struct vpu_inst, ctrl_handler)
338 struct vpu_inst *vpu_inst_get(struct vpu_inst *inst);
339 void vpu_inst_put(struct vpu_inst *inst);
342 int vpu_inst_register(struct vpu_inst *inst);
343 int vpu_inst_unregister(struct vpu_inst *inst);
344 const struct vpu_core_resources *vpu_get_resource(struct vpu_inst *inst);
346 int vpu_inst_create_dbgfs_file(struct vpu_inst *inst);
347 int vpu_inst_remove_dbgfs_file(struct vpu_inst *inst);
350 void vpu_inst_record_flow(struct vpu_inst *inst, u32 flow);