Searched refs:gdrv (Results 1 – 2 of 2) sorted by relevance
79 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_online() local86 if (gdrv->set_online) in ccwgroup_set_online()87 ret = gdrv->set_online(gdev); in ccwgroup_set_online()108 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_offline() local115 if (gdrv->set_offline) in ccwgroup_set_offline()116 ret = gdrv->set_offline(gdev); in ccwgroup_set_offline()319 int ccwgroup_create_dev(struct device *parent, struct ccwgroup_driver *gdrv, in ccwgroup_create_dev() argument380 if (gdrv && gdrv->ccw_driver && in ccwgroup_create_dev()381 gdev->cdev[0]->drv != gdrv->ccw_driver) { in ccwgroup_create_dev()389 if (gdrv) { in ccwgroup_create_dev()[all …]
431 struct usb_gadget_driver *gdrv) in to_cdriver() argument433 return container_of(gdrv, struct usb_composite_driver, gadget_driver); in to_cdriver()