Lines Matching refs:rpdrv
497 struct rpmsg_driver *rpdrv = to_rpmsg_driver(drv); in rpmsg_dev_match() local
498 const struct rpmsg_device_id *ids = rpdrv->id_table; in rpmsg_dev_match()
538 struct rpmsg_driver *rpdrv = to_rpmsg_driver(rpdev->dev.driver); in rpmsg_dev_probe() local
547 if (rpdrv->callback) { in rpmsg_dev_probe()
552 ept = rpmsg_create_ept(rpdev, rpdrv->callback, NULL, chinfo); in rpmsg_dev_probe()
562 ept->flow_cb = rpdrv->flowcontrol; in rpmsg_dev_probe()
565 err = rpdrv->probe(rpdev); in rpmsg_dev_probe()
582 if (rpdrv->remove) in rpmsg_dev_probe()
583 rpdrv->remove(rpdev); in rpmsg_dev_probe()
594 struct rpmsg_driver *rpdrv = to_rpmsg_driver(rpdev->dev.driver); in rpmsg_dev_remove() local
599 if (rpdrv->remove) in rpmsg_dev_remove()
600 rpdrv->remove(rpdev); in rpmsg_dev_remove()
693 int __register_rpmsg_driver(struct rpmsg_driver *rpdrv, struct module *owner) in __register_rpmsg_driver() argument
695 rpdrv->drv.bus = &rpmsg_bus; in __register_rpmsg_driver()
696 rpdrv->drv.owner = owner; in __register_rpmsg_driver()
697 return driver_register(&rpdrv->drv); in __register_rpmsg_driver()
707 void unregister_rpmsg_driver(struct rpmsg_driver *rpdrv) in unregister_rpmsg_driver() argument
709 driver_unregister(&rpdrv->drv); in unregister_rpmsg_driver()