ENUM MEI_PG_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum mei_pg_event(9) ✨

okay so bestie, buckle up, because we're diving into enum mei_pg_event from the Kernel API Manual β€” it's the little enum that tracks power gating transition events and honestly it's giving backstage-pass energy 🎟️✨

Basically it's the vibe check for where the driver is at during a power gating transition. no cap, it's smol but it matters πŸ’…


🌸 SYNOPSIS 🌸

enum mei_pg_event {
    MEI_PG_EVENT_IDLE ,
    MEI_PG_EVENT_WAIT ,
    MEI_PG_EVENT_RECEIVED ,
    MEI_PG_EVENT_INTR_WAIT ,
    MEI_PG_EVENT_INTR_RECEIVED

};

look at her go 🫢 five constants, all iconic, all doing their own thing.


πŸŽ€ Constants πŸŽ€

  • MEI_PG_EVENT_IDLE β€” the driver is not in a power gating transition rn. she's just chilling, main character energy, nothing happening 😌
  • MEI_PG_EVENT_WAIT β€” the driver is waiting for a pg event to complete. like sitting by the phone fr fr ⏳
  • MEI_PG_EVENT_RECEIVED β€” the driver received the pg event!! it arrived, we love that for her πŸ’–
  • MEI_PG_EVENT_INTR_WAIT β€” the driver is waiting on a pg event interrupt this time. different wait, same suspense πŸ™ˆ
  • MEI_PG_EVENT_INTR_RECEIVED β€” the driver received the pg event interrupt. delivered, slay πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/misc/mei/mei_dev.h β€” and literally the whole friend group lives there too, so here's the full guest list:


ngl bestie, this all lives under ./drivers/misc/mei β€” go read the source if you want the full lore πŸ§šβ€β™€οΈ

and that's the whole page!! from the Kernel API Manual, dated October 2026, found in ./drivers/misc/mei β€” ty for coming to my ted talk, ily, bye πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from