Home
last modified time | relevance | path

Searched refs:cdrv (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/bus/
Dmips_cdmm.c63 struct mips_cdmm_driver *cdrv = to_mips_cdmm_driver(drv); in mips_cdmm_match() local
65 return mips_cdmm_lookup(cdrv->id_table, cdev) != NULL; in mips_cdmm_match()
194 struct mips_cdmm_driver *cdrv = to_mips_cdmm_driver(dev->driver); \
196 .fn = cdrv->_name, \
580 struct mips_cdmm_driver *cdrv; \
586 cdrv = to_mips_cdmm_driver(dev->driver); \
587 if (!cdrv->_name) \
589 return cdrv->_name(cdev); \
/linux-4.19.296/drivers/s390/cio/
Ddevice.c63 struct ccw_driver *cdrv = to_ccwdrv(drv); in ccw_bus_match() local
64 const struct ccw_device_id *ids = cdrv->ids, *found; in ccw_bus_match()
1543 struct ccw_driver *cdrv = cdev->drv; in ccw_device_set_int_class() local
1547 if (cdrv->int_class != 0) in ccw_device_set_int_class()
1548 cdev->private->int_class = cdrv->int_class; in ccw_device_set_int_class()
1685 struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv, in get_ccwdev_by_busid() argument
1690 dev = driver_find_device(&cdrv->driver, NULL, (void *)bus_id, in get_ccwdev_by_busid()
1710 struct ccw_driver *cdrv = to_ccwdrv(dev->driver); in ccw_device_probe() local
1713 cdev->drv = cdrv; /* to let the driver call _set_online */ in ccw_device_probe()
1715 ret = cdrv->probe ? cdrv->probe(cdev) : -ENODEV; in ccw_device_probe()
[all …]
Dcss.c1387 int css_driver_register(struct css_driver *cdrv) in css_driver_register() argument
1389 cdrv->drv.bus = &css_bus_type; in css_driver_register()
1390 return driver_register(&cdrv->drv); in css_driver_register()
1400 void css_driver_unregister(struct css_driver *cdrv) in css_driver_unregister() argument
1402 driver_unregister(&cdrv->drv); in css_driver_unregister()