Lines Matching refs:gdrv

35 	struct ccwgroup_driver *gdrv = to_ccwgroupdrv(drv);  in ccwgroup_bus_match()  local
37 if (gdev->creator_id == gdrv->driver_id) in ccwgroup_bus_match()
80 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_online() local
87 if (gdrv->set_online) in ccwgroup_set_online()
88 ret = gdrv->set_online(gdev); in ccwgroup_set_online()
100 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_offline() local
107 if (gdrv->set_offline) in ccwgroup_set_offline()
108 ret = gdrv->set_offline(gdev); in ccwgroup_set_offline()
123 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_online_store() local
129 if (!try_module_get(gdrv->driver.owner)) in ccwgroup_online_store()
143 module_put(gdrv->driver.owner); in ccwgroup_online_store()
446 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_probe() local
448 return gdrv->probe ? gdrv->probe(gdev) : -ENODEV; in ccwgroup_probe()
454 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_remove() local
458 if (gdrv->remove) in ccwgroup_remove()
459 gdrv->remove(gdev); in ccwgroup_remove()
467 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_shutdown() local
471 if (gdrv->shutdown) in ccwgroup_shutdown()
472 gdrv->shutdown(gdev); in ccwgroup_shutdown()
478 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_pm_prepare() local
487 return gdrv->prepare ? gdrv->prepare(gdev) : 0; in ccwgroup_pm_prepare()
493 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(dev->driver); in ccwgroup_pm_complete() local
498 if (gdrv->complete) in ccwgroup_pm_complete()
499 gdrv->complete(gdev); in ccwgroup_pm_complete()
505 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_pm_freeze() local
510 return gdrv->freeze ? gdrv->freeze(gdev) : 0; in ccwgroup_pm_freeze()
516 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_pm_thaw() local
521 return gdrv->thaw ? gdrv->thaw(gdev) : 0; in ccwgroup_pm_thaw()
527 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_pm_restore() local
532 return gdrv->restore ? gdrv->restore(gdev) : 0; in ccwgroup_pm_restore()