Home
last modified time | relevance | path

Searched refs:mhi_drv (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/include/linux/
Dmhi_ep.h204 #define module_mhi_ep_driver(mhi_drv) \ argument
205 module_driver(mhi_drv, mhi_ep_driver_register, \
211 #define mhi_ep_driver_register(mhi_drv) \ argument
212 __mhi_ep_driver_register(mhi_drv, THIS_MODULE)
221 int __mhi_ep_driver_register(struct mhi_ep_driver *mhi_drv, struct module *owner);
227 void mhi_ep_driver_unregister(struct mhi_ep_driver *mhi_drv);
Dmhi.h571 #define module_mhi_driver(mhi_drv) \ argument
572 module_driver(mhi_drv, mhi_driver_register, \
578 #define mhi_driver_register(mhi_drv) \ argument
579 __mhi_driver_register(mhi_drv, THIS_MODULE)
586 int __mhi_driver_register(struct mhi_driver *mhi_drv, struct module *owner);
592 void mhi_driver_unregister(struct mhi_driver *mhi_drv);
/Linux-v6.1/drivers/bus/mhi/host/
Dinit.c1235 struct mhi_driver *mhi_drv = to_mhi_driver(drv); in mhi_driver_probe() local
1253 if (ul_chan->lpm_notify && !mhi_drv->status_cb) in mhi_driver_probe()
1257 if (!ul_chan->offload_ch && !mhi_drv->ul_xfer_cb) in mhi_driver_probe()
1260 ul_chan->xfer_cb = mhi_drv->ul_xfer_cb; in mhi_driver_probe()
1269 if (dl_chan->lpm_notify && !mhi_drv->status_cb) in mhi_driver_probe()
1273 if (!dl_chan->offload_ch && !mhi_drv->dl_xfer_cb) in mhi_driver_probe()
1283 if (mhi_event->cl_manage && !mhi_drv->status_cb) in mhi_driver_probe()
1286 dl_chan->xfer_cb = mhi_drv->dl_xfer_cb; in mhi_driver_probe()
1290 ret = mhi_drv->probe(mhi_dev, mhi_dev->id); in mhi_driver_probe()
1309 struct mhi_driver *mhi_drv = to_mhi_driver(dev->driver); in mhi_driver_remove() local
[all …]
Dmain.c347 struct mhi_driver *mhi_drv; in mhi_notify() local
352 mhi_drv = to_mhi_driver(mhi_dev->dev.driver); in mhi_notify()
354 if (mhi_drv->status_cb) in mhi_notify()
355 mhi_drv->status_cb(mhi_dev, cb_reason); in mhi_notify()
/Linux-v6.1/drivers/bus/mhi/ep/
Dmain.c1472 struct mhi_ep_driver *mhi_drv = to_mhi_ep_driver(dev->driver); in mhi_ep_driver_probe() local
1476 ul_chan->xfer_cb = mhi_drv->ul_xfer_cb; in mhi_ep_driver_probe()
1477 dl_chan->xfer_cb = mhi_drv->dl_xfer_cb; in mhi_ep_driver_probe()
1479 return mhi_drv->probe(mhi_dev, mhi_dev->id); in mhi_ep_driver_probe()
1485 struct mhi_ep_driver *mhi_drv = to_mhi_ep_driver(dev->driver); in mhi_ep_driver_remove() local
1515 mhi_drv->remove(mhi_dev); in mhi_ep_driver_remove()
1520 int __mhi_ep_driver_register(struct mhi_ep_driver *mhi_drv, struct module *owner) in __mhi_ep_driver_register() argument
1522 struct device_driver *driver = &mhi_drv->driver; in __mhi_ep_driver_register()
1524 if (!mhi_drv->probe || !mhi_drv->remove) in __mhi_ep_driver_register()
1528 if (!mhi_drv->ul_xfer_cb || !mhi_drv->dl_xfer_cb) in __mhi_ep_driver_register()
[all …]