ENUM MHI_FLAGS(9)
π enum mhi_flags(9) β from the Kernel API Manual, bestie π
okay so picture this: it's section 9 of the Kernel API Manual, and we're talking about enum mhi_flags. That's the transfer-flags enum. That's it. That's the whole vibe. It's giving "small but mighty" and honestly? iconic. β¨
πΈ NAME πΈ
enum mhi_flags β Transfer flags. literally just the flags that get moved around during transfers, no cap π«Ά
β¨ SYNOPSIS β¨
enum mhi_flags {
MHI_EOB ,
MHI_EOT ,
MHI_CHAIN
};
look at her. three little members, all caps, living her best life. not a single one of them has an assigned value in the source, and we are NOT going to invent one, okay? π
π Constants π
MHI_EOBβ End of buffer for bulk transfer. that's the moment the buffer says "okay i'm done bestie, that's all the bulk data you're getting from me" πMHI_EOTβ End of transfer. like the final curtain call, the transfer is OVER over, periodt π¬MHI_CHAINβ Linked transfer. this one's chained up with another transfer, main character energy, they come as a set π
π¦ SEE ALSO π¦
okay so this is the part where the manpage just. goes off. the whole friend group shows up. it's a group chat and everyone's in it π
Kernel file ./include/linux/mhi.h β that's the home base, the mothership, the place where it all lives π
and then the full squad, in this exact order because we do not disrespect the order:
enum mhi_callback(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_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 forty-eight entries. FORTY-EIGHT. and yes i counted, because you deserve accuracy even when i'm being extra π
fr fr: if you're gonna go read any of these, start with the ./include/linux/mhi.h file β everything here is basically a footnote to it π
and that's the whole page, bestie, no filler, no cap π§ source is ./include/linux, dated October 2026 β mwah, go slay your transfers ππ
π¦ 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