Lines Matching refs:mhi_drv
1479 struct mhi_ep_driver *mhi_drv = to_mhi_ep_driver(dev->driver); in mhi_ep_driver_probe() local
1483 ul_chan->xfer_cb = mhi_drv->ul_xfer_cb; in mhi_ep_driver_probe()
1484 dl_chan->xfer_cb = mhi_drv->dl_xfer_cb; in mhi_ep_driver_probe()
1486 return mhi_drv->probe(mhi_dev, mhi_dev->id); in mhi_ep_driver_probe()
1492 struct mhi_ep_driver *mhi_drv = to_mhi_ep_driver(dev->driver); in mhi_ep_driver_remove() local
1522 mhi_drv->remove(mhi_dev); in mhi_ep_driver_remove()
1527 int __mhi_ep_driver_register(struct mhi_ep_driver *mhi_drv, struct module *owner) in __mhi_ep_driver_register() argument
1529 struct device_driver *driver = &mhi_drv->driver; in __mhi_ep_driver_register()
1531 if (!mhi_drv->probe || !mhi_drv->remove) in __mhi_ep_driver_register()
1535 if (!mhi_drv->ul_xfer_cb || !mhi_drv->dl_xfer_cb) in __mhi_ep_driver_register()
1547 void mhi_ep_driver_unregister(struct mhi_ep_driver *mhi_drv) in mhi_ep_driver_unregister() argument
1549 driver_unregister(&mhi_drv->driver); in mhi_ep_driver_unregister()
1564 struct mhi_ep_driver *mhi_drv = to_mhi_ep_driver(drv); in mhi_ep_match() local
1574 for (id = mhi_drv->id_table; id->chan[0]; id++) in mhi_ep_match()