Home
last modified time | relevance | path

Searched refs:bestDriver (Results 1 – 2 of 2) sorted by relevance

/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.cpp156 driver_module_info*& bestDriver,
1381 device_node::_FindBestDriver(const char* path, driver_module_info*& bestDriver, in _FindBestDriver() argument
1384 if (bestDriver == NULL) in _FindBestDriver()
1397 if (bestDriver != NULL) in _FindBestDriver()
1398 put_module(bestDriver->info.name); in _FindBestDriver()
1400 bestDriver = driver; in _FindBestDriver()
1410 return bestDriver != NULL ? B_OK : B_ENTRY_NOT_FOUND; in _FindBestDriver()
1464 driver_module_info* bestDriver = NULL; in _RegisterDynamic() local
1469 _FindBestDriver(path.Path(), bestDriver, bestSupport, previous); in _RegisterDynamic()
1472 if (bestDriver != NULL) { in _RegisterDynamic()
[all …]
/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp172 driver_module_info*& bestDriver,
1742 device_node::_FindBestDriver(const char* path, driver_module_info*& bestDriver, in _FindBestDriver() argument
1745 if (bestDriver == NULL) in _FindBestDriver()
1758 if (bestDriver != NULL) in _FindBestDriver()
1759 put_module(bestDriver->info.name); in _FindBestDriver()
1761 bestDriver = driver; in _FindBestDriver()
1771 return bestDriver != NULL ? B_OK : B_ENTRY_NOT_FOUND; in _FindBestDriver()
1836 driver_module_info* bestDriver = NULL; in _RegisterDynamic() local
1841 _FindBestDriver(path.Path(), bestDriver, bestSupport, previous); in _RegisterDynamic()
1844 if (bestDriver != NULL) { in _RegisterDynamic()
[all …]