STRUCT MLXREG_CORE_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mlxreg_core_platform_data(9) ✨

okay so bestie, welcome to the struct mlxreg_core_platform_data page from the Kernel API Manual πŸ’… this is lowkey the blueprint for how a platform hands over its data, and we're gonna go through every single member together, no skipping, fr fr 🫢


🌸 NAME 🌸

struct mlxreg_core_platform_data β€” platform data: πŸŽ€ (yes, that's the whole name, it's giving "mysterious but iconic")


πŸ¦‹ SYNOPSIS πŸ¦‹

struct mlxreg_core_platform_data {
    struct mlxreg_core_data *data;
    void *regmap;
    int counter;
    u32 features;
    u32 version;
    char identity[MLXREG_CORE_LABEL_MAX_SIZE];
    u32 capability;
 };

like, that's the whole shape of it β€” seven fields, all main character energy πŸ‘‘


πŸ’– Members πŸ’–

  • data β€” instance private data; this is the personal stash of info for this particular instance πŸ™ˆ
  • regmap β€” the register map of the parent device; think of it as the family's shared group chat πŸ“±
  • counter β€” number of instances; literally just counting how many of these we got πŸ”’
  • features β€” supported features of the device; the vibe check of what it can actually do ✨
  • version β€” implementation version; the "which era is this from" tag ⭐
  • identity β€” device identity name, stored as char identity[MLXREG_CORE_LABEL_MAX_SIZE]; because everybody needs a name badge πŸŽ€
  • capability β€” device capability register; the receipts of what the device is capable of πŸ”₯

🌈 SEE ALSO 🌈

literally go read the kernel file ./include/linux/platform_data/mlxreg.h and this enum mlxreg_wdt_type(9) β€” and while you're in the neighborhood, there's a whole friend group waiting for you:

  • enum mlxreg_hotplug_kind(9)
  • enum mlxreg_hotplug_device_action(9)
  • struct mlxreg_core_hotplug_notifier(9)
  • struct mlxreg_hotplug_device(9)
  • struct mlxreg_core_data(9)
  • struct mlxreg_core_item(9)
  • struct mlxreg_core_hotplug_platform_data(9)

periodt πŸ’…


no cap, that's every member and every cross-reference accounted for β€” nothing dropped, nothing invented 🧚

and that's the whole page bestie! mwah πŸ’‹ this gem lives at ./include/linux/platform_data and it's dated October 2026 β€” see you in the future, you ate that πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from