STRUCT MLXREG_CORE_PLATFORM_DATA(9)
β¨ 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 aschar 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
- 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