Home
last modified time | relevance | path

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

/drivers/mailbox/
Dpl320-ipc.c53 static void __iomem *ipc_base; variable
61 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxDSET(mbox)); in set_destination()
62 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxMSET(mbox)); in set_destination()
67 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxDCLEAR(mbox)); in clear_destination()
68 writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxMCLEAR(mbox)); in clear_destination()
75 writel_relaxed(data[i], ipc_base + IPCMxDR(mbox, i)); in __ipc_send()
76 writel_relaxed(0x1, ipc_base + IPCMxSEND(mbox)); in __ipc_send()
83 data[i] = readl_relaxed(ipc_base + IPCMxDR(mbox, i)); in __ipc_rcv()
115 irq_stat = readl_relaxed(ipc_base + IPCMMIS(1)); in ipc_handler()
117 writel_relaxed(0, ipc_base + IPCMxSEND(IPC_TX_MBOX)); in ipc_handler()
[all …]
/drivers/platform/x86/
Dintel_scu_ipc.c92 void __iomem *ipc_base; member
125 writel(cmd | IPC_IOC, scu->ipc_base); in ipc_command()
136 writel(data, scu->ipc_base + 0x80 + offset); in ipc_data_writel()
148 return __raw_readl(scu->ipc_base + 0x04); in ipc_read_status()
154 return readb(scu->ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readb()
160 return readl(scu->ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readl()
252 memcpy_fromio(cbuf, scu->ipc_base + 0x90, 16); in pwr_reg_rdwr()
526 writel(dptr, scu->ipc_base + IPC_DPTR); in intel_scu_ipc_raw_command()
527 writel(sptr, scu->ipc_base + IPC_SPTR); in intel_scu_ipc_raw_command()
613 writel(status | IPC_STATUS_IRQ, scu->ipc_base + IPC_STATUS); in ioc()
[all …]
Dintel_pmc_ipc.c121 void __iomem *ipc_base; member
178 writel(cmd, ipcdev.ipc_base + IPC_CMD); in ipc_send_command()
183 return readl(ipcdev.ipc_base + IPC_STATUS); in ipc_read_status()
188 writel(data, ipcdev.ipc_base + IPC_WRITE_BUFFER + offset); in ipc_data_writel()
193 return readb(ipcdev.ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readb()
198 return readl(ipcdev.ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readl()
431 writel(dptr, ipcdev.ipc_base + IPC_DPTR); in intel_pmc_ipc_raw_cmd()
432 writel(sptr, ipcdev.ipc_base + IPC_SPTR); in intel_pmc_ipc_raw_cmd()
476 writel(status | IPC_STATUS_IRQ, ipcdev.ipc_base + IPC_STATUS); in ioc()
506 pmc->ipc_base = pcim_iomap_table(pdev)[0]; in ipc_pci_probe()
[all …]