mei_me_pg_is_enabled(9)
π 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 π§:
mei_me_reg_read(9)mei_me_reg_write(9)mei_me_mecbrw_read(9)mei_me_hcbww_write(9)mei_me_mecsr_read(9)mei_hcsr_read(9)mei_hcsr_write(9)mei_hcsr_set(9)mei_hcsr_set_hig(9)mei_me_d0i3c_read(9)mei_me_d0i3c_write(9)mei_me_trc_status(9)mei_me_fw_status(9)mei_me_hw_config(9)mei_me_pg_state(9)me_intr_disable(9)me_intr_clear(9)mei_me_intr_clear(9)mei_me_intr_enable(9)mei_me_intr_disable(9)mei_me_synchronize_irq(9)mei_me_hw_reset_release(9)mei_me_host_set_ready(9)mei_me_host_is_ready(9)mei_me_hw_is_ready(9)mei_me_hw_is_resetting(9)mei_gsc_pxp_check(9)mei_me_hw_ready_wait(9)mei_me_hw_start(9)mei_hbuf_filled_slots(9)mei_me_hbuf_is_empty(9)mei_me_hbuf_empty_slots(9)mei_me_hbuf_depth(9)mei_me_hbuf_write(9)mei_me_count_full_read_slots(9)mei_me_read_slots(9)mei_me_pg_set(9)mei_me_pg_unset(9)mei_me_pg_legacy_enter_sync(9)mei_me_pg_legacy_exit_sync(9)mei_me_pg_in_transition(9)mei_me_d0i3_set(9)mei_me_d0i3_unset(9)mei_me_d0i3_enter_sync(9)mei_me_d0i3_enter(9)mei_me_d0i3_exit_sync(9)mei_me_pg_legacy_intr(9)mei_me_d0i3_intr(9)mei_me_pg_intr(9)mei_me_pg_enter_sync(9)mei_me_pg_exit_sync(9)mei_me_hw_reset(9)mei_me_irq_quick_handler(9)mei_me_irq_thread_handler(9)mei_me_polling_thread(9)mei_me_fw_type_nm(9)mei_me_fw_type_sps_4(9)mei_me_fw_type_sps_ign(9)mei_me_dev_init(9)
(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
- 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