Searched refs:mtk_scp (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/include/linux/remoteproc/ |
D | mtk_scp.h | 14 struct mtk_scp; 50 struct mtk_scp *scp_get(struct platform_device *pdev); 51 void scp_put(struct mtk_scp *scp); 53 struct device *scp_get_device(struct mtk_scp *scp); 54 struct rproc *scp_get_rproc(struct mtk_scp *scp); 56 int scp_ipi_register(struct mtk_scp *scp, u32 id, scp_ipi_handler_t handler, 58 void scp_ipi_unregister(struct mtk_scp *scp, u32 id); 60 int scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len, 63 unsigned int scp_get_vdec_hw_capa(struct mtk_scp *scp); 64 unsigned int scp_get_venc_hw_capa(struct mtk_scp *scp); [all …]
|
/Linux-v6.6/drivers/remoteproc/ |
D | mtk_common.h | 77 struct mtk_scp; 80 int (*scp_clk_get)(struct mtk_scp *scp); 81 int (*scp_before_load)(struct mtk_scp *scp); 82 void (*scp_irq_handler)(struct mtk_scp *scp); 83 void (*scp_reset_assert)(struct mtk_scp *scp); 84 void (*scp_reset_deassert)(struct mtk_scp *scp); 85 void (*scp_stop)(struct mtk_scp *scp); 86 void *(*scp_da_to_va)(struct mtk_scp *scp, u64 da, size_t len); 94 struct mtk_scp { struct 138 void scp_ipi_lock(struct mtk_scp *scp, u32 id); argument [all …]
|
D | mtk_scp.c | 34 struct mtk_scp *scp_get(struct platform_device *pdev) in scp_get() 63 void scp_put(struct mtk_scp *scp) in scp_put() 69 static void scp_wdt_handler(struct mtk_scp *scp, u32 scp_to_host) in scp_wdt_handler() 77 struct mtk_scp *scp = priv; in scp_init_ipi_handler() 87 static void scp_ipi_handler(struct mtk_scp *scp) in scp_ipi_handler() 122 static int scp_elf_read_ipi_buf_addr(struct mtk_scp *scp, 126 static int scp_ipi_init(struct mtk_scp *scp, const struct firmware *fw) in scp_ipi_init() 151 static void mt8183_scp_reset_assert(struct mtk_scp *scp) in mt8183_scp_reset_assert() 160 static void mt8183_scp_reset_deassert(struct mtk_scp *scp) in mt8183_scp_reset_deassert() 169 static void mt8192_scp_reset_assert(struct mtk_scp *scp) in mt8192_scp_reset_assert() [all …]
|
D | mtk_scp_ipi.c | 32 int scp_ipi_register(struct mtk_scp *scp, in scp_ipi_register() 60 void scp_ipi_unregister(struct mtk_scp *scp, u32 id) in scp_ipi_unregister() 119 void scp_ipi_lock(struct mtk_scp *scp, u32 id) in scp_ipi_lock() 135 void scp_ipi_unlock(struct mtk_scp *scp, u32 id) in scp_ipi_unlock() 159 int scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len, in scp_ipi_send()
|
D | Makefile | 17 obj-$(CONFIG_MTK_SCP) += mtk_scp.o mtk_scp_ipi.o
|
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-vpu.h | 43 struct mtk_scp *scp; 58 int mdp_vpu_dev_init(struct mdp_vpu_dev *vpu, struct mtk_scp *scp,
|
D | mtk-mdp3-core.h | 78 struct mtk_scp *scp;
|
D | mtk-mdp3-vpu.c | 126 struct mtk_scp *scp = mdp->scp; in mdp_vpu_register() 193 int mdp_vpu_dev_init(struct mdp_vpu_dev *vpu, struct mtk_scp *scp, in mdp_vpu_dev_init()
|
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_fw_priv.h | 15 struct mtk_scp *scp;
|
D | mtk_vcodec_fw_scp.c | 60 struct mtk_scp *scp; in mtk_vcodec_fw_scp_init()
|