Home | History | Annotate | Download | only in fastboot

Lines Matching refs:desc

73     int desc;
88 unsigned char *desc = _desc;
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];
283 n = read(fd, desc, sizeof(desc));
285 if(filter_usb_device(fd, desc, n, writable, callback,
291 usb->desc = fd;
328 n = ioctl(h->desc, USBDEVFS_BULK, &bulk);
346 n = ioctl(h->desc, USBDEVFS_BULK, &bulk);
382 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, h->desc, h->fname);
383 n = ioctl(h->desc, USBDEVFS_BULK, &bulk);
410 fd = h->desc;
411 h->desc = -1;
422 fd = h->desc;
423 h->desc = -1;