snd_hdac_power_down(9)
β¨ snd_hdac_power_down β¨
okay so bestie, welcome to the Kernel API Manual β this is the page for snd_hdac_power_down(9), and honestly? it's a little baddie of a function. let's get into it π
πΈ NAME πΈ
snd_hdac_power_down β power down the codec
like... it puts the codec to sleep. that's the whole vibe. periodt. π΄
β SYNOPSIS β
int snd_hdac_power_down (struct hdac_device *codec );
that's it, that's the whole signature. no cap. π«Ά
π ARGUMENTS π
codecβ the codec object π (yes, THE codec object. the one and only. the main character.)
π¦ DESCRIPTION π¦
so what does it actually do?? it powers down the codec, icon behavior fr fr.
it returns zero if successful, or a negative error code. that's the whole contract, bestie β 0 means slay, anything negative means something went sideways, so pls check your return value, i'm literally begging π
π SEE ALSO π
this function lives in the kernel file ./sound/hda/core/device.c β and here's the whole friend group, no one left out:
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_up_pm(9)snd_hdac_power_down_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)
(also snd_hdac_power_up(9) is literally right there if you ever need to wake it back up β balance, bestie π§)
π sign-off π
and that's the page!! brought to you by the source path ./sound/hda/core, dated October 2026, and yes the manpage title is still snd_hdac_power_down(9) because we never forget where we came from π
now go forth and power down some codecs, queen πβ¨
π¦ 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