Home
last modified time | relevance | path

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

/system/core/adb/
Dusb_linux.c60 unsigned zero_mask; member
121 int ifc, int serial_index, unsigned zero_mask);
160 unsigned zero_mask = 0; in find_usb_device() local
260 zero_mask = ep1->wMaxPacketSize - 1; in find_usb_device()
292 interface->bInterfaceNumber, device->iSerialNumber, zero_mask); in find_usb_device()
442 if(h->zero_mask) { in usb_write()
447 if(!(len & h->zero_mask)) { in usb_write()
562 int interface, int serial_index, unsigned zero_mask) in register_device() argument
591 usb->zero_mask = zero_mask; in register_device()
Dusb_windows.c53 unsigned zero_mask; member
276 if(handle->zero_mask && (len & handle->zero_mask) == 0) { in usb_write()
440 handle->zero_mask = endpoint_info.max_packet_size - 1; in recognized_device()
Dusb_osx.c44 unsigned int zero_mask; member
365 handle->zero_mask = maxPacketSize - 1; in CheckInterface()
476 if ((result == 0) && (handle->zero_mask)) { in usb_write()
478 if(!(len & handle->zero_mask)) { in usb_write()
Dusb_libusb.c54 int zero_mask; member
142 if (uh->zero_mask == 1) { in usb_write()
143 if (!(len & uh->zero_mask)) { in usb_write()
283 uh->zero_mask = edesc->wMaxPacketSize - 1; in check_usb_interface()
/system/core/fastboot/
Dusb_osx.c62 unsigned int zero_mask; member
209 handle->zero_mask = maxPacketSize - 1; in try_interfaces()
550 if ((result == 0) && (h->zero_mask)) { in usb_write()
552 if(!(len & h->zero_mask)) { in usb_write()