Searched refs:gDeviceList (Results 1 - 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/drivers/input/i2c_hid/
H A DDriver.h20 extern DeviceList *gDeviceList;
H A DDriver.cpp58 DeviceList *gDeviceList = NULL; variable
105 for (int32 i = 0; i < gDeviceList->CountDevices(); i++) {
106 ProtocolHandler *handler = (ProtocolHandler *)gDeviceList->DeviceAt(i);
120 gDeviceList->RemoveDevice(NULL, handler);
168 ProtocolHandler *handler = (ProtocolHandler *)gDeviceList->FindDevice(path);
418 if (gDeviceList->FindDevice(pathBuffer) == NULL) {
425 gDeviceList->AddDevice(handler->PublishPath(), handler);
446 gDeviceList = new(std::nothrow) DeviceList();
447 if (gDeviceList == NULL) {
454 delete gDeviceList;
[all...]
/haiku/src/add-ons/kernel/drivers/input/i2c_elan/
H A DDriver.h20 extern DeviceList *gDeviceList;
H A DDriver.cpp99 DeviceList *gDeviceList = NULL; variable
132 ELANDevice *elan = (ELANDevice *)gDeviceList->FindDevice(path);
343 if (gDeviceList->FindDevice(pathBuffer) == NULL) {
350 gDeviceList->AddDevice(elanDevice->PublishPath(), elanDevice);
364 gDeviceList = new(std::nothrow) DeviceList();
365 if (gDeviceList == NULL) {
372 delete gDeviceList;
373 gDeviceList = NULL;
/haiku/src/add-ons/kernel/drivers/input/usb_hid/
H A DDriver.cpp32 DeviceList *gDeviceList = NULL; variable
163 if (gDeviceList->FindDevice(pathBuffer) == NULL) {
170 gDeviceList->AddDevice(handler->PublishPath(), handler);
197 for (int32 i = 0; i < gDeviceList->CountDevices(); i++) {
198 ProtocolHandler *handler = (ProtocolHandler *)gDeviceList->DeviceAt(i);
212 gDeviceList->RemoveDevice(NULL, handler);
243 ProtocolHandler *handler = (ProtocolHandler *)gDeviceList->FindDevice(name);
350 gDeviceList = new(std::nothrow) DeviceList();
351 if (gDeviceList == NULL) {
403 delete gDeviceList;
[all...]
H A DDriver.h27 extern DeviceList *gDeviceList;
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.cpp50 static raw_device *gDeviceList = NULL; variable
83 device->link = (void *)gDeviceList;
84 gDeviceList = device;
112 if (gDeviceList == device) {
113 gDeviceList = (raw_device *)device->link;
115 raw_device *element = gDeviceList;
202 raw_device *element = gDeviceList;
948 gDeviceList = NULL;
1006 raw_device *element = gDeviceList;
/haiku/src/add-ons/kernel/drivers/common/
H A Dusb_modeswitch.cpp313 static my_device *gDeviceList = NULL; variable
543 device->link = gDeviceList;
544 gDeviceList = device;
560 if (gDeviceList == device) {
561 gDeviceList = device->link;
563 my_device *element = gDeviceList;
607 gDeviceList = NULL;

Completed in 67 milliseconds