Lines Matching refs:scp_to_host
68 static void scp_wdt_handler(struct mtk_scp *scp, u32 scp_to_host) in scp_wdt_handler() argument
73 dev_err(scp->dev, "SCP watchdog timeout! 0x%x", scp_to_host); in scp_wdt_handler()
211 u32 scp_to_host; in mt8183_scp_irq_handler() local
213 scp_to_host = readl(scp->cluster->reg_base + MT8183_SCP_TO_HOST); in mt8183_scp_irq_handler()
214 if (scp_to_host & MT8183_SCP_IPC_INT_BIT) in mt8183_scp_irq_handler()
217 scp_wdt_handler(scp, scp_to_host); in mt8183_scp_irq_handler()
226 u32 scp_to_host; in mt8192_scp_irq_handler() local
228 scp_to_host = readl(scp->cluster->reg_base + MT8192_SCP2APMCU_IPC_SET); in mt8192_scp_irq_handler()
230 if (scp_to_host & MT8192_SCP_IPC_INT_BIT) { in mt8192_scp_irq_handler()
240 scp_wdt_handler(scp, scp_to_host); in mt8192_scp_irq_handler()
247 u32 scp_to_host; in mt8195_scp_irq_handler() local
249 scp_to_host = readl(scp->cluster->reg_base + MT8192_SCP2APMCU_IPC_SET); in mt8195_scp_irq_handler()
251 if (scp_to_host & MT8192_SCP_IPC_INT_BIT) { in mt8195_scp_irq_handler()
265 writel(scp_to_host, scp->cluster->reg_base + MT8192_SCP2APMCU_IPC_CLR); in mt8195_scp_irq_handler()
270 u32 scp_to_host; in mt8195_scp_c1_irq_handler() local
272 scp_to_host = readl(scp->cluster->reg_base + MT8195_SSHUB2APMCU_IPC_SET); in mt8195_scp_c1_irq_handler()
274 if (scp_to_host & MT8192_SCP_IPC_INT_BIT) in mt8195_scp_c1_irq_handler()
277 writel(scp_to_host, scp->cluster->reg_base + MT8195_SSHUB2APMCU_IPC_CLR); in mt8195_scp_c1_irq_handler()