STRUCT MHI_EP_DRIVER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the driver field is a struct 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:

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