Searched refs:bulk_out (Results 1 - 2 of 2) sorted by relevance

/system/core/fastbootd/
H A Dusb_linux_client.c65 int bulk_out; /* "out" from the host's perspective => source for fastbootd */ member in struct:usb_transport
185 usb_transport->bulk_out = open(USB_FFS_FASTBOOT_OUT, O_RDWR);
186 if (usb_transport->bulk_out < 0) {
204 if (usb_transport->bulk_out > 0) {
205 close(usb_transport->bulk_out);
206 usb_transport->bulk_out = -1;
251 static ssize_t bulk_read(int bulk_out, char *buf, size_t length) argument
258 ret = TEMP_FAILURE_RETRY(read(bulk_out, buf + n, to_read));
261 bulk_out, length, errno, strerror(errno));
281 D(DEBUG, "about to read (fd=%d, len=%d)", usb_transport->bulk_out, le
[all...]
/system/core/adb/
H A Dusb_linux_client.c54 int bulk_out; /* "out" from the host's perspective => source for adbd */ member in struct:usb_handle
286 h->bulk_out = adb_open(USB_FFS_ADB_OUT, O_RDWR);
287 if (h->bulk_out < 0) {
305 if (h->bulk_out > 0) {
306 adb_close(h->bulk_out);
307 h->bulk_out = -1;
378 static int bulk_read(int bulk_out, char *buf, size_t length) argument
384 ret = adb_read(bulk_out, buf + count, length - count);
388 bulk_out, length, count);
403 D("about to read (fd=%d, len=%d)\n", h->bulk_out, le
[all...]

Completed in 706 milliseconds