zynqmp_dma_free_descriptor(9)
π zynqmp_dma_free_descriptor(9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes the actual kernel API manual, and yes we are about to make friends with a tiny little function that frees a DMA descriptor. it's giving "small function, big job" energy and honestly? iconic. π₯
πΈ NAME πΈ
zynqmp_dma_free_descriptor β Issue pending transactions
(no cap, that's literally what it says, we're just vibing with it π«Ά)
β¨ SYNOPSIS β¨
void zynqmp_dma_free_descriptor (struct zynqmp_dma_chan *chan , struct
zynqmp_dma_desc_sw *sdesc );
so it returns void β nothing comes back, it's a one-way trip, periodt π
β and it takes two pointers. both struct pointers. we love a tidy signature. π
π¦ ARGUMENTS π¦
chanβ ZynqMP DMA channel pointer π this is your channel, your main character, the whole vibe.sdescβ Transaction descriptor pointer π the descriptor for the transaction you're dealing with.
that's it. two args. two little pointers. we stan a low-parameter function. π§
π SEE ALSO π
okay this is the part where the entire squad shows up, so let me introduce everybody, no one gets left out:
Kernel file ./drivers/dma/xilinx/zynqmp_dma.c π and then the full crew:
struct zynqmp_dma_desc_ll(9), struct zynqmp_dma_desc_sw(9), struct zynqmp_dma_chan(9), struct zynqmp_dma_device(9), zynqmp_dma_update_desc_to_ctrlr(9), zynqmp_dma_desc_config_eod(9), zynqmp_dma_config_sg_ll_desc(9), zynqmp_dma_init(9), zynqmp_dma_tx_submit(9), zynqmp_dma_get_descriptor(9), zynqmp_dma_free_desc_list(9), zynqmp_dma_alloc_chan_resources(9), zynqmp_dma_start(9), zynqmp_dma_handle_ovfl_int(9), zynqmp_dma_device_config(9), zynqmp_dma_start_transfer(9), zynqmp_dma_chan_desc_cleanup(9), zynqmp_dma_complete_descriptor(9), zynqmp_dma_issue_pending(9), zynqmp_dma_free_descriptors(9), zynqmp_dma_free_chan_resources(9), zynqmp_dma_reset(9), zynqmp_dma_irq_handler(9), zynqmp_dma_do_tasklet(9), zynqmp_dma_device_terminate_all(9), zynqmp_dma_synchronize(9), zynqmp_dma_prep_memcpy(9), zynqmp_dma_chan_remove(9), zynqmp_dma_chan_probe(9), of_zynqmp_dma_xlate(9), zynqmp_dma_suspend(9), zynqmp_dma_resume(9), zynqmp_dma_runtime_suspend(9), zynqmp_dma_runtime_resume(9), zynqmp_dma_probe(9), zynqmp_dma_remove(9)
like, the entire ZynqMP DMA family reunion ππ every single one of them, and they all have (9) after their name because that's their section and they're proud of it. iykyk.
π reminder: this page is from ./drivers/dma/xilinx, October 2026 edition β so when you cite it in your notes, cite it cute. mwah, go read the kernel source bestie, you got this π«Άβ¨π
π¦ 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