STRUCT ZYNQMP_DMA_DESC_SW(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct zynqmp_dma_desc_sw(9)

okay so this is straight out of the Kernel API Manual bestie, and we're doing a full vibe check on struct zynqmp_dma_desc_sw β€” literally the per-transaction structure, the main character of this whole page πŸ‘‘


✨ NAME ✨

struct zynqmp_dma_desc_sw β€” Per Transaction structure 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

struct zynqmp_dma_desc_sw {
    u64 src;
    u64 dst;
    u32 len;
    struct list_head node;
    struct list_head tx_list;
    struct dma_async_tx_descriptor async_tx;
    struct zynqmp_dma_desc_ll *src_v;
    dma_addr_t src_p;
    struct zynqmp_dma_desc_ll *dst_v;
    dma_addr_t dst_p;
};

πŸŽ€ Members πŸŽ€

like, every single field, no skips, we're not doing that here πŸ’–

  • src β€” the source address for simple mode dma πŸ“
  • dst β€” the destination address for simple mode dma 🎯
  • len β€” the transfer length for simple mode dma πŸ“
  • node β€” the node in the channel descriptor list πŸ”—
  • tx_list β€” the list head for the current transfer πŸ“‹
  • async_tx β€” the async transaction descriptor ⚑
  • src_v β€” virtual address of the src descriptor 🧚
  • src_p β€” physical address of the src descriptor 🫢
  • dst_v β€” virtual address of the dst descriptor 🧚
  • dst_p β€” physical address of the dst descriptor 🫢

🌈 SEE ALSO 🌈

the way this page links out to *everything*… it's giving "who's who of the zynqmp_dma file" πŸ‘‘ and yes, it lives in the Kernel file ./drivers/dma/xilinx/zynqmp_dma.c πŸ’œ

the structs, the icons of the family:

  • struct zynqmp_dma_desc_ll(9)
  • struct zynqmp_dma_chan(9)
  • struct zynqmp_dma_device(9)

descriptor setup & config era:

submitting & getting & freeing (the whole cycle, slay):

resources & starting & stopping:

interrupts & cleanup (lowkey the busy part):

probe/remove & the xlate moment:

power management besties (napping is self-care):


fr fr go read them all, iykyk πŸ’€

and that's the page!! πŸŽ€ brought to you by the fine people over at ./drivers/dma/xilinx, dated October 2026 β€” go drink some water and go touch some DMA descriptors, bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from