zynqmp_get_dtype(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_get_dtype(9) β€” like, the kernel API manual, bestie ✨

Okay so we're in the Kernel API Manual today and this one's a little function called zynqmp_get_dtype. It's short, it's sweet, it's giving supporting-character-with-a-crucial-job energy. Let's get into it πŸŽ€


✨ NAME ✨

zynqmp_get_dtype β€” return the controller memory width πŸ’–


🌸 SYNOPSIS 🌸

enum dev_type zynqmp_get_dtype (const void __iomem *base );

That's the whole vibe. One arg, one return, no drama πŸ¦‹


🧚 ARGUMENTS 🧚

  • base β€” the DDR memory controller base address. Like, that's the address of the DDR memory controller, periodt. That's where the info lives πŸ“

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does it actually do? It gets the EDAC device type width that's appropriate for the current controller configuration. That's it. That's the whole thing. Lowkey iconic of it to be this straightforward ngl πŸ’…


⭐ RETURN ⭐

It returns a device type width enumeration. An enum. A little number-badge that says "this is how wide we're built" 🫢


πŸ’€ SEE ALSO πŸ’€

Kernel file ./drivers/edac/synopsys_edac.c β€” and like, the whole extended friend group:

Go read them all, bestie, iykyk πŸ“šβœ¨


πŸ“ Friendly reminder: this page lives under ./drivers/edac, dated October 2026, and it's page zynqmp_get_dtype(9) of the Kernel API Manual. That's the whole source-and-version situation, mwah πŸ’‹

Anyways, that's the page!! Go forth and vibe check your DDR controller width πŸŒˆπŸ‘‘πŸ’œ

πŸ“¦ where this page comes from