Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/common/
H A Dusb_modeswitch.cpp484 bool hasIn = false; in my_device_added() local
492 if (!hasIn && (endpoint->descr->endpoint_address in my_device_added()
495 hasIn = true; in my_device_added()
502 if (hasIn && hasOut) in my_device_added()
506 if (!(hasIn && hasOut)) in my_device_added()
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp1070 bool hasIn = false; in usb_disk_attach() local
1078 if (!hasIn && (endpoint->descr->endpoint_address in usb_disk_attach()
1082 hasIn = true; in usb_disk_attach()
1096 if (hasIn && hasOut && hasInt) in usb_disk_attach()
1100 if (!(hasIn && hasOut)) { in usb_disk_attach()