ENUM MHI_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum mhi_state(9) β€” the MHI vibe check πŸ¦‹

okay bestie, so this page lives in the Kernel API Manual, and it's literally just the enum that spells out every state an MHI thing can be in. That's it. That's the whole page. But it's lowkey iconic, so let's get into it πŸ’…


✨ NAME ✨

enum mhi_state β€” MHI states, periodt.


🌸 SYNOPSIS 🌸

enum mhi_state {
    MHI_STATE_RESET ,
    MHI_STATE_READY ,
    MHI_STATE_M0 ,
    MHI_STATE_M1 ,
    MHI_STATE_M2 ,
    MHI_STATE_M3 ,
    MHI_STATE_M3_FAST ,
    MHI_STATE_BHI ,
    MHI_STATE_SYS_ERR

};

no cap, that's the whole thing. nine constants, zero notes, all vibes πŸŽ€


πŸ‘‘ CONSTANTS πŸ‘‘

okay so here's the roster β€” every single one of these is a state, and honestly they each get exactly one job and they ate with it:

  • MHI_STATE_RESET β€” Reset state πŸŒ€ like, everything's gone back to square one.
  • MHI_STATE_READY β€” Ready state ✨ it's giving "I'm here, I'm ready, put me in coach."
  • MHI_STATE_M0 β€” M0 state πŸ’–
  • MHI_STATE_M1 β€” M1 state πŸ¦‹
  • MHI_STATE_M2 β€” M2 state 🌸
  • MHI_STATE_M3 β€” M3 state πŸŽ€
  • MHI_STATE_M3_FAST β€” M3 Fast state πŸ”₯ (yes, the fast one, she's different)
  • MHI_STATE_BHI β€” BHI state ⭐
  • MHI_STATE_SYS_ERR β€” System Error state πŸ’€ like... not the moment you want, but it's on the list fr fr.
note: the manpage does NOT tell you what M0/M1/M2/M3 actually do β€” it just names them. so don't come for me, I'm only repeating what the page says πŸ™ˆ

🫢 SEE ALSO 🫢

the kernel file it comes from is ./include/linux/mhi.h β€” and hoo boy, the friend group is LARGE:


that's the whole page bestie, no plot twists, no bugs section, no author credits β€” just states and then a truly enormous SEE ALSO πŸ’œ

sign-off time 🧚 from the source dir ./include/linux, dated October 2026, this has been enum mhi_state(9) β€” slay, bye! πŸ’–

πŸ“¦ where this page comes from