Lines Matching refs:outbox_base
62 void __iomem *outbox_base; member
143 return do_outbox_isr(priv->outbox_base, priv); in sprd_mbox_outbox_isr()
244 writel(0x0, priv->outbox_base + SPRD_MBOX_FIFO_RST); in sprd_mbox_startup()
252 val = readl(priv->outbox_base + SPRD_MBOX_IRQ_MSK); in sprd_mbox_startup()
254 writel(val, priv->outbox_base + SPRD_MBOX_IRQ_MSK); in sprd_mbox_startup()
277 writel(SPRD_OUTBOX_FIFO_IRQ_MASK, priv->outbox_base + SPRD_MBOX_IRQ_MSK); in sprd_mbox_shutdown()
323 priv->outbox_base = devm_platform_ioremap_resource(pdev, 1); in sprd_mbox_probe()
324 if (IS_ERR(priv->outbox_base)) in sprd_mbox_probe()
325 return PTR_ERR(priv->outbox_base); in sprd_mbox_probe()
370 priv->supp_base = priv->outbox_base + (SPRD_OUTBOX_BASE_SPAN * supp); in sprd_mbox_probe()
375 readl(priv->outbox_base + SPRD_MBOX_FIFO_DEPTH) + 1; in sprd_mbox_probe()