lwmi_gz_plat...rofile_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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