zynqmp_get_dtype(9)
π 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:
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)get_memsize(9)zynq_get_mtype(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)
Go read them all, bestie, iykyk πβ¨
π Friendly reminder: this page lives under./drivers/edac, dated October 2026, and it's pagezynqmp_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
- 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