STRUCT MHI_EP_DRIVER(9)
π struct mhi_ep_driver(9) π
okay bestie, welcome to the Kernel API Manual page for struct mhi_ep_driver(9) β yes, the manual name is folded right in here, and we're about to make this MHI Endpoint client driver struct make sense, fr fr. β¨
πΈ NAME πΈ
struct mhi_ep_driver β Structure representing a MHI Endpoint client driver. That's the whole name, periodt. π
β¨ SYNOPSIS β¨
okay so here's the struct definition, and I'm keeping it 100% verbatim so nobody comes for me:
struct mhi_ep_driver {
const struct mhi_device_id *id_table;
struct device_driver driver;
int (*probe)(struct mhi_ep_device *mhi_ep, const struct
mhi_device_id *id);
void (*remove)(struct mhi_ep_device *mhi_ep);
void (*ul_xfer_cb)(struct mhi_ep_device *mhi_dev, struct mhi_result
*result);
void (*dl_xfer_cb)(struct mhi_ep_device *mhi_dev, struct mhi_result
*result);
};
and that's the struct, no cap. π«Ά
π§ Members π§
here's the member-by-member vibe check, with every single detail kept:
id_tableβ pointer to the MHI Endpoint device ID table. This is the ID-table pointer, bestie; no extra lore needed. πdriverβ the Device driver model driver. Literally thedriverfield is astruct device_driver, and it's giving device-driver-model energy. β¨probeβ CB function for client driver probe function. This is the probe callback slot, and yes it's a CB function for the client driver's probe function. πremoveβ CB function for client driver remove function. Same energy, but remove. πul_xfer_cbβ CB function for UL (from host to endpoint) data transfer. Direction check: UL goes from host to endpoint, okay? π¦dl_xfer_cbβ CB function for DL (from endpoint to host) data transfer. Direction check: DL goes from endpoint to host. πΈ
π SEE ALSO π
Kernel file ./include/linux/mhi_ep.h, and the whole SEE ALSO squad is:
struct mhi_ep_channel_config(9)struct mhi_ep_cntrl_config(9)struct mhi_ep_db_info(9)struct mhi_ep_buf_info(9)struct mhi_ep_cntrl(9)struct mhi_ep_device(9)__mhi_ep_driver_register(9)mhi_ep_driver_unregister(9)mhi_ep_register_controller(9)mhi_ep_unregister_controller(9)mhi_ep_power_up(9)mhi_ep_power_down(9)mhi_ep_queue_is_empty(9)mhi_ep_queue_skb(9)
and that's the list, no cap. π
that's a wrap on struct mhi_ep_driver(9)! π«Ά source/version vibes: ./include/linux; date: October 2026; manual name: struct mhi_ep_driver(9). now go be the main character of your endpoint client driver, 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