cpuidle_register_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

cpuidle_register_device β€” basically the moment a CPU's idle PM feature gets its official registration moment, like showing up to the group chat and being added to the roster ✨


✨ SYNOPSIS ✨

int cpuidle_register_device (struct cpuidle_device *dev );

okay so you're calling this and it hands you back an int, and it takes exactly one thing: a pointer to a struct cpuidle_device 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the cpu πŸ’… (yes bestie, that's the whole description, that's the vibe, it's the cpu)

πŸ¦‹ SEE ALSO πŸ¦‹

ngl the whole cpuidle friend group shows up here, and the kernel file is ./drivers/cpuidle/cpuidle.c β€” iconique πŸ’…


and that's the whole page, bestie β€” short and slay πŸŽ€

this little beauty lives under ./drivers/cpuidle, dated October 2026, and it's filed in the Kernel API Manual as cpuidle_register_device(9) β€” mwah, go register a device, ily πŸ’œ

πŸ“¦ where this page comes from