snd_hda_cod...power_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ snd_hda_codec_eapd_power_filter(9) ✨

okay so this is a page from the Kernel API Manual bestie, and it's about snd_hda_codec_eapd_power_filter β€” the little power filter callback for EAPD πŸŽ€


πŸ’– NAME πŸ’–

snd_hda_codec_eapd_power_filter β€” a power filter callback for EAPD ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned int snd_hda_codec_eapd_power_filter (struct hda_codec *codec ,
hda_nid_t nid , unsigned int power_state );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” the HDA codec πŸ’…
  • nid β€” widget NID 🌸
  • power_state β€” power state to evalue (their spelling, not mine, don't come for me 😭)

🌈 DESCRIPTION 🌈

ok so the whole vibe here: don't power down the widget if it controls eapd and EAPD_BTLENABLE is set. that's it, that's the rule 🫢

and yes, you can use this as a codec power_filter callback. iconic behavior honestly πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./sound/hda/common/codec.c β€” plus literally the entire extended universe, no cap:


πŸ’œ the sign-off πŸ’œ

this masterpiece lives in ./sound/hda/common, it's dated October 2026, and it will forever answer to the name snd_hda_cod...power_filter(9) πŸ’…βœ¨ slay, go read it again, mwah πŸ«ΆπŸ“

πŸ“¦ where this page comes from