mei_me_pg_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mei_me_pg_state β€” kernel API manual, but make it make sense

okay bestie, so this page is mei_me_pg_state(9), and it lives in the Kernel API Manual section β€” yes, section 9, the ~deep lore~ one. It's a tiny little function with one job, and honestly? It ate. πŸŽ€


✨ NAME ✨

mei_me_pg_state β€” it translates the internal pg state into the mei power gating state. that's it. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

enum mei_pg_state mei_me_pg_state (struct mei_device *dev );

literally one argument, no cap. πŸ’…


🧚 ARGUMENTS 🧚

  • dev β€” the mei device. that's the whole thing. just hand it the device, diva. 🫢

⭐ RETURN ⭐

it gives you MEI_PG_OFF if aliveness is on, and MEI_PG_ON otherwise. yep, that's genuinely the rule β€” read it twice if you need to, i had to too 😭

no cap: those are the only two outcomes listed. nothing else. don't go inventing a third one, bestie πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

okay so this is the part where the manpage just. lists. everyone. the whole friend group. it's giving group chat with 58 members and every single one is a (9) page πŸ’–

it also points you at the kernel file ./drivers/misc/mei/hw-me.c πŸ›

and yes, me_intr_disable(9) and mei_me_intr_disable(9) are both in there β€” different names, bestie, look closer πŸ‘€πŸ’…


k bye, this page comes from the source/version dir ./drivers/misc/mei, dated October 2026 β€” mwah, slay, periodt πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from