|
Sound Open Firmware
|
IPC4 asynchronous notifications, GLITCH reports, and FW ready events. More...

Go to the source code of this file.
Data Structures | |
| union | ipc4_notification_header |
| Standard 32-bit IPC4 notification primary header word. More... | |
| struct | ipc4_voice_cmd_notification |
| This notification is reported by the Detector module upon key phrase detection. More... | |
| struct | ipc4_watchdog_timeout_notification |
| Watchdog timeout notification structure (SOF_IPC4_WATCHDOG_TIMEOUT). More... | |
| struct | ipc4_process_data_error_event_data |
| Data payload for process data error event (SOF_IPC4_PROCESS_DATA_ERROR). More... | |
| struct | ipc4_mixer_underrun_event_data |
| Data payload for mixer underrun event (SOF_IPC4_MIXER_UNDERRUN_DETECTED). More... | |
| union | ipc4_resource_event_data |
| Polymorphic payload for generic resource event notification. More... | |
| struct | ipc4_resource_event_data_notification |
| Full resource event notification structure sent in Mailbox Window 0. More... | |
Macros | |
| #define | SOF_IPC4_GLB_NOTIFY_DIR_MASK BIT(29) |
| Global notification direction bitmask. | |
| #define | SOF_IPC4_REPLY_STATUS_MASK 0xFFFFFF |
| Reply status mask in primary register. | |
| #define | SOF_IPC4_GLB_NOTIFY_TYPE_SHIFT 16 |
| Bit shift for notification type in primary register. | |
| #define | SOF_IPC4_GLB_NOTIFY_MSG_TYPE_SHIFT 24 |
| Bit shift for message type in primary register. | |
| #define | SOF_IPC4_FW_READY |
| Pre-computed header word for FW_READY notification. | |
| #define | SOF_IPC4_FW_READY_LIB_RESTORED BIT(15) |
| FW_READY extension flag indicating dynamic libraries were restored. | |
| #define | SOF_IPC4_NOTIF_HEADER(notif_type) |
| Helper macro to construct notification primary header DWORD. | |
| #define | IPC4_RESOURCE_EVENT_SIZE sizeof(struct ipc4_resource_event_data_notification) |
| Size in bytes of resource event notification data packet. | |
Functions | |
| static void | ipc4_notification_watchdog_init (struct ipc4_watchdog_timeout_notification *notif, uint32_t core_id, bool first_timeout) |
| Helper to initialize watchdog timeout notification structure. | |
| void | send_process_data_error_notif_msg (uint32_t resource_id, uint32_t error_code) |
| Send process data error notification message to host. | |
| bool | send_copier_gateway_xrun_notif_msg (uint32_t pipeline_id, enum sof_ipc_stream_direction dir) |
| Send Copier gateway xrun (underrun/overrun) notification to host. | |
| bool | send_gateway_xrun_notif_msg (uint32_t resource_id, enum sof_ipc_stream_direction dir) |
| Send DMA gateway xrun notification to host. | |
| void | send_mixer_underrun_notif_msg (uint32_t resource_id, uint32_t eos_flag, uint32_t data_mixed, uint32_t expected_data_mixed) |
| Send mixer underrun notification message to host. | |
| void | ipc4_update_notification_mask (uint32_t ntfy_mask, uint32_t enabled_mask) |
| Update host notification enable/disable bitmasks. | |
| bool | send_resource_notif (uint32_t resource_id, uint32_t event_type, uint32_t resource_type, void *data, uint32_t data_size) |
| Send generic resource event notification. | |
IPC4 asynchronous notifications, GLITCH reports, and FW ready events.
| #define IPC4_RESOURCE_EVENT_SIZE sizeof(struct ipc4_resource_event_data_notification) |
Size in bytes of resource event notification data packet.
| #define SOF_IPC4_FW_READY |
Pre-computed header word for FW_READY notification.
| #define SOF_IPC4_FW_READY_LIB_RESTORED BIT(15) |
FW_READY extension flag indicating dynamic libraries were restored.
| #define SOF_IPC4_GLB_NOTIFY_DIR_MASK BIT(29) |
Global notification direction bitmask.
| #define SOF_IPC4_GLB_NOTIFY_MSG_TYPE_SHIFT 24 |
Bit shift for message type in primary register.
| #define SOF_IPC4_GLB_NOTIFY_TYPE_SHIFT 16 |
Bit shift for notification type in primary register.
| #define SOF_IPC4_NOTIF_HEADER | ( | notif_type | ) |
Helper macro to construct notification primary header DWORD.
| #define SOF_IPC4_REPLY_STATUS_MASK 0xFFFFFF |
Reply status mask in primary register.