mhi_soc_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mhi_soc_reset β€” bestie, this is the Kernel API Manual page you asked for ✨

okay so real talk, this one is a wee little function but it has main character energy because it's literally the emergency button 🚨

🌸 NAME 🌸

mhi_soc_reset β€” Trigger a device reset. This can be used as a last resort to reset and recover a device.

like, it's giving "we tried everything else, hit the big red button" πŸ”΄ no cap, it's the last resort situation, not your everyday move.


✨ SYNOPSIS ✨

void mhi_soc_reset (struct mhi_controller *mhi_cntrl );

that's it. that's the whole thing. one function, no return value (void, so nothing comes back β€” she's a doer, not a talker πŸ’…).


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mhi_cntrl β€” MHI controller

that's the one thing you hand her: a pointer to the struct mhi_controller she's supposed to nuke-and-revive. give her the wrong one and, uh, that's a you problem πŸ™ˆ

⚠️ quick vibe check: this is documented as a last resort for resetting and recovering a device. it's the "we've tried nothing and we're all out of ideas" option, so don't be casual about it πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr β€” all from the kernel file ./include/linux/mhi.h:

periodt. that's the entire crew, i checked twice πŸ’œ


and that's the page!! 🫢 lil sign-off for the record: this one lives in ./include/linux, dated October 2026, and it's filed under the Kernel API Manual 🌈 go reset responsibly, bestie πŸ§šπŸ’–

πŸ“¦ where this page comes from