snd_hdac_ext...capabilities(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_hdac_ext...capabilities(9) β€” the kernel API manual, but make it make sense

okay so this is a page from the Kernel API Manual, section 9, and the full title got literally truncated to snd_hdac_ext...capabilities(9) because apparently even manpage headers have a character limit πŸ’€. Anyway bestie, it's about the extended HDAC bus (that's the HDA controller stuff for audio, iykyk) and specifically about multilink capabilities. Let's get into it πŸŽ€


✨ NAME ✨

snd_hdac_ext_bus_get_ml_capabilities β€” get multilink capability πŸ¦‹

like, that's the whole vibe. it gets the multilink capabilities. no cap.


🌸 SYNOPSIS 🌸

int snd_hdac_ext_bus_get_ml_capabilities (struct hdac_bus *bus );

that's the signature, copy it exactly, don't come for me about the spacing, it's verbatim πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • bus β€” the pointer to the HDAC bus object. yes girl, it's a pointer. it points at the bus. that's the whole thing 🫢

⭐ DESCRIPTION ⭐

okay so here's what actually happens. this function parses all the links and reads the mlink capabilities, and then it adds them into hlink_list of the extended hdac bus ✨

so basically it goes shopping through every link, scoops up the mlink capabilities, and files them away in the extended hdac bus's hlink_list. main character energy fr fr πŸ‘‘


πŸ”₯ NOTE πŸ”₯

this will be freed on bus exit by driver 😭

so like, you don't have to clean this up yourself, the driver handles it on bus exit. but also, don't go thinking you own this memory, because you do not. respect the lifecycle bestie πŸ’€


🌈 SEE ALSO 🌈

the actual code lives in the kernel file:

./sound/hda/core/ext/controller.c

and here's the whole friend group, all the related functions, every single one, not skipping a single icon 🧚:


and that's the page!! πŸ’œ sign-off time: this one ships out of ./sound/hda/core/ext, dated October 2026, and it's snd_hdac_ext...capabilities(9) all over again because we came full circle πŸŽ€βœ¨ slay, go read the source, ily, bye πŸ¦‹

πŸ“¦ where this page comes from