Home
last modified time | relevance | path

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

/system/core/adb/client/
Dusb_libusb.cpp65 transfer_info(const char* name, uint16_t zero_mask, bool is_bulk_out) in transfer_info()
69 zero_mask(zero_mask) {} in transfer_info()
81 uint16_t zero_mask; member
94 uint8_t bulk_out, size_t zero_mask, size_t max_packet_size) in usb_handle()
99 read("read", zero_mask, false), in usb_handle()
100 write("write", zero_mask, true), in usb_handle()
188 static bool should_perform_zero_transfer(uint8_t endpoint, size_t write_length, uint16_t zero_mask)… in should_perform_zero_transfer() argument
189 return endpoint_is_output(endpoint) && write_length != 0 && zero_mask != 0 && in should_perform_zero_transfer()
190 (write_length & zero_mask) == 0; in should_perform_zero_transfer()
224 uint16_t zero_mask = 0; in process_device() local
[all …]
Dusb_linux.cpp71 unsigned zero_mask; member
149 unsigned zero_mask = 0; in find_usb_device() local
260 zero_mask = ep1->wMaxPacketSize - 1; in find_usb_device()
291 device->iSerialNumber, zero_mask, max_packet_size); in find_usb_device()
420 if (h->zero_mask && !(len & h->zero_mask)) { in usb_write()
516 unsigned zero_mask, size_t max_packet_size) { in register_device() argument
538 usb->zero_mask = zero_mask; in register_device()
Dusb_windows.cpp71 unsigned zero_mask; member
358 if (handle->zero_mask && (len & handle->zero_mask) == 0) { in usb_write()
530 handle->zero_mask = endpoint_info.max_packet_size - 1; in recognized_device()
531 D("device zero_mask: 0x%x", handle->zero_mask); in recognized_device()
Dusb_osx.cpp54 unsigned int zero_mask; member
66 zero_mask(0), in usb_handle()
411 handle->zero_mask = maxPacketSize - 1; in CheckInterface()
491 if ((result == 0) && (handle->zero_mask)) { in usb_write()
493 if(!(len & handle->zero_mask)) { in usb_write()
/system/core/fastboot/
Dusb_osx.cpp65 unsigned int zero_mask; member
219 handle->zero_mask = maxPacketSize - 1; in try_interfaces()
590 if ((result == 0) && (handle_->zero_mask)) { in Write()
592 if(!(len & handle_->zero_mask)) { in Write()