snd_hdac_ext...link_by_addr(9)
π NAME π
okay so bestie, this page is literally the Kernel API Manual (section 9) glow-up of snd_hdac_ext_bus_get_hlink_by_addr β the girlie whose whole job is get hlink at specified address. she's a finder, a looker-upper, a "where's my link at" icon π
β¨ SYNOPSIS β¨
struct hdac_ext_link * snd_hdac_ext_bus_get_hlink_by_addr (struct
hdac_bus *bus , int addr );
that's it. that's the whole vibe. two args, one pointer back, no cap π«Ά
πΈ ARGUMENTS πΈ
busβ the parent bus device that our hlink belongs to. like, her mom. her origin story. πaddrβ the codec device address. this is the little number you're matching against, iykyk π
π DESCRIPTION π
Returns the hlink object β or NULL if a matching hlink isn't found π. that's literally the entire plot. you hand her a bus and an address, she either comes back with your hlink or she comes back with nothing at all, and honestly? both are valid. NULL is not a personality flaw, it's just her saying "not here, babe" π
π¦ SEE ALSO π¦
- Kernel file
./sound/hda/core/ext/controller.c snd_hdac_ext_bus_ppcap_enable(9)snd_hdac_ext_bus_ppcap_int_enable(9)snd_hdac_ext_bus_get_ml_capabilities(9)snd_hdac_ext_link_free_all(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)
go read them all, they're the friend group and every single one of them ate π₯
remember bestie: NULL is a real answer, not a bug. check before you dereference, or the kernel will humble you ππ
and that's the page, periodt π she lives in ./sound/hda/core/ext, she's rocking the October 2026 timestamp, and this was your girl signing off from the Kernel API Manual β stay hydrated, check your pointers, and slay π§ββοΈπβ¨
π¦ 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