ep93xx_dma_prep_dma_cyclic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ ep93xx_dma_prep_dma_cyclic πŸŽ€

okay bestie, this is the Kernel API Manual page for ep93xx_dma_prep_dma_cyclic β€” and yes, the name is a whole mouthful, but we’re gonna get through it together πŸ’…βœ¨


🌸 NAME 🌸

ep93xx_dma_prep_dma_cyclic β€” prepare a cyclic DMA operation πŸŒ€


✨ SYNOPSIS ✨

struct dma_async_tx_descriptor * ep93xx_dma_prep_dma_cyclic (struct
       dma_chan *chan , dma_addr_t dma_addr , size_t buf_len , size_t
       period_len , enum dma_transfer_direction dir , unsigned long flags );

🫢 ARGUMENTS 🫢

  • chan β€” the channel. the main character of this whole operation, lowkey πŸ‘‘
  • dma_addr β€” the DMA mapped address of the buffer. yes bestie, it’s already mapped, don’t come for me πŸ™ˆ
  • buf_len β€” length of the buffer, in bytes. numbers, but make them make sense πŸ“
  • period_len β€” length of a single period. this one matters a lot for the cyclic vibe check ⏳
  • dir β€” direction of the operation. which way are we going? dma_transfer_direction said β€œyes” 🧭
  • flags β€” tx descriptor status flags. little descriptor mood markers 🚩

πŸ’– DESCRIPTION πŸ’–

so this function prepares a descriptor for a cyclic DMA operation ✨ that means once the descriptor is submitted, it keeps submitting buffers sized period_len and calls the callback once the period has elapsed. it’s giving β€œround and round, nonstop” energy 🎠

and like β€” the transfer does not just stop on its own. it terminates only when the client calls dmaengine_terminate_all for this channel. so yeah, that’s the off switch, bestie πŸ”ŒπŸ’€

it returns a valid DMA descriptor, or NULL if something went wrong. no cap, that NULL is the failure case 😭

ngl, that β€œterminates only when the client calls dmaengine_terminate_all for this channel” part is important β€” do not forget it, i’m begging 🫢

πŸ‘€ SEE ALSO πŸ‘€


and that’s the whole page, bestie 🫢 source is ./drivers/dma, date is October 2026, and the page is ep93xx_dma_prep_dma_cyclic(9) β€” iconic, honestly πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from