Lines Matching defs:scp
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 = (struct mtk_scp *)priv; in scp_init_ipi_handler() local
87 static void scp_ipi_handler(struct mtk_scp *scp) in scp_ipi_handler()
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() local
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 mt8192_scp_before_load(struct mtk_scp *scp) in mt8192_scp_before_load()
408 struct mtk_scp *scp = rproc->priv; in scp_load() local
434 struct mtk_scp *scp = rproc->priv; in scp_parse_fw() local
451 struct mtk_scp *scp = (struct mtk_scp *)rproc->priv; in scp_start() local
492 static void *mt8183_scp_da_to_va(struct mtk_scp *scp, u64 da, size_t len) in mt8183_scp_da_to_va()
509 static void *mt8192_scp_da_to_va(struct mtk_scp *scp, u64 da, size_t len) in mt8192_scp_da_to_va()
540 struct mtk_scp *scp = (struct mtk_scp *)rproc->priv; in scp_da_to_va() local
545 static void mt8183_scp_stop(struct mtk_scp *scp) in mt8183_scp_stop()
551 static void mt8192_scp_stop(struct mtk_scp *scp) in mt8192_scp_stop()
566 struct mtk_scp *scp = (struct mtk_scp *)rproc->priv; in scp_stop() local
595 struct device *scp_get_device(struct mtk_scp *scp) in scp_get_device()
606 struct rproc *scp_get_rproc(struct mtk_scp *scp) in scp_get_rproc()
619 unsigned int scp_get_vdec_hw_capa(struct mtk_scp *scp) in scp_get_vdec_hw_capa()
632 unsigned int scp_get_venc_hw_capa(struct mtk_scp *scp) in scp_get_venc_hw_capa()
652 void *scp_mapping_dm_addr(struct mtk_scp *scp, u32 mem_addr) in scp_mapping_dm_addr()
664 static int scp_map_memory_region(struct mtk_scp *scp) in scp_map_memory_region()
691 static void scp_unmap_memory_region(struct mtk_scp *scp) in scp_unmap_memory_region()
704 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_register_ipi() local
711 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_unregister_ipi() local
719 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_send_ipi() local
731 static void scp_add_rpmsg_subdev(struct mtk_scp *scp) in scp_add_rpmsg_subdev()
740 static void scp_remove_rpmsg_subdev(struct mtk_scp *scp) in scp_remove_rpmsg_subdev()
753 struct mtk_scp *scp; in scp_probe() local
862 struct mtk_scp *scp = platform_get_drvdata(pdev); in scp_remove() local