Home
last modified time | relevance | path

Searched full:vpu_core (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/media/platform/amphion/
H A 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 …]
H A 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);
H A 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);
H A 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()
H A Dvpu_msgs.c13 #include "vpu_core.h"
299 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()
H A 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);
H A 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()
H A 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);
H A Dvpu_imx8q.c16 #include "vpu_core.h"
142 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()
H A Dvpu_cmds.h19 int vpu_core_snapshot(struct vpu_core *core);
20 int vpu_core_sw_reset(struct vpu_core *core);
H A Dvpu_dbg.c18 #include "vpu_core.h"
236 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()
H A Dvpu_msgs.h9 int vpu_isr(struct vpu_core *core, u32 irq);
H A DMakefile5 vpu_core.o \
H A 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()
H A Dvpu_helpers.c15 #include "vpu_core.h"
H A Dvdec.c23 #include "vpu_core.h"
/linux/drivers/clk/imx/
H A Dclk-imx8mm.c411 hws[IMX8MM_CLK_VPU_CORE] = imx8m_clk_hw_composite_core("vpu_core", imx8mm_vpu_sels, base + 0x8100); in imx8mm_clocks_probe()
H A Dclk-imx8mq.c410 hws[IMX8MQ_CLK_VPU_CORE] = imx8m_clk_hw_composite_core("vpu_core", imx8mq_vpu_sels, base + 0x8100); in imx8mq_clocks_probe()