mei_me_pg_is_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mei_me_pg_is_enabled(9) β€” bestie's guide to the kernel API manual ✨

okay so this is a page from the Kernel API Manual, and honestly it's a short one but it eats. Let's get into it 🫢


🌸 NAME 🌸

mei_me_pg_is_enabled β€” detect if PG is supported by HW

(that's the whole vibe: it just checks whether your hardware can do the PG thing. lowkey iconic that the whole NAME section is one line πŸ’€)


⭐ SYNOPSIS ⭐

bool mei_me_pg_is_enabled (struct mei_device *dev );

so it's a bool-returning function, it takes exactly one argument, and no cap that's the whole signature πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device structure. that's it. that's the argument. she's the main character of this section, the only one invited to the party πŸŽ‰

πŸ¦‹ RETURN πŸ¦‹

  • true β€” pg is supported, slay πŸ’…
  • false β€” otherwise, i.e. pg is not supported πŸ™ˆ

literally a binary. two moods. no in between ✨


πŸ‘‘ SEE ALSO πŸ‘‘

okay bestie, sit down, because this list is long and it's giving "who's who of the ./drivers/misc/mei/hw-me.c friend group". The kernel file in question is ./drivers/misc/mei/hw-me.c, and here's every single friend it wants you to meet 🧚:

(yes, mei_me_intr_disable(9) shows up twice β€” I'm not fixing it, I'm not merging it, I'm just reporting the facts fr fr πŸ”₯)


that's the whole page bestie, short and sweet like a lil snack πŸ“ stay hydrated, read your kernel source, and remember: true means supported, false means it's not πŸ’œ

this cutie was brought to you by ./drivers/misc/mei, dated October 2026, and it lives under the name mei_me_pg_is_enabled(9) ✨ mwah πŸ’‹

πŸ“¦ where this page comes from