xdma_alloc_desc(9)
πΈ NAME πΈ
okay so bestie, welcome to the xdma_alloc_desc(9) page in the Kernel API Manual π. This one is literally called xdma_alloc_desc, and its whole thing is: Allocate descriptor β¨. Thatβs the name, thatβs the job, no cap.
β¨ SYNOPSIS β¨
Hereβs the signature, and yes, copy it exactly β character for character, bestie π«Ά:
struct xdma_desc * xdma_alloc_desc (struct xdma_chan *chan , u32
desc_num , bool cyclic );
π ARGUMENTS π
Three arguments, three little besties β letβs do a vibe check:
chanβ DMA channel pointer. Itβs the channel pointer youβre handing over, periodt.desc_numβ Number of hardware descriptors. Literally how many hardware descriptors, iykyk.cyclicβ Whether this is a cyclic transfer. Just tells you if this is a cyclic transfer, thatβs it.
π SEE ALSO π
If youβre going down the rabbit hole, hereβs the whole crew from the Kernel file ./drivers/dma/xilinx/xdma.c π¦:
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_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_dma_cyclic(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)
mwah π signing off from source/version ./drivers/dma/xilinx, dated October 2026 β stay hydrated and may your descriptor allocation be iconic ππ
π¦ 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