Lines Matching defs:cdrv
64 struct ccw_driver *cdrv = to_ccwdrv(drv);
65 const struct ccw_device_id *ids = cdrv->ids, *found;
1575 struct ccw_driver *cdrv = cdev->drv;
1579 if (cdrv->int_class != 0)
1580 cdev->private->int_class = cdrv->int_class;
1708 * @cdrv: driver the device is owned by
1711 * This function searches all devices owned by @cdrv for a device with a bus
1717 struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
1722 dev = driver_find_device_by_name(&cdrv->driver, bus_id);
1741 struct ccw_driver *cdrv = to_ccwdrv(dev->driver);
1744 cdev->drv = cdrv; /* to let the driver call _set_online */
1746 ret = cdrv->probe ? cdrv->probe(cdev) : -ENODEV;
1759 struct ccw_driver *cdrv = cdev->drv;
1763 if (cdrv->remove)
1764 cdrv->remove(cdev);