snd_hdac_power_down_pm(9)
β¨ snd_hdac_power_down_pm β¨
okay bestie, welcome to the Kernel API Manual π
today's main character is snd_hdac_power_down_pm(9) β the little guy whose whole job is powering down the codec. yes, that codec. slay.
π NAME π
snd_hdac_power_down_pm β power down the codec
like, literally that. it puts the codec to sleep. nap time, icon behavior π΄β¨
π¦ SYNOPSIS π¦
int snd_hdac_power_down_pm (struct hdac_device *codec );
πΈ ARGUMENTS πΈ
codecβ the codec object π that's the whole argument, that's the vibe. it's the thing getting powered down.
π« DESCRIPTION π«
okay so listen π«Ά like snd_hdac_power_up_pm, this function is used in a recursive code path β think init code, the kind of thing that PM suspend/resume might call again. so yeah, it's living in the recursive part of town and it knows it. recursive path queens, we stan π
it returns zero if it worked (slay β¨), or a negative error code (oop π). that's the whole return contract, no cap.
π SEE ALSO π
Kernel file ./sound/hda/core/device.c, plus the whole friend group β go say hi:
snd_hdac_device_init(9)snd_hdac_device_exit(9)snd_hdac_device_register(9)snd_hdac_device_unregister(9)snd_hdac_device_set_chip_name(9)snd_hdac_codec_modalias(9)snd_hdac_make_cmd(9)snd_hdac_exec_verb(9)snd_hdac_read(9)_snd_hdac_read_parm(9)snd_hdac_read_parm_uncached(9)snd_hdac_override_parm(9)snd_hdac_get_sub_nodes(9)snd_hdac_refresh_widgets(9)snd_hdac_get_connections(9)snd_hdac_power_up(9)snd_hdac_power_down(9)snd_hdac_power_up_pm(9)snd_hdac_stream_format_bits(9)snd_hdac_stream_format(9)snd_hdac_spdif_stream_format(9)snd_hdac_query_supported_pcm(9)snd_hdac_is_supported_format(9)snd_hdac_codec_read(9)snd_hdac_codec_write(9)snd_hdac_check_power_state(9)snd_hdac_sync_power_state(9)
fr fr read the whole list, bestie. your future self debugging at 3am will thank you ππ
anyway that's the page!! this one lives in ./sound/hda/core, it's the October 2026 edition, and it is, of course, snd_hdac_power_down_pm(9) β icon, legend, the moment πβ go power something down responsibly π§π
π¦ 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