xilinx_dpdma...an_resources(9)
π xilinx_dpdma_free_chan_resources β Kernel API Manual, section 9 π
okay so bestie, welcome to the manual page literally titled xilinx_dpdma...an_resources(9) (yeah the header truncates her name, she's iconic like that π). We're in the Kernel API Manual, section 9, and this is the cleanup-girlie function of the Xilinx DPDMA driver. Buckle up. β¨
πΈ NAME πΈ
xilinx_dpdma_free_chan_resources β free all resources for the channel π§Ήπ
β¨ SYNOPSIS β¨
void xilinx_dpdma_free_chan_resources (struct dma_chan *dchan );
that's it. that's the whole signature. no return value, she gives nothing back, she just takes π«Ά
π ARGUMENTS π
dchanβ the DMA channel π« (literally just, the channel. that's the vibe.)
π₯ DESCRIPTION π₯
So what does she do? She frees all the resources associated with the virtual DMA channel β and then she destroys the descriptor pool. π
not me emotionally attaching to a descriptor pool but like. it's gone. she took it out. cleanup arc complete, main character energy, periodt. π
no cap: this is the teardown side of things. resources go bye-bye, pool goes bye-bye. don't be out here using stuff you already freed, that's giving undefined behaviour and we don't do that here π
π¦ SEE ALSO π¦
Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c, plus the whole friend group π:
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_alloc_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, read them. they're all slaying in their own little ways. iykyk π
sign-off time besties π«Ά this page lives in <code>./drivers/dma/xilinx</code>, dated October 2026, and the header/footer both just say <code>xilinx_dpdma...an_resources(9)</code> again because the man page generator was lowkey lazy. love that for us. mwah πβ¨
π¦ 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