Lines Matching refs:ioctl
155 if (ioctl(fd, USB_GET_DEVICEINFO, &di) < 0)
174 if (ioctl(fd, USB_GET_DEVICE_DESC, &dpriv->ddesc) < 0) {
297 if ((ioctl(fd, USB_GET_FULL_DESC, &ufd)) < 0) {
319 if (ioctl(dpriv->fd, USB_GET_CONFIG, config) < 0)
334 if (ioctl(dpriv->fd, USB_SET_CONFIG, &config) < 0)
379 if (ioctl(dpriv->fd, USB_SET_ALTINTERFACE, &intf) < 0)
399 if (ioctl(dpriv->fd, USB_DO_REQUEST, &req) < 0)
589 if ((ioctl(fd, USB_GET_CONFIG_DESC, &ucd)) < 0)
605 if ((ioctl(fd, USB_GET_FULL_DESC, &ufd)) < 0) {
646 if ((ioctl(dpriv->fd, USB_SET_TIMEOUT, &transfer->timeout)) < 0)
649 if ((ioctl(dpriv->fd, USB_DO_REQUEST, &req)) < 0)
708 if ((ioctl(fd, USB_SET_TIMEOUT, &transfer->timeout)) < 0)
713 if ((ioctl(fd, USB_SET_SHORT_XFER, &nr)) < 0)