Lines Matching refs:gdrv
58 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_online() local
65 if (gdrv->set_online) in ccwgroup_set_online()
66 ret = gdrv->set_online(gdev); in ccwgroup_set_online()
88 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_offline() local
99 if (gdrv->set_offline) in ccwgroup_set_offline()
100 ret = gdrv->set_offline(gdev); in ccwgroup_set_offline()
313 int ccwgroup_create_dev(struct device *parent, struct ccwgroup_driver *gdrv, in ccwgroup_create_dev() argument
374 if (gdrv && gdrv->ccw_driver && in ccwgroup_create_dev()
375 gdev->cdev[0]->drv != gdrv->ccw_driver) { in ccwgroup_create_dev()
382 if (gdrv) { in ccwgroup_create_dev()
383 gdev->dev.driver = &gdrv->driver; in ccwgroup_create_dev()
384 rc = gdrv->setup ? gdrv->setup(gdev) : 0; in ccwgroup_create_dev()
451 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_remove() local
453 if (gdrv->remove) in ccwgroup_remove()
454 gdrv->remove(gdev); in ccwgroup_remove()
460 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_shutdown() local
464 if (gdrv->shutdown) in ccwgroup_shutdown()
465 gdrv->shutdown(gdev); in ccwgroup_shutdown()