xdma_fill_descs(9)
π¦ xdma_fill_descs(9) β the kernel API manual tea π
okay so bestie, welcome to xdma_fill_descs(9), straight out of the Kernel API Manual. This is the page for xdma_fill_descs π
β¨ NAME β¨
xdma_fill_descs β fill hardware descriptors for one contiguous memory chunk. no cap, that's the whole gig π«Ά
and like⦠plot twist: if the size is bigger than XDMA_DESC_BLEN_MAX, more than one descriptor gets used. she's generous like that ⨠literally one chunk, multiple descs, iconic behaviour.
πΈ SYNOPSIS πΈ
u32 xdma_fill_descs (struct xdma_desc *sw_desc , u64 src_addr , u64
dst_addr , u32 size , u32 filled_descs_num );
that's the signature, copy it exactly, don't be weird about it π
π ARGUMENTS π
sw_descβ the descriptor container. it's giving "the bag where all the descs live" πsrc_addrβ the first value for the->src_addrfield π first value, bestie, not the only onedst_addrβ the first value for the->dst_addrfield π― same energysizeβ size of the contiguous memory block. if this is chunky (bigger thanXDMA_DESC_BLEN_MAX), she'll spread across multiple descriptors, periodt πfilled_descs_numβ index of the first descriptor to take care of insw_descπ’ that's the starting point, main character of the index world
π SEE ALSO π
bestie there is SO much lore here, drink water and read the whole list π
- 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_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_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)
π no cap, that's every single one of them. i counted. you're welcome.
okay that's the whole page, bestie π§ from ./drivers/dma/xilinx, dated October 2026, and this lil manual page is xdma_fill_descs(9) β slay, go fill some descriptors πβ¨π
π¦ 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