/external/qemu/hw/ |
usb-msd.c | 42 uint8_t *usb_buf; member in struct:__anon25471 142 memcpy(s->usb_buf, s->scsi_buf, len); 144 memcpy(s->scsi_buf, s->usb_buf, len); 148 s->usb_buf += len; 168 memcpy(s->usb_buf, &csw, 13); 194 memset(s->usb_buf, 0, s->usb_len); 412 s->usb_buf = data; 460 s->usb_buf = data; 470 s->usb_buf = data; 477 memset(s->usb_buf, 0, s->usb_len) [all...] |
usb-ohci.c | 118 uint8_t usb_buf[8192]; member in struct:__anon25472 739 ohci_copy_iso_td(ohci, start_addr, end_addr, ohci->usb_buf, len, 0); 753 ohci->usb_packet.data = ohci->usb_buf; 775 ohci_copy_iso_td(ohci, start_addr, end_addr, ohci->usb_buf, ret, 1); 902 ohci_copy_td(ohci, &td, ohci->usb_buf, len, 0); 914 printf(" %.2x", ohci->usb_buf[i]); 943 ohci->usb_packet.data = ohci->usb_buf; 961 ohci_copy_td(ohci, &td, ohci->usb_buf, ret, 1); 965 printf(" %.2x", ohci->usb_buf[i]); [all...] |
/system/core/fastboot/ |
protocol.c | 223 static char usb_buf[USB_BUF_SIZE]; variable 236 memcpy(usb_buf + usb_buf_len, ptr, to_write); 243 r = _command_data(usb, usb_buf, USB_BUF_SIZE); 252 sprintf(ERROR, "internal error: usb_buf not empty\n"); 266 sprintf(ERROR, "internal error: too much left for usb_buf\n"); 269 memcpy(usb_buf, ptr, len); 281 r = _command_data(usb, usb_buf, usb_buf_len);
|