mhi_device_get_sync(9)
π 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 π«Ά:
enum mhi_callback(9)enum mhi_flags(9)enum mhi_device_type(9)enum mhi_ch_type(9)struct mhi_buf(9)struct image_info(9)struct mhi_link_info(9)enum mhi_ee_type(9)enum mhi_state(9)enum mhi_ch_ee_mask(9)enum mhi_er_data_type(9)enum mhi_db_brst_mode(9)struct mhi_channel_config(9)struct mhi_event_config(9)struct mhi_controller_config(9)struct mhi_controller(9)struct mhi_device(9)struct mhi_result(9)struct mhi_driver(9)mhi_alloc_controller(9)mhi_free_controller(9)mhi_register_controller(9)mhi_unregister_controller(9)__mhi_driver_register(9)mhi_driver_unregister(9)mhi_set_mhi_state(9)mhi_notify(9)mhi_get_free_desc_count(9)mhi_prepare_for_power_up(9)mhi_async_power_up(9)mhi_sync_power_up(9)mhi_power_down(9)mhi_power_down_keep_dev(9)mhi_unprepare_after_power_down(9)mhi_pm_suspend(9)mhi_pm_resume(9)mhi_pm_resume_force(9)mhi_download_rddm_image(9)mhi_force_rddm_mode(9)mhi_get_exec_env(9)mhi_get_mhi_state(9)mhi_soc_reset(9)mhi_device_put(9)mhi_prepare_for_transfer(9)mhi_unprepare_from_transfer(9)mhi_queue_buf(9)mhi_queue_skb(9)mhi_queue_is_full(9)mhi_get_channel_doorbell_offset(9)
π real talk:mhi_device_get_synchas 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
- 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