snd_hdac_stream_drsm_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_hdac_stream_drsm_enable(9) β€” like, the kernel API manual edition πŸŽ€

okay bestie, so this is a page straight out of the Kernel API Manual, and it's about one single function: snd_hdac_stream_drsm_enable. that's it. that's the whole vibe. it turns DMA resume on (or off) for a stream, and honestly? iconic of it. ✨


✨ NAME ✨

snd_hdac_stream_drsm_enable β€” enable DMA resume for a stream πŸ¦‹

like, literally the entire job is flipping DRSM on for a stream. no cap.


🌸 SYNOPSIS 🌸

void snd_hdac_stream_drsm_enable (struct hdac_bus *bus , bool enable ,
       int index );

she takes three things and she returns void, meaning she hands nothing back β€” she just does the thing and leaves. main character energy fr fr. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

here's the breakdown of what you're feeding her, bestie:

  • bus β€” the HD-audio core bus. that's your HD-audio core bus right there. 🚌
  • enable β€” the flag to enable/disable DRSM. so true-ish = turn it on, off-ish = turn it off. she's flexible like that. πŸ”₯
  • index β€” the stream index for which DRSM need to be enabled. yes, that stream. the one at that index. be normal about it. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where she shouts out her whole friend group. every single one of them. no one gets left out, periodt. πŸ’–

Kernel file ./sound/hda/core/stream.c and, in no particular order but also very much in this exact order:

snd_hdac_get_stream_stripe_ctl(9), snd_hdac_stream_init(9), snd_hdac_stream_start(9), snd_hdac_stream_clear(9), snd_hdac_stream_stop(9), snd_hdac_stop_streams(9), snd_hdac_stop_streams_and_chip(9), snd_hdac_stream_reset(9), snd_hdac_stream_setup(9), snd_hdac_stream_cleanup(9), snd_hdac_stream_assign(9), snd_hdac_stream_release_locked(9), snd_hdac_stream_release(9), snd_hdac_get_stream(9), snd_hdac_stream_setup_bdle(9), snd_hdac_stream_setup_periods(9), snd_hdac_stream_set_params(9), snd_hdac_stream_timecounter_init(9), snd_hdac_stream_sync_trigger(9), snd_hdac_stream_sync(9), snd_hdac_stream_spbcap_enable(9), snd_hdac_stream_set_spib(9), snd_hdac_stream_set_dpibr(9), snd_hdac_stream_set_lpib(9), snd_hdac_dsp_prepare(9), snd_hdac_dsp_trigger(9), snd_hdac_dsp_cleanup(9)

that's the whole squad. πŸ’œ


ngl, go read those if you want the full lore β€” this page is just the one little enable-er. 🧚

and that's the page!! 🫢 this little cutie lives in ./sound/hda/core and the version on deck is dated October 2026, so like… stay fresh, bestie. mwah. πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from