Lines Matching refs:busclass
496 devclass_driver_deleted(devclass_t busclass, devclass_t dc, driver_t *driver) in devclass_driver_deleted() argument
516 dev->parent->devclass == busclass) { in devclass_driver_deleted()
534 if (!((unsigned int)busclass->flags & DC_HAS_CHILDREN)) in devclass_driver_deleted()
536 parent = busclass; in devclass_driver_deleted()
537 TAILQ_FOREACH(busclass, &devclasses, link) { in devclass_driver_deleted()
538 if (busclass->parent == parent) { in devclass_driver_deleted()
539 error = devclass_driver_deleted(busclass, dc, driver); in devclass_driver_deleted()
562 devclass_delete_driver(devclass_t busclass, driver_t *driver) in devclass_delete_driver() argument
568 PDEBUG(("%s from devclass %s", driver->name, DEVCLANAME(busclass))); in devclass_delete_driver()
576 TAILQ_FOREACH(dl, &busclass->drivers, link) { in devclass_delete_driver()
583 busclass->name)); in devclass_delete_driver()
587 error = devclass_driver_deleted(busclass, dc, driver); in devclass_delete_driver()
591 TAILQ_REMOVE(&busclass->drivers, dl, link); in devclass_delete_driver()
617 devclass_quiesce_driver(devclass_t busclass, driver_t *driver) in devclass_quiesce_driver() argument
625 PDEBUG(("%s from devclass %s", driver->name, DEVCLANAME(busclass))); in devclass_quiesce_driver()
633 TAILQ_FOREACH(dl, &busclass->drivers, link) { in devclass_quiesce_driver()
640 busclass->name)); in devclass_quiesce_driver()
658 dev->parent->devclass == busclass) { in devclass_quiesce_driver()