zynqmp_get_mtype(9)
π 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, aconst 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:
struct ecc_error_info(9)struct synps_ecc_status(9)struct synps_edac_priv(9)struct synps_platform_data(9)zynq_get_error_info(9)zynqmp_get_mem_info(9)zynqmp_get_error_info(9)handle_error(9)intr_handler(9)check_errors(9)zynq_get_dtype(9)zynqmp_get_dtype(9)get_memsize(9)zynq_get_mtype(9)init_csrows(9)mc_init(9)ddr_poison_setup(9)setup_address_map(9)mc_probe(9)mc_remove(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms