iface_desc 1255 drivers/greybus/es2.c struct usb_host_interface *iface_desc; iface_desc 1302 drivers/greybus/es2.c iface_desc = interface->cur_altsetting; iface_desc 1303 drivers/greybus/es2.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1304 drivers/greybus/es2.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 835 drivers/input/mouse/appletouch.c struct usb_host_interface *iface_desc; iface_desc 843 drivers/input/mouse/appletouch.c iface_desc = iface->cur_altsetting; iface_desc 844 drivers/input/mouse/appletouch.c for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { iface_desc 845 drivers/input/mouse/appletouch.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 650 drivers/input/touchscreen/sur40.c struct usb_host_interface *iface_desc; iface_desc 656 drivers/input/touchscreen/sur40.c iface_desc = interface->cur_altsetting; iface_desc 657 drivers/input/touchscreen/sur40.c if (iface_desc->desc.bInterfaceClass != 0xFF) iface_desc 660 drivers/input/touchscreen/sur40.c if (iface_desc->desc.bNumEndpoints < 5) iface_desc 664 drivers/input/touchscreen/sur40.c endpoint = &iface_desc->endpoint[4].desc; iface_desc 567 drivers/media/radio/si470x/radio-si470x-usb.c struct usb_host_interface *iface_desc; iface_desc 595 drivers/media/radio/si470x/radio-si470x-usb.c iface_desc = intf->cur_altsetting; iface_desc 598 drivers/media/radio/si470x/radio-si470x-usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 599 drivers/media/radio/si470x/radio-si470x-usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 2077 drivers/media/rc/imon.c struct usb_host_interface *iface_desc) iface_desc 2082 drivers/media/rc/imon.c int ifnum = iface_desc->desc.bInterfaceNumber; iface_desc 2083 drivers/media/rc/imon.c int num_endpts = iface_desc->desc.bNumEndpoints; iface_desc 2095 drivers/media/rc/imon.c ep = &iface_desc->endpoint[i].desc; iface_desc 2175 drivers/media/rc/imon.c struct usb_host_interface *iface_desc; iface_desc 2212 drivers/media/rc/imon.c iface_desc = intf->cur_altsetting; iface_desc 2213 drivers/media/rc/imon.c if (!imon_find_endpoints(ictx, iface_desc)) { iface_desc 2270 drivers/media/rc/imon.c struct usb_host_interface *iface_desc; iface_desc 2287 drivers/media/rc/imon.c iface_desc = intf->cur_altsetting; iface_desc 2288 drivers/media/rc/imon.c if (!imon_find_endpoints(ictx, iface_desc)) iface_desc 2361 drivers/media/rc/imon.c struct usb_host_interface *iface_desc = NULL; iface_desc 2371 drivers/media/rc/imon.c iface_desc = interface->cur_altsetting; iface_desc 2372 drivers/media/rc/imon.c ifnum = iface_desc->desc.bInterfaceNumber; iface_desc 1906 drivers/media/usb/au0828/au0828-video.c struct usb_host_interface *iface_desc; iface_desc 1926 drivers/media/usb/au0828/au0828-video.c iface_desc = interface->cur_altsetting; iface_desc 1927 drivers/media/usb/au0828/au0828-video.c for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { iface_desc 1928 drivers/media/usb/au0828/au0828-video.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 268 drivers/media/usb/hdpvr/hdpvr-core.c struct usb_host_interface *iface_desc; iface_desc 324 drivers/media/usb/hdpvr/hdpvr-core.c iface_desc = interface->cur_altsetting; iface_desc 325 drivers/media/usb/hdpvr/hdpvr-core.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 326 drivers/media/usb/hdpvr/hdpvr-core.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 2205 drivers/media/usb/s2255/s2255drv.c struct usb_host_interface *iface_desc; iface_desc 2243 drivers/media/usb/s2255/s2255drv.c iface_desc = interface->cur_altsetting; iface_desc 2245 drivers/media/usb/s2255/s2255drv.c iface_desc->desc.bNumEndpoints); iface_desc 2246 drivers/media/usb/s2255/s2255drv.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 2247 drivers/media/usb/s2255/s2255drv.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 1278 drivers/media/usb/stkwebcam/stk-webcam.c struct usb_host_interface *iface_desc; iface_desc 1334 drivers/media/usb/stkwebcam/stk-webcam.c iface_desc = interface->cur_altsetting; iface_desc 1336 drivers/media/usb/stkwebcam/stk-webcam.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1337 drivers/media/usb/stkwebcam/stk-webcam.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 1392 drivers/media/usb/zr364xx/zr364xx.c struct usb_host_interface *iface_desc; iface_desc 1483 drivers/media/usb/zr364xx/zr364xx.c iface_desc = intf->cur_altsetting; iface_desc 1484 drivers/media/usb/zr364xx/zr364xx.c DBG("num endpoints %d\n", iface_desc->desc.bNumEndpoints); iface_desc 1485 drivers/media/usb/zr364xx/zr364xx.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1486 drivers/media/usb/zr364xx/zr364xx.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 2091 drivers/mmc/host/vub300.c struct usb_host_interface *iface_desc; iface_desc 2224 drivers/mmc/host/vub300.c iface_desc = interface->cur_altsetting; iface_desc 2225 drivers/mmc/host/vub300.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 2227 drivers/mmc/host/vub300.c &iface_desc->endpoint[i].desc; iface_desc 1589 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c const struct usb_host_interface *iface_desc; iface_desc 1593 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c iface_desc = dev->intf->cur_altsetting; iface_desc 1595 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1596 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c ep = &iface_desc->endpoint[i].desc; iface_desc 1309 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c const struct usb_host_interface *iface_desc; iface_desc 1313 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c iface_desc = dev->intf->cur_altsetting; iface_desc 1315 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1316 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 1305 drivers/net/can/usb/ucan.c struct usb_host_interface *iface_desc; iface_desc 1325 drivers/net/can/usb/ucan.c iface_desc = intf->cur_altsetting; iface_desc 1326 drivers/net/can/usb/ucan.c if (!iface_desc) iface_desc 1332 drivers/net/can/usb/ucan.c iface_desc->desc.bInterfaceNumber); iface_desc 1335 drivers/net/can/usb/ucan.c if (iface_desc->desc.bNumEndpoints != 2) { iface_desc 1338 drivers/net/can/usb/ucan.c UCAN_DRIVER_NAME, iface_desc->desc.bNumEndpoints); iface_desc 1347 drivers/net/can/usb/ucan.c for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { iface_desc 1348 drivers/net/can/usb/ucan.c ep = &iface_desc->endpoint[i].desc; iface_desc 1418 drivers/net/can/usb/ucan.c iface_desc->desc.bInterfaceNumber, iface_desc 1457 drivers/net/can/usb/ucan.c iface_desc->desc.bInterfaceNumber, iface_desc 1501 drivers/net/can/usb/ucan.c up->intf_index = iface_desc->desc.bInterfaceNumber; iface_desc 831 drivers/net/wireless/ath/ath10k/usb.c struct usb_host_interface *iface_desc = interface->cur_altsetting; iface_desc 840 drivers/net/wireless/ath/ath10k/usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 841 drivers/net/wireless/ath/ath10k/usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 306 drivers/net/wireless/ath/ath6kl/usb.c struct usb_host_interface *iface_desc = interface->cur_altsetting; iface_desc 315 drivers/net/wireless/ath/ath6kl/usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 316 drivers/net/wireless/ath/ath6kl/usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 1250 drivers/net/wireless/ath/ath9k/hif_usb.c struct usb_host_interface *iface_desc = interface->cur_altsetting; iface_desc 1256 drivers/net/wireless/ath/ath9k/hif_usb.c if (iface_desc->desc.bNumEndpoints < 2) iface_desc 1261 drivers/net/wireless/ath/ath9k/hif_usb.c endpoint = &iface_desc->endpoint[r].desc; iface_desc 2234 drivers/net/wireless/atmel/at76c50x-usb.c struct usb_host_interface *iface_desc; iface_desc 2243 drivers/net/wireless/atmel/at76c50x-usb.c iface_desc = interface->cur_altsetting; iface_desc 2244 drivers/net/wireless/atmel/at76c50x-usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { iface_desc 2245 drivers/net/wireless/atmel/at76c50x-usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 1577 drivers/net/wireless/intersil/orinoco/orinoco_usb.c struct usb_interface_descriptor *iface_desc; iface_desc 1612 drivers/net/wireless/intersil/orinoco/orinoco_usb.c iface_desc = &interface->cur_altsetting->desc; iface_desc 1613 drivers/net/wireless/intersil/orinoco/orinoco_usb.c for (i = 0; i < iface_desc->bNumEndpoints; ++i) { iface_desc 197 drivers/net/wireless/marvell/libertas/if_usb.c struct usb_host_interface *iface_desc; iface_desc 215 drivers/net/wireless/marvell/libertas/if_usb.c iface_desc = intf->cur_altsetting; iface_desc 224 drivers/net/wireless/marvell/libertas/if_usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 225 drivers/net/wireless/marvell/libertas/if_usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 148 drivers/net/wireless/marvell/libertas_tf/if_usb.c struct usb_host_interface *iface_desc; iface_desc 165 drivers/net/wireless/marvell/libertas_tf/if_usb.c iface_desc = intf->cur_altsetting; iface_desc 174 drivers/net/wireless/marvell/libertas_tf/if_usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 175 drivers/net/wireless/marvell/libertas_tf/if_usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 400 drivers/net/wireless/marvell/mwifiex/usb.c struct usb_host_interface *iface_desc = intf->cur_altsetting; iface_desc 447 drivers/net/wireless/marvell/mwifiex/usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 448 drivers/net/wireless/marvell/mwifiex/usb.c epd = &iface_desc->endpoint[i].desc; iface_desc 116 drivers/net/wireless/rsi/rsi_91x_usb.c struct usb_host_interface *iface_desc; iface_desc 121 drivers/net/wireless/rsi/rsi_91x_usb.c iface_desc = interface->cur_altsetting; iface_desc 123 drivers/net/wireless/rsi/rsi_91x_usb.c for (ii = 0; ii < iface_desc->desc.bNumEndpoints; ++ii) { iface_desc 124 drivers/net/wireless/rsi/rsi_91x_usb.c endpoint = &(iface_desc->endpoint[ii].desc); iface_desc 1266 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_host_interface *iface_desc = intf->cur_altsetting; iface_desc 1272 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (iface_desc->desc.bNumEndpoints < 2) iface_desc 1277 drivers/net/wireless/zydas/zd1211rw/zd_usb.c endpoint = &iface_desc->endpoint[r].desc; iface_desc 447 drivers/nfc/pn533/usb.c struct usb_host_interface *iface_desc; iface_desc 472 drivers/nfc/pn533/usb.c iface_desc = interface->cur_altsetting; iface_desc 473 drivers/nfc/pn533/usb.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 474 drivers/nfc/pn533/usb.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 1491 drivers/nfc/port100.c struct usb_host_interface *iface_desc; iface_desc 1509 drivers/nfc/port100.c iface_desc = interface->cur_altsetting; iface_desc 1510 drivers/nfc/port100.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1511 drivers/nfc/port100.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 476 drivers/staging/comedi/drivers/ni_usb6501.c struct usb_host_interface *iface_desc = intf->cur_altsetting; iface_desc 480 drivers/staging/comedi/drivers/ni_usb6501.c if (iface_desc->desc.bNumEndpoints != 2) { iface_desc 485 drivers/staging/comedi/drivers/ni_usb6501.c for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { iface_desc 486 drivers/staging/comedi/drivers/ni_usb6501.c ep_desc = &iface_desc->endpoint[i].desc; iface_desc 642 drivers/staging/comedi/drivers/vmk80xx.c struct usb_host_interface *iface_desc = intf->cur_altsetting; iface_desc 646 drivers/staging/comedi/drivers/vmk80xx.c if (iface_desc->desc.bNumEndpoints != 2) iface_desc 649 drivers/staging/comedi/drivers/vmk80xx.c for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { iface_desc 650 drivers/staging/comedi/drivers/vmk80xx.c ep_desc = &iface_desc->endpoint[i].desc; iface_desc 2322 drivers/usb/class/usbtmc.c struct usb_host_interface *iface_desc; iface_desc 2351 drivers/usb/class/usbtmc.c iface_desc = data->intf->cur_altsetting; iface_desc 2352 drivers/usb/class/usbtmc.c data->ifnum = iface_desc->desc.bInterfaceNumber; iface_desc 2355 drivers/usb/class/usbtmc.c retcode = usb_find_common_endpoints(iface_desc, iface_desc 2373 drivers/usb/class/usbtmc.c retcode = usb_find_int_in_endpoint(iface_desc, &int_in); iface_desc 2640 drivers/usb/misc/ftdi-elan.c struct usb_host_interface *iface_desc; iface_desc 2660 drivers/usb/misc/ftdi-elan.c iface_desc = interface->cur_altsetting; iface_desc 2661 drivers/usb/misc/ftdi-elan.c retval = usb_find_common_endpoints(iface_desc, iface_desc 2679 drivers/usb/misc/ftdi-elan.c iface_desc->desc.bInterfaceNumber, ftdi->bulk_in_endpointAddr, iface_desc 2682 drivers/usb/misc/ftdi-elan.c if (iface_desc->desc.bInterfaceNumber == 0 && iface_desc 2694 drivers/usb/misc/ftdi-elan.c ftdi, iface_desc->desc.bInterfaceNumber, iface_desc 2698 drivers/usb/misc/ftdi-elan.c } else if (iface_desc->desc.bInterfaceNumber == 1 && iface_desc 2703 drivers/usb/misc/ftdi-elan.c ftdi, iface_desc->desc.bInterfaceNumber); iface_desc 335 drivers/usb/misc/idmouse.c struct usb_host_interface *iface_desc; iface_desc 340 drivers/usb/misc/idmouse.c iface_desc = interface->cur_altsetting; iface_desc 341 drivers/usb/misc/idmouse.c if (iface_desc->desc.bInterfaceClass != 0x0A) iface_desc 344 drivers/usb/misc/idmouse.c if (iface_desc->desc.bNumEndpoints < 1) iface_desc 357 drivers/usb/misc/idmouse.c result = usb_find_bulk_in_endpoint(iface_desc, &endpoint); iface_desc 756 drivers/usb/misc/iowarrior.c struct usb_host_interface *iface_desc; iface_desc 777 drivers/usb/misc/iowarrior.c iface_desc = interface->cur_altsetting; iface_desc 782 drivers/usb/misc/iowarrior.c res = usb_find_last_int_in_endpoint(iface_desc, &dev->int_in_endpoint); iface_desc 794 drivers/usb/misc/iowarrior.c res = usb_find_last_int_out_endpoint(iface_desc, iface_desc 865 drivers/usb/misc/iowarrior.c iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); iface_desc 654 drivers/usb/misc/ldusb.c struct usb_host_interface *iface_desc; iface_desc 683 drivers/usb/misc/ldusb.c iface_desc = intf->cur_altsetting; iface_desc 685 drivers/usb/misc/ldusb.c res = usb_find_last_int_in_endpoint(iface_desc, iface_desc 693 drivers/usb/misc/ldusb.c res = usb_find_last_int_out_endpoint(iface_desc, iface_desc 194 drivers/usb/misc/yurex.c struct usb_host_interface *iface_desc; iface_desc 213 drivers/usb/misc/yurex.c iface_desc = interface->cur_altsetting; iface_desc 214 drivers/usb/misc/yurex.c res = usb_find_int_in_endpoint(iface_desc, &endpoint); iface_desc 247 drivers/usb/misc/yurex.c dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); iface_desc 1709 drivers/usb/serial/keyspan.c struct usb_host_interface *iface_desc; iface_desc 1713 drivers/usb/serial/keyspan.c iface_desc = serial->interface->cur_altsetting; iface_desc 1714 drivers/usb/serial/keyspan.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1715 drivers/usb/serial/keyspan.c ep = &iface_desc->endpoint[i].desc; iface_desc 2078 drivers/usb/serial/option.c struct usb_interface_descriptor *iface_desc = iface_desc 2083 drivers/usb/serial/option.c if (iface_desc->bInterfaceClass == USB_CLASS_MASS_STORAGE) iface_desc 2091 drivers/usb/serial/option.c if (device_flags & RSVD(iface_desc->bInterfaceNumber)) iface_desc 2098 drivers/usb/serial/option.c if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2) iface_desc 2109 drivers/usb/serial/option.c struct usb_interface_descriptor *iface_desc; iface_desc 2120 drivers/usb/serial/option.c iface_desc = &serial->interface->cur_altsetting->desc; iface_desc 2122 drivers/usb/serial/option.c if (!(device_flags & NCTRL(iface_desc->bInterfaceNumber))) iface_desc 274 drivers/usb/serial/pl2303.c struct usb_host_interface *iface_desc; iface_desc 282 drivers/usb/serial/pl2303.c iface_desc = dev->actconfig->interface[0]->cur_altsetting; iface_desc 284 drivers/usb/serial/pl2303.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 285 drivers/usb/serial/pl2303.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 718 drivers/usb/serial/usb-serial.c struct usb_host_interface *iface_desc; iface_desc 727 drivers/usb/serial/usb-serial.c iface_desc = serial->interface->cur_altsetting; iface_desc 728 drivers/usb/serial/usb-serial.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 729 drivers/usb/serial/usb-serial.c epd = &iface_desc->endpoint[i].desc; iface_desc 977 drivers/w1/masters/ds2490.c struct usb_host_interface *iface_desc; iface_desc 1013 drivers/w1/masters/ds2490.c iface_desc = intf->cur_altsetting; iface_desc 1014 drivers/w1/masters/ds2490.c if (iface_desc->desc.bNumEndpoints != NUM_EP-1) { iface_desc 1016 drivers/w1/masters/ds2490.c iface_desc->desc.bNumEndpoints); iface_desc 1025 drivers/w1/masters/ds2490.c for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { iface_desc 1026 drivers/w1/masters/ds2490.c endpoint = &iface_desc->endpoint[i].desc; iface_desc 603 drivers/watchdog/pcwd_usb.c struct usb_host_interface *iface_desc; iface_desc 620 drivers/watchdog/pcwd_usb.c iface_desc = interface->cur_altsetting; iface_desc 623 drivers/watchdog/pcwd_usb.c if (!(iface_desc->desc.bInterfaceClass == USB_CLASS_HID)) { iface_desc 628 drivers/watchdog/pcwd_usb.c if (iface_desc->desc.bNumEndpoints < 1) iface_desc 632 drivers/watchdog/pcwd_usb.c endpoint = &iface_desc->endpoint[0].desc; iface_desc 653 drivers/watchdog/pcwd_usb.c usb_pcwd->interface_number = iface_desc->desc.bInterfaceNumber;