snd_hdac_bus_link_power(9)
π snd_hdac_bus_link_power(9)
okay so bestie, welcome to the Kernel API Manual β¨ this is the page for snd_hdac_bus_link_power and it's genuinely so simple you're gonna slay it.
πΈ NAME πΈ
snd_hdac_bus_link_power β power up/down codec link π«Ά
Like, that's it. That's the whole vibe. You're turning the codec link on or off. Iconic behavior honestly.
β¨ SYNOPSIS β¨
void snd_hdac_bus_link_power (struct hdac_device *codec , bool enable );
no cap, that's the entire signature β copy it exactly, don't be cute with the spacing π
π ARGUMENTS π
codecβ the HD-audio device π this is the thing you're messing with, it's astruct hdac_device *enableβ abooltelling it whether to power-up the link β¨ (true= wakey wakey,false= nap time π΄)
π¦ SEE ALSO π¦
okay this is the part where the manpage just dumps the whole friend group on you, and honestly? main character energy. all of these live in the kernel file ./sound/hda/core/controller.c, and they're all (9) pages so you know they're the real ones:
snd_hdac_bus_init_cmd_io(9)snd_hdac_bus_stop_cmd_io(9)snd_hdac_bus_send_cmd_pio(9)snd_hdac_bus_get_response_pio(9)snd_hdac_bus_send_cmd_corb(9)snd_hdac_bus_update_rirb(9)snd_hdac_bus_get_response_rirb(9)snd_hdac_bus_send_cmd(9)snd_hdac_bus_get_response(9)snd_hdac_bus_parse_capabilities(9)snd_hdac_bus_enter_link_reset(9)snd_hdac_bus_exit_link_reset(9)snd_hdac_bus_init_chip(9)snd_hdac_bus_stop_chip(9)snd_hdac_bus_handle_stream_irq(9)snd_hdac_bus_alloc_stream_pages(9)snd_hdac_bus_free_stream_pages(9)
literally the whole squad π«Ά go read them, iykyk π
ngl if you're poking at the codec link power, you probably also wanna know about entering/exiting link reset β that'ssnd_hdac_bus_enter_link_reset(9)andsnd_hdac_bus_exit_link_reset(9)up there π
and that's the page!! π this absolute gem lives in ./sound/hda/core and the manual is dated October 2026 π go forth and power those links, bestie, you ate π
β¨
π¦ 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