/Linux-v5.4/drivers/usb/misc/ |
D | idmouse.c | 335 struct usb_host_interface *iface_desc; in idmouse_probe() local 340 iface_desc = &interface->altsetting[0]; in idmouse_probe() 341 if (iface_desc->desc.bInterfaceClass != 0x0A) in idmouse_probe() 344 if (iface_desc->desc.bNumEndpoints < 1) in idmouse_probe() 357 result = usb_find_bulk_in_endpoint(iface_desc, &endpoint); in idmouse_probe()
|
D | yurex.c | 194 struct usb_host_interface *iface_desc; in yurex_probe() local 213 iface_desc = interface->cur_altsetting; in yurex_probe() 214 res = usb_find_int_in_endpoint(iface_desc, &endpoint); in yurex_probe() 247 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); in yurex_probe()
|
D | iowarrior.c | 737 struct usb_host_interface *iface_desc; in iowarrior_probe() local 758 iface_desc = interface->cur_altsetting; in iowarrior_probe() 763 res = usb_find_last_int_in_endpoint(iface_desc, &dev->int_in_endpoint); in iowarrior_probe() 771 res = usb_find_last_int_out_endpoint(iface_desc, in iowarrior_probe() 838 iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); in iowarrior_probe()
|
D | ldusb.c | 654 struct usb_host_interface *iface_desc; in ld_usb_probe() local 683 iface_desc = intf->cur_altsetting; in ld_usb_probe() 685 res = usb_find_last_int_in_endpoint(iface_desc, in ld_usb_probe() 693 res = usb_find_last_int_out_endpoint(iface_desc, in ld_usb_probe()
|
/Linux-v5.4/drivers/watchdog/ |
D | pcwd_usb.c | 603 struct usb_host_interface *iface_desc; in usb_pcwd_probe() local 620 iface_desc = interface->cur_altsetting; in usb_pcwd_probe() 623 if (!(iface_desc->desc.bInterfaceClass == USB_CLASS_HID)) { in usb_pcwd_probe() 628 if (iface_desc->desc.bNumEndpoints < 1) in usb_pcwd_probe() 632 endpoint = &iface_desc->endpoint[0].desc; in usb_pcwd_probe() 653 usb_pcwd->interface_number = iface_desc->desc.bInterfaceNumber; in usb_pcwd_probe()
|
/Linux-v5.4/drivers/net/can/usb/ |
D | ucan.c | 1305 struct usb_host_interface *iface_desc; in ucan_probe() local 1325 iface_desc = intf->cur_altsetting; in ucan_probe() 1326 if (!iface_desc) in ucan_probe() 1332 iface_desc->desc.bInterfaceNumber); in ucan_probe() 1335 if (iface_desc->desc.bNumEndpoints != 2) { in ucan_probe() 1338 UCAN_DRIVER_NAME, iface_desc->desc.bNumEndpoints); in ucan_probe() 1347 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in ucan_probe() 1348 ep = &iface_desc->endpoint[i].desc; in ucan_probe() 1418 iface_desc->desc.bInterfaceNumber, in ucan_probe() 1457 iface_desc->desc.bInterfaceNumber, in ucan_probe() [all …]
|
/Linux-v5.4/drivers/staging/comedi/drivers/ |
D | ni_usb6501.c | 476 struct usb_host_interface *iface_desc = intf->cur_altsetting; in ni6501_find_endpoints() local 480 if (iface_desc->desc.bNumEndpoints != 2) { in ni6501_find_endpoints() 485 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in ni6501_find_endpoints() 486 ep_desc = &iface_desc->endpoint[i].desc; in ni6501_find_endpoints()
|
D | vmk80xx.c | 642 struct usb_host_interface *iface_desc = intf->cur_altsetting; in vmk80xx_find_usb_endpoints() local 646 if (iface_desc->desc.bNumEndpoints != 2) in vmk80xx_find_usb_endpoints() 649 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in vmk80xx_find_usb_endpoints() 650 ep_desc = &iface_desc->endpoint[i].desc; in vmk80xx_find_usb_endpoints()
|
/Linux-v5.4/drivers/media/usb/hdpvr/ |
D | hdpvr-core.c | 268 struct usb_host_interface *iface_desc; in hdpvr_probe() local 324 iface_desc = interface->cur_altsetting; in hdpvr_probe() 325 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in hdpvr_probe() 326 endpoint = &iface_desc->endpoint[i].desc; in hdpvr_probe()
|
/Linux-v5.4/drivers/w1/masters/ |
D | ds2490.c | 977 struct usb_host_interface *iface_desc; in ds_probe() local 1013 iface_desc = intf->cur_altsetting; in ds_probe() 1014 if (iface_desc->desc.bNumEndpoints != NUM_EP-1) { in ds_probe() 1016 iface_desc->desc.bNumEndpoints); in ds_probe() 1025 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ds_probe() 1026 endpoint = &iface_desc->endpoint[i].desc; in ds_probe()
|
/Linux-v5.4/drivers/media/rc/ |
D | imon.c | 2078 struct usb_host_interface *iface_desc) in imon_find_endpoints() argument 2083 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints() 2084 int num_endpts = iface_desc->desc.bNumEndpoints; in imon_find_endpoints() 2096 ep = &iface_desc->endpoint[i].desc; in imon_find_endpoints() 2176 struct usb_host_interface *iface_desc; in imon_init_intf0() local 2213 iface_desc = intf->cur_altsetting; in imon_init_intf0() 2214 if (!imon_find_endpoints(ictx, iface_desc)) { in imon_init_intf0() 2271 struct usb_host_interface *iface_desc; in imon_init_intf1() local 2288 iface_desc = intf->cur_altsetting; in imon_init_intf1() 2289 if (!imon_find_endpoints(ictx, iface_desc)) in imon_init_intf1() [all …]
|
/Linux-v5.4/drivers/nfc/pn533/ |
D | usb.c | 447 struct usb_host_interface *iface_desc; in pn533_usb_probe() local 472 iface_desc = interface->cur_altsetting; in pn533_usb_probe() 473 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pn533_usb_probe() 474 endpoint = &iface_desc->endpoint[i].desc; in pn533_usb_probe()
|
/Linux-v5.4/drivers/media/radio/si470x/ |
D | radio-si470x-usb.c | 567 struct usb_host_interface *iface_desc; in si470x_usb_driver_probe() local 595 iface_desc = intf->cur_altsetting; in si470x_usb_driver_probe() 598 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in si470x_usb_driver_probe() 599 endpoint = &iface_desc->endpoint[i].desc; in si470x_usb_driver_probe()
|
/Linux-v5.4/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 115 struct usb_host_interface *iface_desc; in rsi_find_bulk_in_and_out_endpoints() local 120 iface_desc = &(interface->altsetting[0]); in rsi_find_bulk_in_and_out_endpoints() 122 for (ii = 0; ii < iface_desc->desc.bNumEndpoints; ++ii) { in rsi_find_bulk_in_and_out_endpoints() 123 endpoint = &(iface_desc->endpoint[ii].desc); in rsi_find_bulk_in_and_out_endpoints()
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
D | if_usb.c | 148 struct usb_host_interface *iface_desc; in if_usb_probe() local 165 iface_desc = intf->cur_altsetting; in if_usb_probe() 174 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in if_usb_probe() 175 endpoint = &iface_desc->endpoint[i].desc; in if_usb_probe()
|
/Linux-v5.4/drivers/input/touchscreen/ |
D | sur40.c | 650 struct usb_host_interface *iface_desc; in sur40_probe() local 656 iface_desc = &interface->altsetting[0]; in sur40_probe() 657 if (iface_desc->desc.bInterfaceClass != 0xFF) in sur40_probe() 660 if (iface_desc->desc.bNumEndpoints < 5) in sur40_probe() 664 endpoint = &iface_desc->endpoint[4].desc; in sur40_probe()
|
/Linux-v5.4/drivers/input/mouse/ |
D | appletouch.c | 835 struct usb_host_interface *iface_desc; in atp_probe() local 843 iface_desc = iface->cur_altsetting; in atp_probe() 844 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in atp_probe() 845 endpoint = &iface_desc->endpoint[i].desc; in atp_probe()
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | if_usb.c | 197 struct usb_host_interface *iface_desc; in if_usb_probe() local 215 iface_desc = intf->cur_altsetting; in if_usb_probe() 224 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in if_usb_probe() 225 endpoint = &iface_desc->endpoint[i].desc; in if_usb_probe()
|
/Linux-v5.4/drivers/usb/serial/ |
D | pl2303.c | 273 struct usb_host_interface *iface_desc; in pl2303_endpoint_hack() local 281 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack() 283 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pl2303_endpoint_hack() 284 endpoint = &iface_desc->endpoint[i].desc; in pl2303_endpoint_hack()
|
D | option.c | 2046 struct usb_interface_descriptor *iface_desc = in option_probe() local 2051 if (iface_desc->bInterfaceClass == USB_CLASS_MASS_STORAGE) in option_probe() 2059 if (device_flags & RSVD(iface_desc->bInterfaceNumber)) in option_probe() 2066 if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2) in option_probe() 2077 struct usb_interface_descriptor *iface_desc; in option_attach() local 2088 iface_desc = &serial->interface->cur_altsetting->desc; in option_attach() 2090 if (!(device_flags & NCTRL(iface_desc->bInterfaceNumber))) in option_attach()
|
/Linux-v5.4/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 1392 struct usb_host_interface *iface_desc; in zr364xx_probe() local 1483 iface_desc = intf->cur_altsetting; in zr364xx_probe() 1484 DBG("num endpoints %d\n", iface_desc->desc.bNumEndpoints); in zr364xx_probe() 1485 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in zr364xx_probe() 1486 endpoint = &iface_desc->endpoint[i].desc; in zr364xx_probe()
|
/Linux-v5.4/drivers/greybus/ |
D | es2.c | 1255 struct usb_host_interface *iface_desc; in ap_probe() local 1302 iface_desc = interface->cur_altsetting; in ap_probe() 1303 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ap_probe() 1304 endpoint = &iface_desc->endpoint[i].desc; in ap_probe()
|
/Linux-v5.4/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_leaf.c | 1309 const struct usb_host_interface *iface_desc; in kvaser_usb_leaf_setup_endpoints() local 1313 iface_desc = &dev->intf->altsetting[0]; in kvaser_usb_leaf_setup_endpoints() 1315 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in kvaser_usb_leaf_setup_endpoints() 1316 endpoint = &iface_desc->endpoint[i].desc; in kvaser_usb_leaf_setup_endpoints()
|
/Linux-v5.4/drivers/nfc/ |
D | port100.c | 1491 struct usb_host_interface *iface_desc; in port100_probe() local 1509 iface_desc = interface->cur_altsetting; in port100_probe() 1510 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in port100_probe() 1511 endpoint = &iface_desc->endpoint[i].desc; in port100_probe()
|
/Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
D | usb.c | 822 struct usb_host_interface *iface_desc = interface->cur_altsetting; in ath10k_usb_setup_pipe_resources() local 831 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ath10k_usb_setup_pipe_resources() 832 endpoint = &iface_desc->endpoint[i].desc; in ath10k_usb_setup_pipe_resources()
|