STRUCT SYNPS_PLATFORM_DATA(9)
π struct synps_platform_data(9) π
okay bestie, this is the Kernel API Manual page for struct synps_platform_data, and it is literally the blueprint for the synps platform data situation. no cap, it's giving βsmall struct, very important jobβ energy β¨
π NAME π
struct synps_platform_data β the synps platform data structure. that's the whole name, and honestly it ate π
π¦ SYNOPSIS π¦
struct synps_platform_data {
enum synps_platform_type platform;
int (*get_error_info)(struct synps_edac_priv *priv);
enum mem_type (*get_mtype)(const void __iomem *base);
enum dev_type (*get_dtype)(const void __iomem *base);
#ifdef CONFIG_EDAC_DEBUG;
u64 (*get_mem_info)(struct synps_edac_priv *priv);
#endif;
int quirks;
};
πΈ Members πΈ
okay so every member here is doing its own lil job, and we are obsessed with each one π«Ά
platformβ identifies the target hardware platform, like a name tag for the silicon πget_error_infoβ gets the EDAC error info. yes, the error-info getter is getting the error info, iconic behaviorget_mtypeβ gets mtype. short, sweet, to the point πget_dtypeβ gets dtype. another tiny legendget_mem_infoβ gets the EDAC memory info. this one is wrapped in#ifdef CONFIG_EDAC_DEBUG;and#endif;in the struct, so yeah, conditional queen πquirksβ to differentiate IPs. that's the whole vibe: quirks are here to tell the IPs apart π¦
β SEE ALSO β
the kernel file ./drivers/edac/synopsys_edac.c is the source-file bestie at the top of this list, and then we have the whole squad:
struct ecc_error_info(9)struct synps_ecc_status(9)struct synps_edac_priv(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)zynqmp_get_mtype(9)init_csrows(9)mc_init(9)ddr_poison_setup(9)setup_address_map(9)mc_probe(9)mc_remove(9)
mwah π this page is brought to you by ./drivers/edac, October 2026 β periodt, bestie, go off and read the 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