STRUCT XILINX_PL_DMA_VARIANT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so we're deep in the Kernel API Manual rn and today's main character is struct xilinx_pl_dma_variant β€” a super tiny struct with big "i'm just here to hold one (1) fact" energy. bestie it is literally four lines of C. let's get into it πŸ’…


🌸 NAME 🌸

struct xilinx_pl_dma_variant β€” the PL DMA PCIe variant info holder πŸŽ€

Like, that's the whole job. It tells you about the variant. Slay.


✨ SYNOPSIS ✨

okay here's the whole thing, and yes this is genuinely all of it:

struct xilinx_pl_dma_variant {
    enum xilinx_pl_dma_version version;
};

look at her. one member. immaculate minimalism. πŸ”₯


πŸ’– Members πŸ’–

  • version β€” the DMA version, bestie. that's it, that's the member. it's an enum xilinx_pl_dma_version, and it is highkey carrying this entire struct on its back 🫢
ngl the tiny ones are always the most confident. one field, zero notes, no cap.

πŸ” SEE ALSO πŸ”

if you wanna go be nosy (and you should, that's where the actual story lives πŸ‘€), go peek at:

  • the kernel file ./drivers/pci/controller/pcie-xilinx-dma-pl.c πŸ¦‹
  • struct pl_dma_pcie(9) β€” the big sibling
  • xilinx_pl_dma_pcie_init_irq_domain(9) β€” the irq domain one, iconic behaviour

okay that's the whole vibe check, we ate and left no crumbs πŸ“

signing off from ./drivers/pci/controller β€” dated October 2026 β€” and the footer's whole entire name is struct xilin..._dma_variant(9) πŸ’œ (yes they truncated it in the footer too, we don't question the vision) πŸ’«

πŸ“¦ where this page comes from