Lines Matching refs:desc
89 int desc; member
340 char desc[1024]; in find_usb_device() local
366 n = read(fd, desc, sizeof(desc)); in find_usb_device()
368 if (filter_usb_device(de->d_name, desc, n, writable, callback, &in, &out, &ifc) == 0) { in find_usb_device()
373 usb->desc = fd; in find_usb_device()
401 if (handle_->ep_out == 0 || handle_->desc == -1) { in Write()
414 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Write()
436 if (handle_->ep_in == 0 || handle_->desc == -1) { in Read()
450 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read()
451 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Read()
477 fd = handle_->desc; in Close()
478 handle_->desc = -1; in Close()
490 if ((ret = ioctl(handle_->desc, USBDEVFS_RESET, 0))) { in Reset()