snd_hda_gen...power_filter(9)
π snd_hda_gen...power_filter β from the Kernel API Manual bestie π
okay so this is a page about snd_hda_gen_path_power_filter, living in the Kernel API Manual, and honestly? it's a little guy with one job and it does it beautifully. let's get into it β¨
πΈ NAME πΈ
snd_hda_gen_path_power_filter β the power_filter hook whose whole thing is making inactive widgets go into power down π€ no cap, that's literally it, that's the gig.
β¨ SYNOPSIS β¨
unsigned int snd_hda_gen_path_power_filter (struct hda_codec *codec ,
hda_nid_t nid , unsigned int power_state );
like... look at her. iconic signature, zero notes π«Ά
π¦ ARGUMENTS π¦
codecβ the HDA codec π the main character of this whole situationnidβ the NID to evaluate π (this is the one getting the vibe check)power_stateβ the target power state β‘ the destination, the goal, the dream
π SEE ALSO π
this is the friend group and they're all in the same kernel file, ./sound/hda/codecs/generic.c β go say hi to all of them π
snd_hda_gen_spec_init(9)snd_hda_gen_add_kctl(9)snd_hda_get_path_idx(9)snd_hda_get_path_from_idx(9)snd_hda_add_new_path(9)snd_hda_activate_path(9)snd_hda_gen_add_mute_led_cdev(9)snd_hda_gen_add_micmute_led_cdev(9)snd_hda_gen_fix_pin_power(9)snd_hda_gen_update_outputs(9)snd_hda_gen_hp_automute(9)snd_hda_gen_line_automute(9)snd_hda_gen_mic_autoswitch(9)snd_hda_gen_stream_pm(9)snd_hda_gen_shutup_speakers(9)snd_hda_gen_parse_auto_config(9)snd_hda_gen_build_controls(9)snd_hda_gen_build_pcms(9)snd_hda_gen_init(9)snd_hda_gen_remove(9)snd_hda_gen_check_power_status(9)
real talk bestie: the source of all this is./sound/hda/codecs, the version/date stamp says October 2026, and the page goes bysnd_hda_gen...power_filter(9). mwah, that's the whole sign-off π slay, go read the source, ily π§ββοΈπ
π¦ 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