snd_hda_gen_...power_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_hda_gen_check_power_status(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for snd_hda_gen_check_power_status β€” yes the header up top says snd_hda_gen_...power_status(9) because it got truncated and honestly? relatable. anyway. this is the whole vibe. ✨


🌸 NAME 🌸

snd_hda_gen_check_power_status β€” check the loopback power save state 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

int snd_hda_gen_check_power_status (struct hda_codec *codec , hda_nid_t
nid );

like literally that's the whole signature, no cap. it hands you back an int and takes two things. πŸ‘‘

🧚 ARGUMENTS 🧚

  • codec β€” the HDA codec πŸ’– that's the thing you're poking at.
  • nid β€” the NID to inspect πŸ” (yes, just the one NID, she's a single-target icon).

πŸ’€ DESCRIPTION πŸ’€

so what does it do?? it checks the loopback power save state. that's the assignment. πŸ“‹

and here's the slay part: this function can be put as the hda_codec_ops check_power_status function. so you can just drop her in there and she'll do the job. main character energy fr fr. πŸ’…

🌈 SEE ALSO 🌈

sourced from the kernel file ./sound/hda/codecs/generic.c β€” and here's the whole friend group, all of them, no one left out (i would never πŸ™ˆ):

go read them, iykyk πŸ“


and that's a wrap bestie!! this page lives in ./sound/hda/codecs, dated October 2026, under the Kernel API Manual banner β€” mwah, stan her, she ate πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from