zynq_get_mtype(9)
π 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:
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)zynqmp_get_mtype(9)init_csrows(9)mc_init(9)ddr_poison_setup(9)setup_address_map(9)mc_probe(9)mc_remove(9)
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
- 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