xilinx_dpdm...lloc_tx_desc(9)
πΈ xilinx_dpdma_chan_alloc_tx_desc β section 9, from the Kernel API Manual π
okay bestie, welcome to one of those tiny little manpage entries that looks like it's gonna be short and then the SEE ALSO section just keeps going forever π like, ma'am, why are there that many friends. anyway. this is xilinx_dpdma_chan_alloc_tx_desc, straight out of the kernel API manual, section 9 no cap β¨
β¨ SYNOPSIS β¨
struct xilinx_dpdma_tx_desc * xilinx_dpdma_chan_alloc_tx_desc (struct
xilinx_dpdma_chan *chan );
it's giving one function, one argument, zero drama. we love a signature that fits on two lines π
π«Ά ARGUMENTS π«Ά
chanβ your DPDMA channel π this is literally the only thing you hand over. the channel is the main character here, the whole function is about it.
π DESCRIPTION π
so what does it do? it allocates a tx descriptor. that's it. that's the whole vibe. π¦
not me hyping up a one-liner β but lowkey this is the kind of helper that keeps the whole xilinx_dpdma thing running, and you gotta respect it. you give it a channel, it goes and gets you a transaction descriptor. iconic behavior, no notes π
β RETURN β
it hands you back a tx descriptorβ¦ or NULL π and fr fr, check for that NULL, bestie. no guessing games about what a NULL means here β the page just says it can happen, and you should be ready for it. a vibe check on the return value is always the move π
π SEE ALSO π
bestie. sit down. this list is LONG. but every single one of these is here because the page says so, and we do not skip the boring parts in this house π«Ά
the kernel file lives at ./drivers/dma/xilinx/xilinx_dpdma.c β that's the whole neighborhood these functions are from π‘
the struct girlies:
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)
descriptor-adjacent besties:
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_free_tx_desc(9)
prep + transfer squad:
xilinx_dpdma_chan_prep_cyclic(9)xilinx_dpdma_chan_prep_interleaved_dma(9)xilinx_dpdma_chan_queue_transfer(9)
on/off and pause-core:
xilinx_dpdma_chan_enable(9)xilinx_dpdma_chan_disable(9)xilinx_dpdma_chan_pause(9)xilinx_dpdma_chan_unpause(9)
outstanding-transfer lore (ostand girlies, ily):
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)
irq + error handling angels:
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_chan_err_task(9)xilinx_dpdma_err(9)xilinx_dpdma_handle_err_irq(9)
channel resources + teardown, the practical girlies:
xilinx_dpdma_alloc_chan_resources(9)xilinx_dpdma_free_chan_resources(9)xilinx_dpdma_terminate_all(9)xilinx_dpdma_synchronize(9)
irq enable/disable, the switches:
periodt π that's the full list, every last one, exactly as the page gives it.
and that's the whole entry, bestie π§ this came from ./drivers/dma/xilinx, dated October 2026, in the Kernel API Manual β shoutout to whoever wrote it, you ate πΈ go forth and allocate responsibly π
π¦ 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