mhi_device_get_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mhi_device_get_sync (9) πŸ’–

okay bestie, welcome to the Kernel API Manual πŸŽ€ β€” yes we're reading kernel docs together, this is our bonding era. today's main character is mhi_device_get_sync, and ngl she's a little unassuming but she does things. let's get into it ✨


🌸 NAME 🌸

mhi_device_get_sync β€” disable device low power mode, and synchronously take the controller out of suspended state 🫢

like, no cap, that's the whole vibe: wake it up, wait for it, no half-sends. periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int mhi_device_get_sync (struct mhi_device *mhi_dev );

that's it. that's the function. one argument, returns an int, lowkey iconic πŸ‘‘


🌈 ARGUMENTS 🌈

  • mhi_dev β€” the device associated with the channel πŸ’– yep, that's the one you're grabbing. hand her over and she gets the synchronous wake-up treatment.

⭐ SEE ALSO ⭐

bestie this list is long β€” it's giving "everyone in the MHI cinematic universe showed up to the party" 😭 but every single one is here, don't worry, i didn't skip a single soul πŸ’œ

first up, the header file so you know where all this lives:

  • Kernel file ./include/linux/mhi.h

and now the whole friend group 🫢:

πŸ’€ real talk: mhi_device_get_sync has a partner in crime β€” mhi_device_put(9) is right there in the list, so don't leave her hanging, iykyk πŸ™ˆ

okay that's the whole page, you ate that πŸ“šπŸ’… this little gem ships out of ./include/linux, October 2026 edition, mwah πŸ’‹ see you in the next manpage bestie πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from