cpuidle_register(9)

📦 version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so, straight from the Kernel API Manual: cpuidle_register — registers the driver and the cpu devices with the coupled_cpus passed as parameter. This function is used for all common initialization pattern there are in the arch specific drivers. And yes, the devices is globally defined in this file. 💅


✨ SYNOPSIS ✨

int cpuidle_register (struct cpuidle_driver *drv , const struct cpumask
       *const coupled_cpus );

🎀 ARGUMENTS 🎀

  • drv — a valid pointer to a struct cpuidle_driver. Like, actually valid, bestie 🫶
  • coupled_cpus — a cpumask for the coupled states.

💫 DESCRIPTION 💫

The return vibe check is simple: 0 on success, < 0 otherwise. No cap. 🌈


🔥 SEE ALSO 🔥

Kernel file: ./drivers/cpuidle/cpuidle.c 👑


That’s the whole page, bestie 🫶 — source/version ./drivers/cpuidle, dated October 2026, filing under cpuidle_register(9). Periodt 💅✨

📦 where this page comes from