snd_hdac_stream_drsm_enable(9)
π 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. sotrue-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
- 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