xilinx_dpdm...lloc_sw_desc(9)
π xilinx_dpdma_chan_alloc_sw_desc β Kernel API Manual energy β¨
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is xilinx_dpdma_chan_alloc_sw_desc(9) π like yes the title got truncated in the header but we know her full name and we're obsessed π
πΈ NAME πΈ
xilinx_dpdma_chan_alloc_sw_desc β Allocate a software descriptor π¦
β¨ SYNOPSIS β¨
struct xilinx_dpdma_sw_desc * xilinx_dpdma_chan_alloc_sw_desc (struct
xilinx_dpdma_chan *chan );
like, she takes a channel and hands you back a pointer to a software descriptor, no cap π
π ARGUMENTS π
chanβ the DPDMA channel, that's it, that's the whole vibe π«Ά
π DESCRIPTION π
So what she does is: she allocates a software descriptor from the channel's descriptor pool. That's the tea β β the pool belongs to the channel, and she's just pulling one out for you. Lowkey iconic β¨
π RETURN π
She returns a software descriptor or NULL β so like, check it, bestie π if you get NULL that's your sign π
π SEE ALSO π
okay this list is long but we do not skip a single one, periodt π every single reference, here we go:
- Kernel file
./drivers/dma/xilinx/xilinx_dpdma.c 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_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_prep_interleaved_dma(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 that's the whole friend group fr fr π«Άπ
and that's the page bestie!! πβ¨ it lives over in ./drivers/dma/xilinx and the version is from October 2026, so mark your calendar π tysm for reading, ily, go 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