STRUCT SYNPS_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 behavior
  • get_mtype β€” gets mtype. short, sweet, to the point πŸŽ€
  • get_dtype β€” gets dtype. another tiny legend
  • get_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:


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