Lines Matching full:cdrv
64 const struct ccw_driver *cdrv = to_ccwdrv(drv); in ccw_bus_match() local
65 const struct ccw_device_id *ids = cdrv->ids, *found; in ccw_bus_match()
1588 struct ccw_driver *cdrv = cdev->drv; in ccw_device_set_int_class() local
1592 if (cdrv->int_class != 0) in ccw_device_set_int_class()
1593 cdev->private->int_class = cdrv->int_class; in ccw_device_set_int_class()
1713 * @cdrv: driver the device is owned by
1716 * This function searches all devices owned by @cdrv for a device with a bus
1722 struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv, in get_ccwdev_by_busid() argument
1727 dev = driver_find_device_by_name(&cdrv->driver, bus_id); in get_ccwdev_by_busid()
1746 struct ccw_driver *cdrv = to_ccwdrv(dev->driver); in ccw_device_probe() local
1749 cdev->drv = cdrv; /* to let the driver call _set_online */ in ccw_device_probe()
1751 ret = cdrv->probe ? cdrv->probe(cdev) : -ENODEV; in ccw_device_probe()
1764 struct ccw_driver *cdrv = cdev->drv; in ccw_device_remove() local
1768 if (cdrv->remove) in ccw_device_remove()
1769 cdrv->remove(cdev); in ccw_device_remove()