Home
last modified time | relevance | path

Searched refs:ipc_base (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mailbox/
H A Dpl320-ipc.c42 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()
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dintel_scu_ipc.c62 void __iomem *ipc_base; member
194 writel(cmd | IPC_IOC, scu->ipc_base); in ipc_command()
205 writel(data, scu->ipc_base + IPC_WRITE_BUFFER + offset); in ipc_data_writel()
217 return __raw_readl(scu->ipc_base + IPC_STATUS); in ipc_read_status()
223 return readb(scu->ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readb()
229 return readl(scu->ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readl()
330 memcpy_fromio(cbuf, scu->ipc_base + 0x90, 16); in pwr_reg_rdwr()
544 writel(status | IPC_STATUS_IRQ, scu->ipc_base + IPC_STATUS); in ioc()
557 iounmap(scu->ipc_base); in intel_scu_ipc_release()
580 void __iomem *ipc_base; in __intel_scu_ipc_register() local
[all …]