Searched refs:ipcdev (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/platform/x86/ |
D | intel_pmc_ipc.c | 143 } ipcdev; variable 169 ipcdev.cmd = cmd; in ipc_send_command() 170 if (ipcdev.irq_mode) { in ipc_send_command() 171 reinit_completion(&ipcdev.cmd_complete); in ipc_send_command() 174 writel(cmd, ipcdev.ipc_base + IPC_CMD); in ipc_send_command() 179 return readl(ipcdev.ipc_base + IPC_STATUS); in ipc_read_status() 184 writel(data, ipcdev.ipc_base + IPC_WRITE_BUFFER + offset); in ipc_data_writel() 189 return readb(ipcdev.ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readb() 194 return readl(ipcdev.ipc_base + IPC_READ_BUFFER + offset); in ipc_data_readl() 199 return readq(ipcdev.gcr_mem_base + offset); in gcr_data_readq() [all …]
|
D | intel_punit_ipc.c | 52 static inline u32 ipc_read_status(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_status() argument 54 return readl(ipcdev->base[type][BASE_IFACE]); in ipc_read_status() 57 static inline void ipc_write_cmd(IPC_DEV *ipcdev, IPC_TYPE type, u32 cmd) in ipc_write_cmd() argument 59 writel(cmd, ipcdev->base[type][BASE_IFACE]); in ipc_write_cmd() 62 static inline u32 ipc_read_data_low(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_low() argument 64 return readl(ipcdev->base[type][BASE_DATA] + OFFSET_DATA_LOW); in ipc_read_data_low() 67 static inline u32 ipc_read_data_high(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_high() argument 69 return readl(ipcdev->base[type][BASE_DATA] + OFFSET_DATA_HIGH); in ipc_read_data_high() 72 static inline void ipc_write_data_low(IPC_DEV *ipcdev, IPC_TYPE type, u32 data) in ipc_write_data_low() argument 74 writel(data, ipcdev->base[type][BASE_DATA] + OFFSET_DATA_LOW); in ipc_write_data_low() [all …]
|
D | intel_scu_ipc.c | 100 static struct intel_scu_ipc_dev ipcdev; /* Only one for now */ variable 213 struct intel_scu_ipc_dev *scu = &ipcdev; in pwr_reg_rdwr() 437 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_simple_command() 467 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_command() 513 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_raw_command() 573 struct intel_scu_ipc_dev *scu = &ipcdev; in intel_scu_ipc_i2c_cntrl() 631 struct intel_scu_ipc_dev *scu = &ipcdev; in ipc_probe()
|