ENUM MEI_PG_EVENT(9)
β¨ 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:
enum mei_dev_pxp_mode(9)enum mei_dev_reset_to_pxp(9)enum mei_cb_file_ops(9)enum mei_cl_io_mode(9)struct mei_dma_dscr(9)struct mei_me_client(9)struct mei_cl_cb(9)struct mei_cl_vtag(9)struct mei_cl(9)struct mei_hw_ops(9)enum mei_pg_state(9)struct mei_fw_version(9)enum mei_dev_kind(9)struct mei_device(9)mei_data2slots(9)mei_hbm2slots(9)mei_slots2data(9)mei_fw_status_str(9)kind_is_gsc(9)kind_is_gscfi(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms