snd_hdac_ext...capabilities(9)
π 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 π§:
snd_hdac_ext_bus_ppcap_enable(9)snd_hdac_ext_bus_ppcap_int_enable(9)snd_hdac_ext_link_free_all(9)snd_hdac_ext_bus_get_hlink_by_addr(9)snd_hdac_ext_bus_get_hlink_by_name(9)snd_hdac_ext_bus_link_power_up(9)snd_hdac_ext_bus_link_power_down(9)snd_hdac_ext_bus_link_power_up_all(9)snd_hdac_ext_bus_link_power_down_all(9)snd_hdac_ext_bus_link_set_stream_id(9)snd_hdac_ext_bus_link_clear_stream_id(9)
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
- 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