Searched refs:hasIn (Results 1 – 2 of 2) sorted by relevance
484 bool hasIn = false; in my_device_added() local492 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()
1070 bool hasIn = false; in usb_disk_attach() local1078 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()