Searched refs:cdrv (Results 1 – 4 of 4) sorted by relevance
65 struct mips_cdmm_driver *cdrv = to_mips_cdmm_driver(drv); in mips_cdmm_match() local67 return mips_cdmm_lookup(cdrv->id_table, cdev) != NULL; in mips_cdmm_match()196 struct mips_cdmm_driver *cdrv = to_mips_cdmm_driver(dev->driver); \198 .fn = cdrv->_name, \595 struct mips_cdmm_driver *cdrv; \601 cdrv = to_mips_cdmm_driver(dev->driver); \602 if (!cdrv->_name) \604 return cdrv->_name(cdev); \
64 struct ccw_driver *cdrv = to_ccwdrv(drv); in ccw_bus_match() local65 const struct ccw_device_id *ids = cdrv->ids, *found; in ccw_bus_match()1560 struct ccw_driver *cdrv = cdev->drv; in ccw_device_set_int_class() local1564 if (cdrv->int_class != 0) in ccw_device_set_int_class()1565 cdev->private->int_class = cdrv->int_class; in ccw_device_set_int_class()1699 dev = driver_find_device_by_name(&cdrv->driver, bus_id); in get_ccwdev_by_busid()1718 struct ccw_driver *cdrv = to_ccwdrv(dev->driver); in ccw_device_probe() local1723 ret = cdrv->probe ? cdrv->probe(cdev) : -ENODEV; in ccw_device_probe()1736 struct ccw_driver *cdrv = cdev->drv; in ccw_device_remove() local1740 if (cdrv->remove) in ccw_device_remove()[all …]
1476 int css_driver_register(struct css_driver *cdrv) in css_driver_register() argument1478 cdrv->drv.bus = &css_bus_type; in css_driver_register()1479 return driver_register(&cdrv->drv); in css_driver_register()1489 void css_driver_unregister(struct css_driver *cdrv) in css_driver_unregister() argument1491 driver_unregister(&cdrv->drv); in css_driver_unregister()
147 extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
Completed in 14 milliseconds