Lines Matching defs:drivers

81  * Used to attach drivers to devclasses.
86 TAILQ_ENTRY(driverlink) link; /* list of drivers in devclass */
103 driver_list_t drivers; /* bus devclasses store drivers for bus */
190 static void print_driver_list(driver_list_t drivers, int indent);
788 * This is called when all drivers that can attach to a given bus
1000 TAILQ_INIT(&dc->drivers);
1008 * that this devclass will support drivers for the parent class as
1137 * search for drivers in both devclasses for children
1147 TAILQ_INSERT_TAIL(&dc->drivers, dl, link);
1267 * Find the link structure in the bus' list of drivers.
1269 TAILQ_FOREACH(dl, &busclass->drivers, link) {
1284 TAILQ_REMOVE(&busclass->drivers, dl, link);
1297 * @brief Quiesces a set of device drivers from a device class
1324 * Find the link structure in the bus' list of drivers.
1326 TAILQ_FOREACH(dl, &busclass->drivers, link) {
1371 TAILQ_FOREACH(dl, &dc->drivers, link) {
1470 * @brief Get a list of drivers in the devclass
1472 * An array containing a list of pointers to all the drivers in the
1474 * of drivers in the array is returned in @p *countp. The caller should
1493 TAILQ_FOREACH(dl, &dc->drivers, link)
1500 TAILQ_FOREACH(dl, &dc->drivers, link) {
2050 return (TAILQ_FIRST(&dc->drivers));
2203 * This assumes that all DF_REBID drivers can have
2516 * Most drivers do not need to use this since the softc is allocated
2534 * Most drivers do not need to use this since the softc is freed
2844 * candidate drivers and then choosing the driver which returned the
2848 * The set of suitable drivers is taken from the list of drivers in
2850 * with a specific class name (see device_add_child()), only drivers
2851 * with that name are probed, otherwise all drivers in the devclass
2852 * are probed. If no drivers return successful probe values in the
3112 * Some useful method implementations to make life easier for bus drivers.
3690 TAILQ_FOREACH(dl, &dc->drivers, link) {
3693 * For most drivers in the default pass, this will
3694 * never be true. For early-pass drivers they will
3695 * only call the identify routines of eligible drivers
4103 * routines for any drivers that probe at the current pass. Then it
4117 TAILQ_FOREACH(dl, &dc->drivers, link) {
4566 * Some convenience functions to make it easier for drivers to use the
5112 * present in the system. Removable bus drivers are expected to intercept
5113 * this call long before it gets here. We return -1 so that drivers that
5214 * @brief Module handler for registering device drivers
5217 * drivers when modules are loaded. If @p what is MOD_LOAD, it calls
5403 print_driver_list(driver_list_t drivers, int indent)
5407 TAILQ_FOREACH(driver, &drivers, link) {
5431 print_driver_list(dc->drivers, indent+1);
5444 printf("Short listing of devclasses, drivers & devices:\n");
5455 printf("Full listing of devclasses, drivers & devices:\n");
5473 * We might like to add the ability to scan devclasses and/or drivers to
5664 * Walk through the devclasses to find all the drivers we've tagged as
5671 TAILQ_FOREACH(dl, &dc->drivers, link) {
5836 * Scan drivers for this device's bus looking for at