ep93xx_dma_prep_dma_memcpy(9)
π ep93xx_dma_prep_dma_memcpy β like, the Kernel API Manual page you didn't know you needed π
okay so bestie, buckle up. this is ep93xx_dma_prep_dma_memcpy from the Kernel API Manual, and no cap, it's short, it's sweet, and it does exactly one thing. let's get into it β¨
πΈ NAME πΈ
ep93xx_dma_prep_dma_memcpy β prepare a memcpy DMA operation π« that's literally it, that's the whole vibe
π¦ SYNOPSIS π¦
struct dma_async_tx_descriptor * ep93xx_dma_prep_dma_memcpy (struct
dma_chan *chan , dma_addr_t dest , dma_addr_t src , size_t len ,
unsigned long flags );
yes it's one long line, yes it's giving "function signature that ate", and yes you're gonna copy it exactly, character for character. no renaming, no "fixing", we do not edit the source in this house π ββοΈ
π ARGUMENTS π
chanβ the channel. that's the DMA channel you're working with, your main character π₯destβ destination bus address. where the bytes are going, queen πsrcβ source bus address. where the bytes are coming from πlenβ size of the transaction. how much we're moving, fr fr πflagsβ flags for the descriptor. lil toggles, iykyk π
β¨ DESCRIPTION β¨
Returns a valid DMA descriptor or NULL in case of failure.
that's it. that's the description. short and iconic π literally the whole behaviour: you call it, you either get a real DMA descriptor back, or you get NULL and you're like "π ok". highkey a vibe check on your memcpy setup.
ngl, NULL = failure. don't skip checking it, bestie π«Ά
π§ SEE ALSO π§
Kernel file ./drivers/dma/ep93xx_dma.c β go read the source, it's giving main character energy π
struct ep93xx_dma_desc(9)struct ep93xx_dma_chan(9)struct ep93xx_dma_engine(9)ep93xx_dma_set_active(9)ep93xx_dma_advance_active(9)ep93xx_dma_advance_work(9)ep93xx_dma_tx_submit(9)ep93xx_dma_alloc_chan_resources(9)ep93xx_dma_free_chan_resources(9)ep93xx_dma_prep_slave_sg(9)ep93xx_dma_prep_dma_cyclic(9)ep93xx_dma_synchronize(9)ep93xx_dma_terminate_all(9)ep93xx_dma_tx_status(9)ep93xx_dma_issue_pending(9)
like, the whole ep93xx DMA friend group, all linked, all slaying π
and that's the page!! mwah π this lil angel lives in ./drivers/dma, and this version is dated October 2026 β so like, bookmark it, screenshot it, put it on your fridge. ily, go write some correct DMA code πβ¨π
π¦ 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