Home
last modified time | relevance | path

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

/drivers/platform/x86/
Dintel_punit_ipc.c51 static inline u32 ipc_read_status(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_status() argument
53 return readl(ipcdev->base[type][BASE_IFACE]); in ipc_read_status()
56 static inline void ipc_write_cmd(IPC_DEV *ipcdev, IPC_TYPE type, u32 cmd) in ipc_write_cmd() argument
58 writel(cmd, ipcdev->base[type][BASE_IFACE]); in ipc_write_cmd()
61 static inline u32 ipc_read_data_low(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_low() argument
63 return readl(ipcdev->base[type][BASE_DATA] + OFFSET_DATA_LOW); in ipc_read_data_low()
66 static inline u32 ipc_read_data_high(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_high() argument
68 return readl(ipcdev->base[type][BASE_DATA] + OFFSET_DATA_HIGH); in ipc_read_data_high()
71 static inline void ipc_write_data_low(IPC_DEV *ipcdev, IPC_TYPE type, u32 data) in ipc_write_data_low() argument
73 writel(data, ipcdev->base[type][BASE_DATA] + OFFSET_DATA_LOW); in ipc_write_data_low()
[all …]
Dintel_scu_ipc.c81 static struct intel_scu_ipc_dev *ipcdev; /* Only one for now */ variable
106 if (ipcdev) { in intel_scu_ipc_dev_get()
107 get_device(&ipcdev->dev); in intel_scu_ipc_dev_get()
112 if (!try_module_get(ipcdev->owner)) in intel_scu_ipc_dev_get()
113 put_device(&ipcdev->dev); in intel_scu_ipc_dev_get()
115 scu = ipcdev; in intel_scu_ipc_dev_get()
274 scu = ipcdev; in intel_scu_ipc_get()
585 if (ipcdev) { in __intel_scu_ipc_register()
636 ipcdev = scu; in __intel_scu_ipc_register()
664 if (!WARN_ON(!ipcdev)) { in intel_scu_ipc_unregister()
[all …]