Lines Matching refs:ipc_base
42 static void __iomem *ipc_base; variable
50 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxDSET(mbox)); in set_destination()
51 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxMSET(mbox)); in set_destination()
56 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxDCLEAR(mbox)); in clear_destination()
57 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxMCLEAR(mbox)); in clear_destination()
64 writel_relaxed(data[i], ipc_base + IPCMxDR(mbox, i)); in __ipc_send()
65 writel_relaxed(0x1, ipc_base + IPCMxSEND(mbox)); in __ipc_send()
72 data[i] = readl_relaxed(ipc_base + IPCMxDR(mbox, i)); in __ipc_rcv()
104 irq_stat = readl_relaxed(ipc_base + IPCMMIS(1)); in ipc_handler()
106 writel_relaxed(0, ipc_base + IPCMxSEND(IPC_TX_MBOX)); in ipc_handler()
112 writel_relaxed(2, ipc_base + IPCMxSEND(IPC_RX_MBOX)); in ipc_handler()
134 ipc_base = ioremap(adev->res.start, resource_size(&adev->res)); in pl320_probe()
135 if (ipc_base == NULL) in pl320_probe()
138 writel_relaxed(0, ipc_base + IPCMxSEND(IPC_TX_MBOX)); in pl320_probe()
147 ipc_base + IPCMxSOURCE(IPC_TX_MBOX)); in pl320_probe()
149 ipc_base + IPCMxDSET(IPC_TX_MBOX)); in pl320_probe()
151 ipc_base + IPCMxMSET(IPC_TX_MBOX)); in pl320_probe()
155 ipc_base + IPCMxSOURCE(IPC_RX_MBOX)); in pl320_probe()
157 ipc_base + IPCMxDSET(IPC_RX_MBOX)); in pl320_probe()
159 ipc_base + IPCMxMSET(IPC_RX_MBOX)); in pl320_probe()
163 iounmap(ipc_base); in pl320_probe()