snd_hdac_sync_power_state(9)
β¨ snd_hdac_sync_power_state(9) β¨
okay bestie, welcome to the Kernel API Manual π
this one's a whole function, snd_hdac_sync_power_state, and honestly? its whole personality is waiting. like, it literally sits there until the actual power state matches the target state. no cap. π«Ά
πΈ NAME πΈ
snd_hdac_sync_power_state β wait until actual power state matches with the target state
like it's not gonna return until the vibes (power states) line up. it's giving patient main character energy β¨
π SYNOPSIS π
unsigned int snd_hdac_sync_power_state (struct hdac_device *codec ,
hda_nid_t nid , unsigned int power_state );
that's the whole signature, copy it exactly, don't be weird about it π¦
π ARGUMENTS π
codecβ the HDAC device. the whole audio codec bestie we're working with πnidβ NID to send the command. this is the node id we're poking at π―power_stateβ target power state to wait for. this is the destination, we're manifesting it β¨
π₯ DESCRIPTION π₯
Return power state or PS_ERROR if codec rejects GET verb. π
that's it, that's the whole thing. it returns the power state you asked about β but if the codec straight up rejects the GET verb, you get PS_ERROR back instead. rude of the codec honestly, but that's the deal π
π SEE ALSO π
Kernel file ./sound/hda/core/device.c β the whole squad lives here, go read it, iykyk π§
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_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)
fr fr, if you're deep in HDAC power-state land,snd_hdac_check_power_state(9)andsnd_hdac_power_up(9)/snd_hdac_power_down(9)are your besties too β the whole list above is basically the group chat π
and that's the page!! π sign-off time: this little cutie lives in ./sound/hda/core, it's stamped October 2026, and yes it's part of the snd_hdac_sync_power_state(9) manual. slay, go sync some power states, periodt π
π₯
π¦ 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