snd_hdac_bus_link_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 a struct hdac_device *
  • enable β€” a bool telling 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:

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's snd_hdac_bus_enter_link_reset(9) and snd_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