STRUCT SOF_IPC4_FW_LIBRARY(9)
π struct sof_ipc4_fw_library(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct sof_ipc4_fw_library(9), and it's literally all about IPC4 library information. no cap, that's the whole vibe.
πΈ NAME πΈ
struct sof_ipc4_fw_library β IPC4 library information π
β¨ SYNOPSIS β¨
struct sof_ipc4_fw_library {
struct sof_firmware sof_fw;
const char *name;
u32 id;
int num_modules;
struct sof_ipc4_fw_module *modules;
};
like, look at her. main character struct. π
π«Ά Members π«Ά
okay let's do a little meet-and-greet with the fields, fr fr:
sof_fwβ the SOF Firmware of the library π¦ that's her firmware, that's the whole point.idβ the Library ID. okay so this one matters:0is reserved for basefw, so external libraries must have a unique ID number between1and (sof_ipc4_fw_data.max_libs_count - 1). like, don't touch 0, that's not yours πnum_modulesβ the number of FW modules in the library. just counting the modules, bestie π’modulesβ array of FW modules. the whole squad, lined up π
also name is chillin' in the struct up there βοΈ β the original page doesn't give her a lil description, so I'm not gonna make one up. iykyk π
π Note π
so if sof_ipc4_fw_data.max_libs_count == 1, that implies external libraries are not supported. periodt. if you're sitting at 1, there's no room for externals, that's the whole deal π₯
π§ SEE ALSO π§
- Kernel file
./sound/soc/sof/ipc4-priv.h struct sof_ipc4_fw_module(9)struct sof_ipc4_fw_data(9)
and that's the page, bestie! πβ¨ this one lives in ./sound/soc/sof, and the version/date stamped on it is October 2026 β so, like, future vibes only ππ¦ mwah, go read the source, ily π«Ά
π¦ 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