powercap_get_zone_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

powercap_get_zone_data β€” bestie, this is literally how you get the private data for a zone 🫢


✨ SYNOPSIS ✨

void * powercap_get_zone_data (struct powercap_zone *power_zone );

πŸŽ€ ARGUMENTS πŸŽ€

  • power_zone β€” okay so this is a pointer to the valid zone instance. Valid being the key word, queen πŸ‘‘ β€” a valid zone instance, please and thank you.

🌸 DESCRIPTION 🌸

So here's the vibe: this function lets client drivers get the private data that's associated with a zone, and the way that data got there in the first place is via a call to powercap_set_zone_data. Set it, get it. It's giving symmetry, it's giving main character energy πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/powercap.h struct:

Like, go read all of them, iykyk πŸ”₯


okay that's the whole page, no cap πŸ’œ this little icon lives in ./include/linux, it's the October 2026 edition of powercap_get_zone_data(9), and it's part of the Kernel API Manual β€” slay, bye bestie 🌈✨

πŸ“¦ where this page comes from