Home
last modified time | relevance | path

Searched refs:vpu_core (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/media/platform/amphion/
Dvpu_rpc.h27 struct vpu_core *core;
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);
114 struct vpu_iface_ops *vpu_core_get_iface(struct vpu_core *core);
116 int vpu_iface_check_memory_region(struct vpu_core *core, dma_addr_t addr, u32 size);
118 static inline bool vpu_iface_check_codec(struct vpu_core *core) in vpu_iface_check_codec()
138 static inline int vpu_iface_boot_core(struct vpu_core *core) in vpu_iface_boot_core()
[all …]
Dvpu_core.c29 void csr_writel(struct vpu_core *core, u32 reg, u32 val) in csr_writel()
34 u32 csr_readl(struct vpu_core *core, u32 reg) in csr_readl()
39 static int vpu_core_load_firmware(struct vpu_core *core) in vpu_core_load_firmware()
75 static int vpu_core_boot_done(struct vpu_core *core) in vpu_core_boot_done()
99 static int vpu_core_wait_boot_done(struct vpu_core *core) in vpu_core_wait_boot_done()
111 static int vpu_core_boot(struct vpu_core *core, bool load) in vpu_core_boot()
126 static int vpu_core_shutdown(struct vpu_core *core) in vpu_core_shutdown()
131 static int vpu_core_restore(struct vpu_core *core) in vpu_core_restore()
172 int vpu_alloc_dma(struct vpu_core *core, struct vpu_buffer *buf) in vpu_alloc_dma()
177 void vpu_core_set_state(struct vpu_core *core, enum vpu_core_state state) in vpu_core_set_state()
[all …]
Dvpu_mbox.h9 int vpu_mbox_init(struct vpu_core *core);
10 int vpu_mbox_request(struct vpu_core *core);
11 void vpu_mbox_free(struct vpu_core *core);
12 void vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data);
13 void vpu_mbox_send_type(struct vpu_core *core, u32 type);
Dvpu_core.h9 void csr_writel(struct vpu_core *core, u32 reg, u32 val);
10 u32 csr_readl(struct vpu_core *core, u32 reg);
11 int vpu_alloc_dma(struct vpu_core *core, struct vpu_buffer *buf);
13 struct vpu_inst *vpu_core_find_instance(struct vpu_core *core, u32 index);
14 void vpu_core_set_state(struct vpu_core *core, enum vpu_core_state state);
Dvpu_mbox.c20 struct vpu_core *core = container_of(rx, struct vpu_core, rx); in vpu_mbox_rx_callback()
56 int vpu_mbox_init(struct vpu_core *core) in vpu_mbox_init()
70 int vpu_mbox_request(struct vpu_core *core) in vpu_mbox_request()
91 void vpu_mbox_free(struct vpu_core *core) in vpu_mbox_free()
102 void vpu_mbox_send_type(struct vpu_core *core, u32 type) in vpu_mbox_send_type()
107 void vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data) in vpu_mbox_send_msg()
Dvpu_msgs.c299 static int vpu_handle_msg(struct vpu_core *core) in vpu_handle_msg()
330 static int vpu_isr_thread(struct vpu_core *core, u32 irq_code) in vpu_isr_thread()
351 static void vpu_core_run_msg_work(struct vpu_core *core) in vpu_core_run_msg_work()
365 struct vpu_core *core = container_of(work, struct vpu_core, msg_work); in vpu_msg_run_work()
374 struct vpu_core *core; in vpu_msg_delayed_work()
383 core = container_of(dwork, struct vpu_core, msg_delayed_work); in vpu_msg_delayed_work()
401 int vpu_isr(struct vpu_core *core, u32 irq) in vpu_isr()
Dvpu_cmds.c66 static int vpu_cmd_send(struct vpu_core *core, struct vpu_rpc_event *pkt) in vpu_cmd_send()
166 struct vpu_core *core; in vpu_request_cmd()
219 struct vpu_core *core; in vpu_response_cmd()
263 struct vpu_core *core; in sync_session_response()
288 static void vpu_core_keep_active(struct vpu_core *core) in vpu_core_keep_active()
409 int vpu_core_snapshot(struct vpu_core *core) in vpu_core_snapshot()
432 int vpu_core_sw_reset(struct vpu_core *core) in vpu_core_sw_reset()
Dvpu_imx8q.h108 int vpu_imx8q_boot_core(struct vpu_core *core);
109 int vpu_imx8q_get_power_state(struct vpu_core *core);
110 int vpu_imx8q_on_firmware_loaded(struct vpu_core *core);
Dvpu.h128 struct vpu_core { struct
232 struct vpu_core *core;
345 struct vpu_core *vpu_request_core(struct vpu_dev *vpu, enum vpu_core_type type);
346 void vpu_release_core(struct vpu_core *core);
353 int vpu_core_create_dbgfs_file(struct vpu_core *core);
354 int vpu_core_remove_dbgfs_file(struct vpu_core *core);
Dvpu_cmds.h19 int vpu_core_snapshot(struct vpu_core *core);
20 int vpu_core_sw_reset(struct vpu_core *core);
Dvpu_imx8q.c142 int vpu_imx8q_boot_core(struct vpu_core *core) in vpu_imx8q_boot_core()
149 int vpu_imx8q_get_power_state(struct vpu_core *core) in vpu_imx8q_get_power_state()
156 int vpu_imx8q_on_firmware_loaded(struct vpu_core *core) in vpu_imx8q_on_firmware_loaded()
Dvpu_dbg.c236 struct vpu_core *core = s->private; in vpu_dbg_core()
305 struct vpu_core *core = s->private; in vpu_dbg_fwlog()
371 struct vpu_core *core = s->private; in vpu_dbg_core_write()
457 int vpu_core_create_dbgfs_file(struct vpu_core *core) in vpu_core_create_dbgfs_file()
489 int vpu_core_remove_dbgfs_file(struct vpu_core *core) in vpu_core_remove_dbgfs_file()
Dvpu_msgs.h9 int vpu_isr(struct vpu_core *core, u32 irq);
DMakefile5 vpu_core.o \
Dvpu_rpc.c21 int vpu_iface_check_memory_region(struct vpu_core *core, dma_addr_t addr, u32 size) in vpu_iface_check_memory_region()
246 struct vpu_iface_ops *vpu_core_get_iface(struct vpu_core *core) in vpu_core_get_iface()