snd_devm_request_dma(9)
π snd_devm_request_dma β¨
okay bestie, this is the snd_devm_request_dma(9) manual page β the kernel API glow-up for request_dma() π
πΈ NAME πΈ
snd_devm_request_dma β the managed version of request_dma() π
β¨ SYNOPSIS β¨
int snd_devm_request_dma (struct device *dev , int dma , const char
*name );
π¦ ARGUMENTS π¦
devβ the device pointer, aka the device we're doing this for π«Άdmaβ the dma number, literally the DMA number π«nameβ the name string of the requester, so everyone knows who asked π
π₯ DESCRIPTION π₯
okay so here's the tea: the requested DMA will be automatically released at unbinding via devres. that's the managed devres behavior β the unbinding step handles the release for you β¨
π RETURN π
zero on success, or a negative error code. that's it, bestie ππ
π SEE ALSO π
- Kernel file
./sound/core/isadma.c snd_dma_program(9)snd_dma_disable(9)snd_dma_pointer(9)
xoxo, from ./sound/core π β dated October 2026, manual snd_devm_request_dma(9) β¨ 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