xilinx_dpdma...erleaved_dma(9)
π xilinx_dpdma...erleaved_dma(9)
okay so this is a page from the Kernel API Manual bestie, and it's all about one very specific little function in the Xilinx DPDMA driver. it's giving "niche but iconic" and honestly? we love her for it π
β¨ NAME β¨
xilinx_dpdma_chan_prep_interleaved_dma β the girlies who Prepare an interleaved dma descriptor π¦
πΈ SYNOPSIS πΈ
struct xilinx_dpdma_tx_desc * xilinx_dpdma_chan_prep_interleaved_dma
(struct xilinx_dpdma_chan *chan , struct dma_interleaved_template *xt );
like, that's the whole signature, no cap. she takes two args and hands you back a pointer π
π ARGUMENTS π
chanβ the DPDMA channel, aka the main character of this whole operation πxtβ the dma interleaved template, the blueprint she's gonna build from π§
π« DESCRIPTION π«
so what she actually does: she Prepares a tx descriptor based on xt. and not just any descriptor β she's building the whole stack, including internal software/hardware descriptors. like she's not just handing you one thing, she's doing the full outfit, head to toe π₯
literally the way that she constructs it all from the template you pass inβ¦ obsessed. iykyk π
β RETURN β
- β A DPDMA TX descriptor on success
- π or
NULL
that's it. that's the vibe check. either you get the descriptor or you get nothing, bestie π
ngl, always check for the NULL β no descriptor is still a valid answer and she will not warn you about it π
π SEE ALSO π
okay this is the part where she tags literally everyone in the group chat. Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c, plus:
struct xilinx_dpdma_hw_desc(9)struct xilinx_dpdma_sw_desc(9)struct xilinx_dpdma_tx_desc(9)struct xilinx_dpdma_chan(9)struct xilinx_dpdma_device(9)xilinx_dpdma_sw_desc_set_dma_addrs(9)xilinx_dpdma_chan_alloc_sw_desc(9)xilinx_dpdma_chan_free_sw_desc(9)xilinx_dpdma_chan_dump_tx_desc(9)xilinx_dpdma_chan_alloc_tx_desc(9)xilinx_dpdma_chan_free_tx_desc(9)xilinx_dpdma_chan_prep_cyclic(9)xilinx_dpdma_chan_enable(9)xilinx_dpdma_chan_disable(9)xilinx_dpdma_chan_pause(9)xilinx_dpdma_chan_unpause(9)xilinx_dpdma_chan_queue_transfer(9)xilinx_dpdma_chan_ostand(9)xilinx_dpdma_chan_notify_no_ostand(9)xilinx_dpdma_chan_wait_no_ostand(9)xilinx_dpdma_chan_poll_no_ostand(9)xilinx_dpdma_chan_stop(9)xilinx_dpdma_chan_done_irq(9)xilinx_dpdma_chan_vsync_irq(9)xilinx_dpdma_chan_err(9)xilinx_dpdma_chan_handle_err(9)xilinx_dpdma_alloc_chan_resources(9)xilinx_dpdma_free_chan_resources(9)xilinx_dpdma_terminate_all(9)xilinx_dpdma_synchronize(9)xilinx_dpdma_err(9)xilinx_dpdma_handle_err_irq(9)xilinx_dpdma_enable_irq(9)xilinx_dpdma_disable_irq(9)xilinx_dpdma_chan_err_task(9)
like i said. everyone. π
that's the whole page bestie, hope it slayed π«Ά this one's filed under ./drivers/dma/xilinx and it's dated October 2026 β so she's from the future, obviously, main character energy βπ
π¦ 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