xilinx_dpdm..._prep_cyclic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xilinx_dpdma_chan_prep_cyclic(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for xilinx_dpdma_chan_prep_cyclic, and honestly it's giving "small function, big job" energy. Let's get into it 🫢


✨ NAME ✨

xilinx_dpdma_chan_prep_cyclic β€” Prepare a cyclic dma descriptor 🌈


πŸŽ€ SYNOPSIS πŸŽ€

struct dma_async_tx_descriptor * xilinx_dpdma_chan_prep_cyclic (struct
xilinx_dpdma_chan *chan , dma_addr_t buf_addr , size_t buf_len , size_t
period_len , unsigned long flags );

like literally, that signature is the whole vibe check. struct pointer out, five args in, no notes πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • chan β€” the DPDMA channel, your main character πŸŽ€
  • buf_addr β€” buffer address, aka where the actual data lives
  • buf_len β€” buffer length, how much of it we're working with
  • period_len β€” number of periods πŸ” (yes bestie, cyclic means it loops β€” that's the whole point)
  • flags β€” the tx flags argument that gets passed in to the prepare function

🌸 DESCRIPTION 🌸

so basically this one prepares a tx descriptor, and ngl it's doing a lot under the hood β€” it includes the internal software/hardware descriptors for the given cyclic transaction 🧚

like, it's not just one descriptor, it's the whole little squad of them for your cyclic transfer. team effort, fr fr πŸ”₯


⭐ RETURN ⭐

on success you get a dma async tx descriptor back πŸŽ‰ and if it doesn't work out? NULL. that's it, that's the mood 😭


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/dma/xilinx/xilinx_dpdma.c plus this whole bestie list:

like, go read them, iykyk πŸ“šπŸ’–


ok that's the whole page bestie, no gatekeeping here 🫢 go build something iconic πŸ’œ

signed off from ./drivers/dma/xilinx, dated October 2026, page xilinx_dpdm..._prep_cyclic(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from