Home
last modified time | relevance | path

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

/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 …]
/linux/drivers/platform/x86/
H A Dintel_scu_ipc.c61 void __iomem *ipc_base; member
193 writel(cmd | IPC_IOC, scu->ipc_base); in ipc_command()
204 writel(data, scu->ipc_base + IPC_WRITE_BUFFER + offset); in ipc_data_writel()
216 return __raw_readl(scu->ipc_base + IPC_STATUS); in ipc_read_status()
222 return readl(scu->ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readl()
531 writel(status | IPC_STATUS_IRQ, scu->ipc_base + IPC_STATUS); in ioc()
544 iounmap(scu->ipc_base); in intel_scu_ipc_release()
568 void __iomem *ipc_base; in __intel_scu_ipc_register() local
593 ipc_base = ioremap(data->mem.start, resource_size(&data->mem)); in __intel_scu_ipc_register()
594 if (!ipc_base) { in __intel_scu_ipc_register()
[all …]