mhi_get_mhi_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual page for mhi_get_mhi_state(9) β€” title and manual name are folded in near the top like a little name tag 🫢✨

🌸 NAME 🌸

mhi_get_mhi_state β€” get the MHI state of the device. That’s the whole assignment πŸ’… you’re basically asking the device, β€œbestie, what’s your MHI state rn?”

✨ SYNOPSIS ✨

enum mhi_state mhi_get_mhi_state (struct mhi_controller *mhi_cntrl );

Okay so it gives you back an enum mhi_state, and you hand it a pointer to struct mhi_controller. No cap, that’s the signature πŸ”₯

πŸŽ€ ARGUMENTS πŸŽ€

  • mhi_cntrl β€” MHI controller. It’s the MHI controller struct you’re passing in β€” main character energy, honestly πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file ./include/linux/mhi.h is the mothership for this whole friend group 🧚


xoxo πŸ’– sourced from ./include/linux, dated October 2026, still serving mhi_get_mhi_state(9) realness πŸŽ€βœ¨

πŸ“¦ where this page comes from