STRUCT CPUIDLE_COOLING_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct cpuidle_cooling_cooling_device β€” wait, no bestie, it's struct cpuidle_cooling_device πŸ’… β€” and it's literally just the data for the idle cooling device. That's the whole vibe. It holds stuff. It's a struct. Iconic behavior, honestly.


πŸŽ€ SYNOPSIS πŸŽ€

struct cpuidle_cooling_device {
    struct idle_inject_device *ii_dev;
    unsigned long state;
 };

Yes, that's the entire struct, no cap. Two members. It's giving minimalist queen. πŸ¦‹

🌸 Members 🌸

  • ii_dev β€” an atomic that keeps track of the last task exiting the idle cycle πŸ‘€ like it's literally the record keeper of who dipped out of the idle cycle last. Not me being obsessed with an atomic. πŸ”₯
  • state β€” a normalized integer that gives the state of the cooling device ✨ normalized! integer! cooling device state! she's tidy, she's orderly, she knows her value (it's an integer, it's normalized, it's the state). πŸ’œ

πŸ‘‘ SEE ALSO πŸ‘‘


ok bestie that's the whole page, no notes πŸ’€ two struct members, seven SEE ALSOs, and a file path. we ate. 🫢

Later, from ./drivers/thermal 🌈, dropping in October 2026 β€” mwah, slay, periodt. πŸŽ€πŸ’–

πŸ“¦ where this page comes from