Lines Matching refs:drivers
46 * * Used to attach drivers to devclasses.
51 TAILQ_ENTRY(driverlink) link; /* list of drivers in devclass */
66 driver_list_t drivers; /* bus devclasses store drivers for bus */
131 static void print_driver_list(driver_list_t drivers, int indent);
312 TAILQ_INIT(&dc->drivers);
321 * that this devclass will support drivers for the parent class as
454 * search for drivers in both devclasses for children
464 TAILQ_INSERT_TAIL(&dc->drivers, dl, link);
573 * Find the link structure in the bus' list of drivers.
575 TAILQ_FOREACH(dl, &busclass->drivers, link) {
590 TAILQ_REMOVE(&busclass->drivers, dl, link);
603 * @brief Quiesces a set of device drivers from a device class
630 * Find the link structure in the bus' list of drivers.
632 TAILQ_FOREACH(dl, &busclass->drivers, link) {
677 TAILQ_FOREACH(dl, &dc->drivers, link) {
776 * @brief Get a list of drivers in the devclass
778 * An array containing a list of pointers to all the drivers in the
780 * of drivers in the array is returned in @p *countp. The caller should
799 TAILQ_FOREACH(dl, &dc->drivers, link)
806 TAILQ_FOREACH(dl, &dc->drivers, link) {
1050 * Most drivers do not need to use this since the softc is allocated
1068 * Most drivers do not need to use this since the softc is freed
1704 * candidate drivers and then choosing the driver which returned the
1708 * The set of suitable drivers is taken from the list of drivers in
1710 * with a specific class name (see device_add_child()), only drivers
1711 * with that name are probed, otherwise all drivers in the devclass
1712 * are probed. If no drivers return successful probe values in the
1822 TAILQ_FOREACH(dl, &dc->drivers, link) {
1825 * For most drivers in the default pass, this will
1826 * never be true. For early-pass drivers they will
1827 * only call the identify routines of eligible drivers
2105 * routines for any drivers that probe at the current pass. Then it
2119 TAILQ_FOREACH(dl, &dc->drivers, link) {
2240 return (TAILQ_FIRST(&dc->drivers));
2555 * This assumes that all DF_REBID drivers can have
2812 * @brief Module handler for registering device drivers
2815 * drivers when modules are loaded. If @p what is MOD_LOAD, it calls
2974 print_driver_list(driver_list_t drivers, int indent)
2978 TAILQ_FOREACH(driver, &drivers, link) {
3002 print_driver_list(dc->drivers, indent+1);
3015 printf("Short listing of devclasses, drivers & devices:\n");
3026 printf("Full listing of devclasses, drivers & devices:\n");