zynqmp_dma_free_descriptor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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