Lines Matching refs:mtk_scp
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()
174 static void mt8192_scp_reset_deassert(struct mtk_scp *scp) in mt8192_scp_reset_deassert()
179 static void mt8183_scp_irq_handler(struct mtk_scp *scp) in mt8183_scp_irq_handler()
194 static void mt8192_scp_irq_handler(struct mtk_scp *scp) in mt8192_scp_irq_handler()
217 struct mtk_scp *scp = priv; in scp_irq_handler()
289 static int scp_elf_read_ipi_buf_addr(struct mtk_scp *scp, in scp_elf_read_ipi_buf_addr()
315 static int mt8183_scp_clk_get(struct mtk_scp *scp) in mt8183_scp_clk_get()
329 static int mt8192_scp_clk_get(struct mtk_scp *scp) in mt8192_scp_clk_get()
334 static int mt8195_scp_clk_get(struct mtk_scp *scp) in mt8195_scp_clk_get()
341 static int mt8183_scp_before_load(struct mtk_scp *scp) in mt8183_scp_before_load()
386 static int mt8186_scp_before_load(struct mtk_scp *scp) in mt8186_scp_before_load()
415 static int mt8192_scp_before_load(struct mtk_scp *scp) in mt8192_scp_before_load()
435 static int mt8195_scp_before_load(struct mtk_scp *scp) in mt8195_scp_before_load()
458 struct mtk_scp *scp = rproc->priv; in scp_load()
484 struct mtk_scp *scp = rproc->priv; in scp_parse_fw()
501 struct mtk_scp *scp = rproc->priv; in scp_start()
542 static void *mt8183_scp_da_to_va(struct mtk_scp *scp, u64 da, size_t len) in mt8183_scp_da_to_va()
559 static void *mt8192_scp_da_to_va(struct mtk_scp *scp, u64 da, size_t len) in mt8192_scp_da_to_va()
590 struct mtk_scp *scp = rproc->priv; in scp_da_to_va()
595 static void mt8183_scp_stop(struct mtk_scp *scp) in mt8183_scp_stop()
601 static void mt8192_scp_stop(struct mtk_scp *scp) in mt8192_scp_stop()
614 static void mt8195_scp_stop(struct mtk_scp *scp) in mt8195_scp_stop()
630 struct mtk_scp *scp = rproc->priv; in scp_stop()
660 struct device *scp_get_device(struct mtk_scp *scp) in scp_get_device()
671 struct rproc *scp_get_rproc(struct mtk_scp *scp) in scp_get_rproc()
684 unsigned int scp_get_vdec_hw_capa(struct mtk_scp *scp) in scp_get_vdec_hw_capa()
697 unsigned int scp_get_venc_hw_capa(struct mtk_scp *scp) in scp_get_venc_hw_capa()
717 void *scp_mapping_dm_addr(struct mtk_scp *scp, u32 mem_addr) in scp_mapping_dm_addr()
729 static int scp_map_memory_region(struct mtk_scp *scp) in scp_map_memory_region()
756 static void scp_unmap_memory_region(struct mtk_scp *scp) in scp_unmap_memory_region()
769 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_register_ipi()
776 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_unregister_ipi()
784 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_send_ipi()
796 static void scp_add_rpmsg_subdev(struct mtk_scp *scp) in scp_add_rpmsg_subdev()
805 static void scp_remove_rpmsg_subdev(struct mtk_scp *scp) in scp_remove_rpmsg_subdev()
818 struct mtk_scp *scp; in scp_probe()
918 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_remove()