snd_hda_code...t_power_save(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’» snd_hda_codec_set_power_save(9) β€” the Kernel API Manual glow-up ✨

okay bestie, welcome to the Kernel API Manual, where we read kernel docs for fun and also because we have to 🫢. Today's main character is snd_hda_codec_set_power_save β€” the little function that tells a codec how long it's allowed to nap before runtime power management yanks its blanket away 😴⚑


✨ NAME ✨

snd_hda_codec_set_power_save β€” literally just configure the codec's runtime PM. that's it. that's the whole job πŸ’…


🌸 SYNOPSIS 🌸

void snd_hda_codec_set_power_save (struct hda_codec *codec , int delay
);

no cap, that's the entire signature. two things go in, nothing comes out (it returns void, she's a giver, not a receiver πŸ’–).


πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” the codec device you're configuring, i.e. the lil audio chip in question. point at it, be nice to it πŸ¦‹
  • delay β€” the autosuspend delay. how long it waits before it's like "okay going to sleep now 😴".

πŸ”₯ SEE ALSO πŸ”₯

okay so this section is long β€” like, group-chat-scroll-back long β€” but every single one of these is here and you're gonna read them because they're iconic and you might need them:

not me listing all of these πŸ’€ but fr fr they're all in the original so they're all staying. read them, love them, man 9 them 🧚

and that's the page!! 🌈 sourced from ./sound/hda/common, dated October 2026 β€” mwah, slay, periodt πŸ’…πŸ’– go configure some runtime PM bestie, you got this πŸ‘‘

πŸ“¦ where this page comes from