Lines Matching refs:rpdrv
409 struct rpmsg_driver *rpdrv = to_rpmsg_driver(drv); in rpmsg_dev_match() local
410 const struct rpmsg_device_id *ids = rpdrv->id_table; in rpmsg_dev_match()
448 struct rpmsg_driver *rpdrv = to_rpmsg_driver(rpdev->dev.driver); in rpmsg_dev_probe() local
457 if (rpdrv->callback) { in rpmsg_dev_probe()
462 ept = rpmsg_create_ept(rpdev, rpdrv->callback, NULL, chinfo); in rpmsg_dev_probe()
473 err = rpdrv->probe(rpdev); in rpmsg_dev_probe()
490 struct rpmsg_driver *rpdrv = to_rpmsg_driver(rpdev->dev.driver); in rpmsg_dev_remove() local
496 if (rpdrv->remove) in rpmsg_dev_remove()
497 rpdrv->remove(rpdev); in rpmsg_dev_remove()
564 int __register_rpmsg_driver(struct rpmsg_driver *rpdrv, struct module *owner) in __register_rpmsg_driver() argument
566 rpdrv->drv.bus = &rpmsg_bus; in __register_rpmsg_driver()
567 rpdrv->drv.owner = owner; in __register_rpmsg_driver()
568 return driver_register(&rpdrv->drv); in __register_rpmsg_driver()
578 void unregister_rpmsg_driver(struct rpmsg_driver *rpdrv) in unregister_rpmsg_driver() argument
580 driver_unregister(&rpdrv->drv); in unregister_rpmsg_driver()