mcpm_platform_register(9)
β¨ mcpm_platform_register(9) β¨
okay so this is a page straight out of the Kernel API Manual, and it's genuinely one of the shorter ones β a lil baby function with big main character energy π
πΈ NAME πΈ
mcpm_platform_register β bestie, this is the one that registers platform specific power methods π
π¦ SYNOPSIS π¦
int mcpm_platform_register (const struct mcpm_platform_ops *ops );
π ARGUMENTS π
opsβ themcpm_platform_opsstructure you're registering. that's it, that's the whole argument π«Ά
π DESCRIPTION π
so you call this to hook up your platform's power methods, and here's the one thing to remember, no cap:
an error is returned if the registration has already been done previously π like, once is enough, bestie β it's not gonna let you double-register.
β SEE ALSO β
the kernel file lives right here: ./arch/arm/include/asm/mcpm.h β go read it, iykyk π
and it's giving friend group, because these all hang out together:
mcpm_is_available(9)mcpm_cpu_power_up(9)mcpm_cpu_power_down(9)mcpm_wait_for_cpu_powerdown(9)mcpm_cpu_suspend(9)mcpm_cpu_powered_up(9)mcpm_sync_init(9)mcpm_loopback(9)
that's the whole page, bestie β short and iconic π§
sign-off szn: this one came from ./arch/arm/include/asm, dated October 2026, and it's literally filed under mcpm_platform_register(9) in the Kernel API Manual. slay π
π¦ 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