mhi_async_power_up(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mhi_async_power_up β€” the kickoff of the MHI power-up era

Okay bestie, gather round, because this little function from the Kernel API Manual is literally the "go girl give us everything" moment for MHI. It kicks off the MHI power up sequence. That's the whole vibe. ✨


🌸 SYNOPSIS 🌸

int mhi_async_power_up (struct mhi_controller *mhi_cntrl );

It hands you back an int, so yes, you do have to check it. No cap, check your return values.


πŸŽ€ ARGUMENTS πŸŽ€

  • mhi_cntrl β€” the MHI controller πŸ’–. That's it. That's the whole argument list. She's a one-argument icon and honestly? Respect.

πŸ¦‹ SEE ALSO πŸ¦‹

Okay so this is the part where the manpage goes full main-character and name-drops everyone. Buckle up, because the whole family is coming:

./include/linux/mhi.h is the home base, and from there we've got:

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)

Now the functions β€” the way there are so many of these 😭:

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_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_get_sync(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)

Like… that's the entire extended friend group and every single one of them got an invite. Iykyk. πŸ’€

Heads up bestie: this list is exactly what the page gives you β€” don't go tagging in extra functions that weren't on the guest list, okay? 🫢

Anyway, that's the whole page β€” short, sweet, and absolutely refusing to elaborate further. Slay. πŸ’…

Source location: ./include/linux Β· dated October 2026 β€” write that down, bestie, that's the receipts. πŸŽ€

πŸ“¦ where this page comes from