STRUCT SOF_IPC4_FW_DATA(9)
πΈ struct sof_ipc4_fw_data(9) πΈ
Okay bestie, welcome to the Kernel API Manual page for struct sof_ipc4_fw_data β literally the struct for IPC4-specific data. π«Ά This is the whole vibe: one struct, a bunch of fields, and every single one is listed below. No skipping, no cap.
β¨ NAME β¨
struct sof_ipc4_fw_data β IPC4-specific data π
π¦ SYNOPSIS π¦
struct sof_ipc4_fw_data {
u32 manifest_fw_hdr_offset;
struct xarray fw_lib_xa;
void *nhlt;
enum sof_ipc4_mtrace_type mtrace_type;
u32 mtrace_log_bytes;
int num_playback_streams;
int num_capture_streams;
int max_num_pipelines;
u32 max_libs_count;
bool fw_context_save;
bool libraries_restored;
int (*load_library)(struct snd_sof_dev *sdev, struct sof_ipc4_fw_library *fw_lib, bool reload);
void (*intel_configure_mic_privacy)(struct snd_sof_dev *sdev, struct sof_ipc4_intel_mic_privacy_cap *caps);
struct mutex pipeline_state_mutex;
};
π§ Members π§
manifest_fw_hdr_offsetβ the FW header offset in the manifest. β¨fw_lib_xaβ XArray for firmware libraries, including basefw (ID = 0). Itβs used to store the FW libraries and to manage the unique IDs of the libraries. ποΈnhltβ the NHLT table, either from the BIOS or the topology manifest. πΏmtrace_typeβ the mtrace type supported on the booted platform. πmtrace_log_bytesβ log bytes as reported by the firmware viafw_configreply. πnum_playback_streamsβ max number of playback DMAs, needed for CHAIN_DMA offset. π₯num_capture_streamsβ max number of capture DMAs. πmax_num_pipelinesβ max number of pipelines. π§΅max_libs_countβ Maximum number of libraries support by the FW including the base firmware. πfw_context_saveβ Firmware supports full context save and restore. πΎlibraries_restoredβ The libraries have been retained during firmware boot. πload_libraryβ Callback function for platform dependent library loading. π«Άintel_configure_mic_privacyβ this field is in the struct synopsis, but the original Members list gives no description for it, so Iβm not inventing lore. πpipeline_state_mutexβ Mutex to protect pipeline triggers, ref counts, states and deletion. π
π SEE ALSO π
Kernel file ./sound/soc/sof/ipc4-priv.h plus struct sof_ipc4_fw_module(9) and struct sof_ipc4_fw_library(9). Go read those next, bestie β iykyk. π¦
Bye bestie! This iconic page comes from source/version ./sound/soc/sof, dated October 2026 β Kernel API Manual energy, signing off. π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms