zynq_get_mtype(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynq_get_mtype(9) β€” like, the Kernel API Manual, bestie

okay so real talk, this is a page from the Kernel API Manual and it's about one tiny lil function called zynq_get_mtype. she's small but she's important, iykyk πŸŽ€


✨ NAME ✨

zynq_get_mtype β€” returns the controller memory type. that's it. that's her whole job. main character energy fr fr πŸ‘‘


🌸 SYNOPSIS 🌸

enum mem_type zynq_get_mtype (const void __iomem *base );

literally just hand her a base and she gives you back a enum mem_type. no cap.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • base β€” the Synopsys ECC status structure. that's the thing you're passing in, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

so what she does is: she gets the EDAC memory type that's appropriate for whatever the current controller configuration happens to be. like she looks at the controller's vibe and matches it to the right memory type. slay ✨


⭐ RETURN ⭐

a memory type enumeration. periodt πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./drivers/edac/synopsys_edac.c and honestly a whole friend group of related pages, go look at them:

like, the whole squad πŸ§šπŸ’œ


ngl this page is short and sweet, no warnings, no scary undefined behaviour, just a chill lil getter. obsessed πŸ™ˆ

and that's the whole page! she lives in ./drivers/edac, the version on this one is October 2026, and the manual is zynq_get_mtype(9). bye bestie, ily, go read your kernel source πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from