STRUCT MLXREG_CORE_ITEM(9)
β¨ NAME β¨
struct mlxreg_core_item β same type components controlled by the driver: ok so this is the Kernel API Manual's struct mlxreg_core_item(9) page, and it's literally all about that same-type-component life π
β¨
πΈ SYNOPSIS πΈ
no cap, here's the struct in all its glory:
struct mlxreg_core_item {
struct mlxreg_core_data *data;
enum mlxreg_hotplug_kind kind;
u32 aggr_mask;
u32 reg;
u32 mask;
u32 capability;
u32 cache;
u8 count;
u8 ind;
u8 inversed;
u8 health;
};
π Members π
okay bestie, member-by-member, because every field deserves its moment:
dataβ component data. That's the component's data, periodt; no extra lore needed.kindβ kind of hotplug attribute. It's giving "what type of hotplug is this" energy.aggr_maskβ group aggregation mask. Masking, but make it group aggregation πregβ group interrupt status register.maskβ group interrupt mask.capabilityβ group capability register.cacheβ last status value for elements fro the same group. (yes,froβ the page says it, we keep it π)countβ number of available elements in the group.indβ element's index inside the group.inversedβ if0:0for signal status is OK, if1-1is OK. (inversion literally said it like that π)healthβ true if device has health indication, false in other case.
π SEE ALSO π
bestie, the cross-reference bouquet:
- Kernel file
./include/linux/platform_data/mlxreg.h - enum
mlxreg_wdt_type(9) - 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_platform_data(9) - struct
mlxreg_core_hotplug_platform_data(9)
okay bestie, that's the page! source: ./include/linux/platform_data; date: October 2026; version tag: struct mlxreg_core_item(9). now go be iconic with your hotplug structs π
β¨π
π¦ 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