snd_hdac_power_up_pm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_hdac_power_up_pm πŸ’–

okay bestie, this is the snd_hdac_power_up_pm(9) page from the Kernel API Manual, and it's literally all about powering up the codec ✨


🌸 NAME 🌸

snd_hdac_power_up_pm β€” power up the codec


⭐ SYNOPSIS ⭐

int snd_hdac_power_up_pm (struct hdac_device *codec );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” the codec object 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This function can be called in a recursive code path, like init code which may be called by PM suspend/resume again. iykyk πŸ’…

OTOH, if a power-up call must wake up the sleeper (e.g. in a kctl callback), use snd_hdac_power_up instead. Not me being dramatic, that's just the vibe check 😭

Returns zero if successful, or a negative error code. slay βœ…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./sound/hda/core/device.c, plus these iconic functions and friends: 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_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) 🌈


mwah πŸ’‹ β€” this little page comes from ./sound/hda/core and is dated October 2026. periodt πŸ’…

πŸ“¦ where this page comes from