xilinx_dpdm...an_resources(9)
πΈ xilinx_dpdma_alloc_chan_resources (9) β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual π this one's a lil function hanging out in the Xilinx DPDMA corner of the kernel, and honestly? she's a whole vibe. let's get into it π«Ά
π NAME π
xilinx_dpdma_alloc_chan_resources β bestie, this is the one that allocates resources for the channel. that's the whole job. she's a giver. π
β¨ SYNOPSIS β¨
int xilinx_dpdma_alloc_chan_resources (struct dma_chan *dchan );
likeβ¦ that's it. that's the signature. short, sweet, iconic π
π¦ ARGUMENTS π¦
dchanβ the DMA channel. that's your girl. you hand her over and she gets her resources sorted π
π DESCRIPTION π
so what does she actually do? she allocates a descriptor pool for the channel. that's the tea βοΈ like, not me showing up with a whole pool of descriptors just for your channel, lowkey main character energy fr fr π§
β RETURN β
0on success β slay, everything worked π-ENOMEMif she failed to allocate a pool β which, ngl, is the sad path π memory said no
π₯ SEE ALSO π₯
okay this is the part where the whole friend group shows up, so let's do a proper roll call πβ¨
the kernel file lives at ./drivers/dma/xilinx/xilinx_dpdma.c β that's home base π
and then the extended fam:
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_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_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 a lot of relatives but every single one of them ate ππ₯ go read all of them, iykyk π
and that's the whole page, bestie! sign-off time: this lil masterpiece comes from ./drivers/dma/xilinx and it's dated October 2026 ποΈβ¨ mwah, go allocate some descriptors 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