Lines Matching defs:vpu_iface_ops
42 struct vpu_iface_ops { struct
43 bool (*check_codec)(enum vpu_core_type type);
44 bool (*check_fmt)(enum vpu_core_type type, u32 pixelfmt);
45 u32 (*get_data_size)(void);
46 int (*check_memory_region)(dma_addr_t base, dma_addr_t addr, u32 size);
47 int (*boot_core)(struct vpu_core *core);
48 int (*shutdown_core)(struct vpu_core *core);
49 int (*restore_core)(struct vpu_core *core);
50 int (*get_power_state)(struct vpu_core *core);
51 int (*on_firmware_loaded)(struct vpu_core *core);
52 void (*init_rpc)(struct vpu_shared_addr *shared,
54 void (*set_log_buf)(struct vpu_shared_addr *shared,
56 void (*set_system_cfg)(struct vpu_shared_addr *shared,
58 void (*set_stream_cfg)(struct vpu_shared_addr *shared, u32 index);
59 u32 (*get_version)(struct vpu_shared_addr *shared);
60 u32 (*get_max_instance_count)(struct vpu_shared_addr *shared);
61 int (*get_stream_buffer_size)(struct vpu_shared_addr *shared);
62 int (*send_cmd_buf)(struct vpu_shared_addr *shared,
64 int (*receive_msg_buf)(struct vpu_shared_addr *shared,
66 int (*pack_cmd)(struct vpu_rpc_event *pkt, u32 index, u32 id, void *data);
67 int (*convert_msg_id)(u32 msg_id);
68 int (*unpack_msg_data)(struct vpu_rpc_event *pkt, void *data);
69 int (*input_frame)(struct vpu_shared_addr *shared,
71 int (*config_memory_resource)(struct vpu_shared_addr *shared,
76 int (*config_stream_buffer)(struct vpu_shared_addr *shared,
79 int (*update_stream_buffer)(struct vpu_shared_addr *shared,
81 int (*get_stream_buffer_desc)(struct vpu_shared_addr *shared,
84 int (*set_encode_params)(struct vpu_shared_addr *shared,
88 int (*set_decode_params)(struct vpu_shared_addr *shared,
114 struct vpu_iface_ops *vpu_core_get_iface(struct vpu_core *core); argument