Lines Matching refs:busclass
495 devclass_driver_deleted(devclass_t busclass, devclass_t dc, driver_t *driver) in devclass_driver_deleted() argument
515 dev->parent->devclass == busclass) { in devclass_driver_deleted()
533 if (!((unsigned int)busclass->flags & DC_HAS_CHILDREN)) in devclass_driver_deleted()
535 parent = busclass; in devclass_driver_deleted()
536 TAILQ_FOREACH(busclass, &devclasses, link) { in devclass_driver_deleted()
537 if (busclass->parent == parent) { in devclass_driver_deleted()
538 error = devclass_driver_deleted(busclass, dc, driver); in devclass_driver_deleted()
561 devclass_delete_driver(devclass_t busclass, driver_t *driver) in devclass_delete_driver() argument
567 PDEBUG(("%s from devclass %s", driver->name, DEVCLANAME(busclass))); in devclass_delete_driver()
575 TAILQ_FOREACH(dl, &busclass->drivers, link) { in devclass_delete_driver()
582 busclass->name)); in devclass_delete_driver()
586 error = devclass_driver_deleted(busclass, dc, driver); in devclass_delete_driver()
590 TAILQ_REMOVE(&busclass->drivers, dl, link); in devclass_delete_driver()
616 devclass_quiesce_driver(devclass_t busclass, driver_t *driver) in devclass_quiesce_driver() argument
624 PDEBUG(("%s from devclass %s", driver->name, DEVCLANAME(busclass))); in devclass_quiesce_driver()
632 TAILQ_FOREACH(dl, &busclass->drivers, link) { in devclass_quiesce_driver()
639 busclass->name)); in devclass_quiesce_driver()
657 dev->parent->devclass == busclass) { in devclass_quiesce_driver()