zynqmp_dma_...erminate_all(9)
π zynqmp_dma_device_terminate_all(9) β bestie's guide to nuking every transfer on a channel β¨
okay so real talk, we're in the Kernel API Manual today and this page is genuinely iconic in the most "chaotic cleanup" way possible. Sit down, grab a strawberry drink π, and let's get into it.
πΈ NAME πΈ
zynqmp_dma_device_terminate_all β bestie, this one aborts all transfers on a channel. like, ALL of them. no survivors. it's giving "closing the group chat mid-argument." π
π¦ SYNOPSIS π¦
int zynqmp_dma_device_terminate_all (struct dma_chan *dchan );
that's the whole vibe. one function, one pointer, one very confused DMA channel wondering what it did wrong. π
π ARGUMENTS π
dchanβ the DMA channel pointer π this is the little main character we're about to shut down. hand it over and she does the rest. no cap.
β RETURN β
Always '0'. yep. always. it never fails, it never misses, it never gives you an error to debug at 3am. she's consistent like that. periodt. π
π₯ SEE ALSO π₯
ok so there's a whole lore here and i'm obsessed. the kernel file lives at ./drivers/dma/xilinx/zynqmp_dma.c, and these are the structs and functions in the same little friend group:
- struct
zynqmp_dma_desc_ll(9) - struct
zynqmp_dma_desc_sw(9) - struct
zynqmp_dma_chan(9) - struct
zynqmp_dma_device(9)
and now the full cast of characters, in order, no skipping, iykyk π«Ά:
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_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_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, that's a whole friend group and terminate_all is the one who says "okay everyone go home." πβ¨
heads up bestie: this page doesn't list any options, env vars, exit statuses or error codes beyond that '0' β so there's literally nothing else to catch. we ate and left no crumbs. π½οΈ
and that's the whole page, mwah π β straight out of ./drivers/dma/xilinx, dated October 2026. go forth and terminate responsibly, bestie π§ββοΈπ
π¦ 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