Lines Matching defs:cdrv
64 struct ccw_driver *cdrv = to_ccwdrv(drv);
65 const struct ccw_device_id *ids = cdrv->ids, *found;
1560 struct ccw_driver *cdrv = cdev->drv;
1564 if (cdrv->int_class != 0)
1565 cdev->private->int_class = cdrv->int_class;
1685 * @cdrv: driver the device is owned by
1688 * This function searches all devices owned by @cdrv for a device with a bus
1694 struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
1699 dev = driver_find_device_by_name(&cdrv->driver, bus_id);
1718 struct ccw_driver *cdrv = to_ccwdrv(dev->driver);
1721 cdev->drv = cdrv; /* to let the driver call _set_online */
1723 ret = cdrv->probe ? cdrv->probe(cdev) : -ENODEV;
1736 struct ccw_driver *cdrv = cdev->drv;
1740 if (cdrv->remove)
1741 cdrv->remove(cdev);