xdma_prep_dma_cyclic(9)
β¨ NAME β¨
okay so bestie, this is the xdma_prep_dma_cyclic(9) page from the Kernel API Manual, and its whole thing is prepare for cyclic DMA transactions. that's the vibe. ππ
π SYNOPSIS π
the signature is literally this, character-for-character:
struct dma_async_tx_descriptor * xdma_prep_dma_cyclic (struct dma_chan
*chan , dma_addr_t address , size_t size , size_t period_size , enum
dma_transfer_direction dir , unsigned long flags );
πΈ ARGUMENTS πΈ
every single argument, in order, no skipping β we are not doing that to the group chat:
chanβ DMA channel pointer. your channel handle, periodt.addressβ Device DMA address to access. that's the address bestie.sizeβ Total length to transfer. the whole amount.period_sizeβ Period size to use for each transfer β wait, no, it's literally the period size to use for each transfer. πdirβ Transfer direction. which way the data is going.flagsβ Transfer ack flags. the ack flags, no cap.
π¦ SEE ALSO π¦
Kernel file ./drivers/dma/xilinx/xdma.c, plus the whole friend group in exactly this order:
struct xdma_desc_block(9)struct xdma_chan(9)struct xdma_desc(9)struct xdma_device(9)xdma_link_sg_desc_blocks(9)xdma_link_cyclic_desc_blocks(9)xdma_channel_init(9)xdma_free_desc(9)xdma_alloc_desc(9)xdma_xfer_start(9)xdma_xfer_stop(9)xdma_alloc_channels(9)xdma_issue_pending(9)xdma_terminate_all(9)xdma_synchronize(9)xdma_fill_descs(9)xdma_prep_device_sg(9)xdma_prep_interleaved_dma(9)xdma_device_config(9)xdma_free_chan_resources(9)xdma_alloc_chan_resources(9)xdma_channel_isr(9)xdma_irq_fini(9)xdma_set_vector_reg(9)xdma_irq_init(9)xdma_disable_user_irq(9)xdma_enable_user_irq(9)xdma_get_user_irq(9)xdma_remove(9)xdma_probe(9)
xoxo, xdma_prep_dma_cyclic(9) β source ./drivers/dma/xilinx, date October 2026, signing off π
β¨
π¦ 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