lwmi_gz_plat...rofile_probe(9)
π NAME π
okay so this is the Kernel API Manual page for lwmi_gz_platform_profile_probe, and her whole job is to enable and set up the platform profile device. iconic. π
β¨ SYNOPSIS β¨
the signature, exactly as she appears:
int lwmi_gz_platform_profile_probe (void *drvdata , unsigned long
*choices );
π ARGUMENTS π
drvdataβ driver data for the interface. like, the context bag for this interface, iykyk.choicesβ container for enabled platform profiles. this is where the enabled platform profiles get collected. slay.
π¦ DESCRIPTION π¦
so the vibe check here is: determine if thermal mode is supported, and if it is, to what feature level. then β main character moment β enable all supported platform profiles. no cap, that's the whole flow. π
πΈ RETURN πΈ
0 on success, or an error code. that's it. 0 = yes bestie, error code = something went sideways. π
π SEE ALSO π
go read these next, bestie β the whole friend group:
- Kernel file:
./drivers/platform/x86/lenovo/wmi-gamezone.c lwmi_gz_mode_call(9)lwmi_gz_event_call(9)lwmi_gz_thermal_mode_supported(9)lwmi_gz_thermal_mode_get(9)lwmi_gz_profile_get(9)lwmi_gz_profile_set(9)lwmi_gz_extreme_supported(9)
k bye bestie π«Ά β source/version: ./drivers/platform/x86/lenovo, date: October 2026, from the Kernel API Manual. lwmi_gz_platform_profile_probe(9) out. π
β¨
π¦ 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