Searched refs:ipcdev (Results 1 – 2 of 2) sorted by relevance
51 static inline u32 ipc_read_status(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_status() argument53 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() argument58 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() argument63 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() argument68 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() argument73 writel(data, ipcdev->base[type][BASE_DATA] + OFFSET_DATA_LOW); in ipc_write_data_low()[all …]
82 static struct intel_scu_ipc_dev *ipcdev; /* Only one for now */ variable105 if (ipcdev) { in intel_scu_ipc_dev_get()106 get_device(&ipcdev->dev); in intel_scu_ipc_dev_get()111 if (try_module_get(ipcdev->owner)) in intel_scu_ipc_dev_get()112 return ipcdev; in intel_scu_ipc_dev_get()114 put_device(&ipcdev->dev); in intel_scu_ipc_dev_get()266 scu = ipcdev; in intel_scu_ipc_get()573 if (ipcdev) in __intel_scu_ipc_register()620 ipcdev = scu; in __intel_scu_ipc_register()644 if (!WARN_ON(!ipcdev)) { in intel_scu_ipc_unregister()[all …]