zynqmp_get_mtype(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_get_mtype ✨

okay bestie, so this is a page from the Kernel API Manual β€” yes, that kernel, the big one β€” and it's about one little function called zynqmp_get_mtype. it's giving "tiny helper, huge responsibilities" energy fr fr πŸŽ€


🌸 NAME 🌸

zynqmp_get_mtype β€” literally returns the controller memory type. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

enum mem_type zynqmp_get_mtype (const void __iomem *base );

so it takes one thing and it hands you back an enum mem_type. iconic behavior honestly πŸ‘‘


πŸ“ ARGUMENTS πŸ“

  • base β€” the Synopsys ECC status structure. that's your input bestie, a const void __iomem *, so pls don't go wandering off into it and changing stuff πŸ™ˆ

✨ DESCRIPTION ✨

so what does it actually do? it gets the EDAC memory type that's appropriate for the current controller configuration. that's it. that's the whole job. lowkey simple, highkey essential πŸ’–


πŸ”₯ RETURN πŸ”₯

it returns a memory type enumeration. one of those enum mem_type values, coming right back at you 🫢


🧚 SEE ALSO 🧚

the kernel file lives at ./drivers/edac/synopsys_edac.c β€” that's the home base 🏠

and here's the whole squad, all the related functions and structs, no one left behind:


ngl bestie, if you're poking at EDAC memory types on a ZynqMP, this is the little function you want. read the squad list above and you'll have the whole picture πŸ’…

and that's a wrap, bestie πŸ’– this page came out of ./drivers/edac, dated October 2026, in the zynqmp_get_mtype(9) section of the manual. slay, go read the kernel source, you got this 🌈⭐

πŸ“¦ where this page comes from