STRUCT QUEUE_ENTRY_PRIV_MMIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct queue_entry_priv_mmio β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual entry for struct queue_entry_priv_mmio, and no cap this one is a lil cutie: it's the per-entry, PCI-specific info holder πŸŽ€


✨ NAME ✨

struct queue_entry_priv_mmio β€” Per entry PCI specific information πŸ’…

Like, that's literally the whole job description. Each queue entry gets its own lil private stash of PCI-flavoured facts, and this struct is the stash. Obsessed.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct queue_entry_priv_mmio {
    __le32 *desc;
    dma_addr_t desc_dma;
 };

that's it, that's the whole struct πŸ’– two members, zero drama, immaculate minimalism.


🌸 Members 🌸

πŸŽ€ desc

Pointer to device descriptor 🫢

so it's a __le32 * pointing at the descriptor the device cares about β€” little-endian 32-bit things, iykyk.

πŸŽ€ desc_dma

DMA pointer to desc. ⭐

same descriptor, but the DMA address flavour β€” the one the hardware actually gets handed. the way that these two are basically the same thing living two different lives 😭 iconic.


πŸ”₯ SEE ALSO πŸ”₯

go read those too, they're the rest of the rt2x00mmio squad and they all ate πŸ’œ


vibe check: tiny struct, big main-character energy β€” if you're poking at rt2x00 PCI descriptor plumbing, this is your girl 🌈

and that's a wrap, bestie πŸ’… the source/version is that ./drivers/net/wireless/ralink/... path and the date on the tin is October 2026, so go forth and slay πŸ“πŸ‘‘

πŸ“¦ where this page comes from