STRUCT SOF_IPC4_NOTIFY_MODULE_DATA(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

OMG bestie, welcome to the struct sof_ipc4_notify_module_data(9) page from the Kernel API Manual. This is the payload for module notification, and it's lowkey iconic in the firmware world. Let's get into it. ๐Ÿ’…โœจ


๐ŸŽ€ NAME ๐ŸŽ€

struct sof_ipc4_notify_module_data โ€” payload for module notification ๐Ÿฆ‹


๐ŸŒธ SYNOPSIS ๐ŸŒธ

struct sof_ipc4_notify_module_data {
    uint16_t instance_id;
    uint16_t module_id;
    uint32_t event_id;
    uint32_t event_data_size;
    uint8_t event_data[];
};

๐Ÿ’– DESCRIPTION ๐Ÿ’–

Okay so this struct is the whole vibe for module notifications. It's got five members and each one is doing its own little job. No cap, they're all important. Let's break them down one by one. ๐Ÿ‘‘

โœจ Members โœจ

  • instance_id โ€” the instance ID of the module that started this notification. It's like the originator's handle, you know? ๐Ÿ‘‘
  • module_id โ€” the module ID of the originator of the notification. Basically which module is speaking. ๐Ÿ’…
  • event_id โ€” the module-specific event ID. Think of it as the event's vibe check. โœจ
  • event_data_size โ€” the size of the event_data (if there is any) in bytes. Math girlies stay winning. ๐Ÿงฎ
  • event_data โ€” optional notification data, and its meaning depends on the module and the notification. So it's a flexible queen. ๐ŸŒˆ
ngl, this struct is giving modular energy and we're obsessed.

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

  • ./include/sound/sof/ipc4/header.h (Kernel file)
  • struct sof_ipc4_msg(9)
  • struct sof_ipc4_tuple(9)
  • struct sof_ipc4_process_data_error_event_data(9)
  • struct sof_ipc4_mixer_underrun_event_data(9)
  • union sof_ipc4_resource_event_data(9)

This page lives in ./include/sound/sof/ipc4, and it's from October 2026. The struct sof_i..._module_data(9) page is a whole vibe. Bye bestie! ๐Ÿ’–โœจ๐Ÿซถ

๐Ÿ“ฆ where this page comes from