snd_devm_request_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


xoxo, from ./sound/core πŸ’– β€” dated October 2026, manual snd_devm_request_dma(9) ✨ periodt.

πŸ“¦ where this page comes from