Home
last modified time | relevance | path

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

/drivers/platform/x86/
Dintel_pmc_ipc.c113 } ipcdev; variable
139 ipcdev.cmd = cmd; in ipc_send_command()
140 if (ipcdev.irq_mode) { in ipc_send_command()
141 reinit_completion(&ipcdev.cmd_complete); in ipc_send_command()
144 writel(cmd, ipcdev.ipc_base + IPC_CMD); in ipc_send_command()
149 return readl(ipcdev.ipc_base + IPC_STATUS); in ipc_read_status()
154 writel(data, ipcdev.ipc_base + IPC_WRITE_BUFFER + offset); in ipc_data_writel()
159 return readb(ipcdev.ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readb()
164 return readl(ipcdev.ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readl()
172 if (ipcdev.irq_mode) { in intel_pmc_ipc_check_status()
[all …]
Dintel_scu_ipc.c103 static struct intel_scu_ipc_dev ipcdev; /* Only one for now */ variable
216 struct intel_scu_ipc_dev *scu = &ipcdev; in pwr_reg_rdwr()
440 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_simple_command()
470 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_command()
513 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_i2c_cntrl()
572 struct intel_scu_ipc_dev *scu = &ipcdev; in ipc_probe()