Searched refs:gdrv (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/s390/cio/
H A Dccwgroup.c78 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); ccwgroup_set_online() local
85 if (gdrv->set_online) ccwgroup_set_online()
86 ret = gdrv->set_online(gdev); ccwgroup_set_online()
107 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); ccwgroup_set_offline() local
114 if (gdrv->set_offline) ccwgroup_set_offline()
115 ret = gdrv->set_offline(gdev); ccwgroup_set_offline()
307 * @gdrv: driver for the new group device
318 int ccwgroup_create_dev(struct device *parent, struct ccwgroup_driver *gdrv, ccwgroup_create_dev() argument
380 if (gdrv) { ccwgroup_create_dev()
381 gdev->dev.driver = &gdrv->driver; ccwgroup_create_dev()
382 rc = gdrv->setup ? gdrv->setup(gdev) : 0; ccwgroup_create_dev()
458 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); ccwgroup_remove() local
462 if (gdrv->remove) ccwgroup_remove()
463 gdrv->remove(gdev); ccwgroup_remove()
471 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); ccwgroup_shutdown() local
475 if (gdrv->shutdown) ccwgroup_shutdown()
476 gdrv->shutdown(gdev); ccwgroup_shutdown()
482 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); ccwgroup_pm_prepare() local
491 return gdrv->prepare ? gdrv->prepare(gdev) : 0; ccwgroup_pm_prepare()
497 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); ccwgroup_pm_complete() local
502 if (gdrv->complete) ccwgroup_pm_complete()
503 gdrv->complete(gdev); ccwgroup_pm_complete()
509 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); ccwgroup_pm_freeze() local
514 return gdrv->freeze ? gdrv->freeze(gdev) : 0; ccwgroup_pm_freeze()
520 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); ccwgroup_pm_thaw() local
525 return gdrv->thaw ? gdrv->thaw(gdev) : 0; ccwgroup_pm_thaw()
531 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); ccwgroup_pm_restore() local
536 return gdrv->restore ? gdrv->restore(gdev) : 0; ccwgroup_pm_restore()
/linux-4.4.14/arch/s390/include/asm/
H A Dccwgroup.h62 int ccwgroup_create_dev(struct device *root, struct ccwgroup_driver *gdrv,
/linux-4.4.14/include/linux/usb/
H A Dcomposite.h417 struct usb_gadget_driver *gdrv) to_cdriver()
419 return container_of(gdrv, struct usb_composite_driver, gadget_driver); to_cdriver()
416 to_cdriver( struct usb_gadget_driver *gdrv) to_cdriver() argument

Completed in 169 milliseconds