Home
last modified time | relevance | path

Searched refs:zero_mask (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/
Dusb_linux.cpp58 unsigned zero_mask; member
154 unsigned zero_mask = 0; in find_usb_device() local
266 zero_mask = ep1->wMaxPacketSize - 1; in find_usb_device()
298 interface->bInterfaceNumber, device->iSerialNumber, zero_mask); in find_usb_device()
451 if(h->zero_mask) { in usb_write()
456 if(!(len & h->zero_mask)) { in usb_write()
573 unsigned zero_mask) { in register_device() argument
596 usb->zero_mask = zero_mask; in register_device()
Dusb_windows.cpp57 unsigned zero_mask; member
280 if(handle->zero_mask && (len & handle->zero_mask) == 0) { in usb_write()
444 handle->zero_mask = endpoint_info.max_packet_size - 1; in recognized_device()
Dusb_osx.cpp46 unsigned int zero_mask; member
363 handle->zero_mask = maxPacketSize - 1; in CheckInterface()
462 if ((result == 0) && (handle->zero_mask)) { in usb_write()
464 if(!(len & handle->zero_mask)) { in usb_write()
/system/core/fastboot/
Dusb_osx.c62 unsigned int zero_mask; member
209 handle->zero_mask = maxPacketSize - 1; in try_interfaces()
556 if ((result == 0) && (h->zero_mask)) { in usb_write()
558 if(!(len & h->zero_mask)) { in usb_write()