Searched defs:desc (Results 1 - 6 of 6) sorted by relevance

/system/core/toolbox/
H A Dlsusb.c44 struct usb_device_descriptor *desc)
47 printf("\tbcdUSB: %04x\n", letoh16(desc->bcdUSB));
48 printf("\tbDeviceClass: %02x\n", desc->bDeviceClass);
49 printf("\tbDeviceSubClass: %02x\n", desc->bDeviceSubClass);
50 printf("\tbDeviceProtocol: %02x\n", desc->bDeviceProtocol);
51 printf("\tbMaxPacketSize0: %02x\n", desc->bMaxPacketSize0);
52 printf("\tidVendor: %04x\n", letoh16(desc->idVendor));
53 printf("\tidProduct: %04x\n", letoh16(desc->idProduct));
54 printf("\tbcdDevice: %04x\n", letoh16(desc->bcdDevice));
55 printf("\tiManufacturer: %s\n", get_str(dev, desc
43 lsusb_parse_device_descriptor(struct usb_device *dev, struct usb_device_descriptor *desc) argument
62 lsusb_parse_config_descriptor(struct usb_device *dev, struct usb_config_descriptor *desc) argument
75 lsusb_parse_interface_descriptor(struct usb_device *dev, struct usb_interface_descriptor *desc) argument
89 lsusb_parse_endpoint_descriptor(struct usb_device *dev, struct usb_endpoint_descriptor *desc) argument
102 lsusb_dump_descriptor(struct usb_device *dev, struct usb_descriptor_header *desc) argument
121 lsusb_parse_descriptor(struct usb_device *dev, struct usb_descriptor_header *desc) argument
159 struct usb_descriptor_header *desc; local
[all...]
/system/core/fastboot/
H A Dusb_linux.c73 int desc; member in struct:usb_handle
88 unsigned char *desc = _desc; local
91 if(desc[0] < size) return -1;
92 if(desc[0] > len) return -1;
93 if(desc[1] != type) return -1;
248 char desc[1024]; local
283 n = read(fd, desc, sizeof(desc));
285 if(filter_usb_device(fd, desc, n, writable, callback,
291 usb->desc
[all...]
/system/core/adb/
H A Dusb_libusb.c250 libusb_device_descriptor *desc,
290 desc->idVendor, desc->idProduct, idesc->bInterfaceClass,
294 if (!is_adb_interface(desc->idVendor, desc->idProduct,
308 libusb_device_descriptor *desc, struct usb_handle *uh)
313 if (check_usb_interface(&config->interface[i], desc, uh) != -1) {
316 "matches Android device\n", i, desc->idVendor,
317 desc->idProduct);
385 libusb_device_descriptor desc; local
249 check_usb_interface(libusb_interface *interface, libusb_device_descriptor *desc, struct usb_handle *uh) argument
307 check_usb_interfaces(libusb_config_descriptor *config, libusb_device_descriptor *desc, struct usb_handle *uh) argument
[all...]
H A Dusb_linux.c56 int desc; member in struct:usb_handle
333 res = ioctl(h->desc, USBDEVFS_SUBMITURB, urb);
384 res = ioctl(h->desc, USBDEVFS_SUBMITURB, urb);
396 res = ioctl(h->desc, USBDEVFS_REAPURB, &out);
483 D("[ usb read %d fd = %d], fname=%s\n", xfer, h->desc, h->fname);
487 if((errno == ETIMEDOUT) && (h->desc != -1)) {
510 D("[ kicking %p (fd = %d) ]\n", h, h->desc);
529 ioctl(h->desc, USBDEVFS_DISCARDURB, &h->urb_in);
530 ioctl(h->desc, USBDEVFS_DISCARDURB, &h->urb_out);
552 adb_close(h->desc);
[all...]
/system/core/libusbhost/
H A Dusbhost.c67 unsigned char desc[4096]; member in struct:usb_device
303 length = read(fd, device->desc, sizeof(device->desc));
374 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; local
375 return __le16_to_cpu(desc->idVendor);
380 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; local
381 return __le16_to_cpu(desc->idProduct);
386 return (struct usb_device_descriptor*)device->desc;
429 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; local
439 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; local
449 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; local
[all...]
/system/core/libpixelflinger/
H A Dscanline.cpp140 const char* desc; member in struct:android::shortcut_t

Completed in 77 milliseconds