/linux-6.6.21/drivers/usb/misc/ |
D | idmouse.c | 320 struct usb_host_interface *iface_desc; in idmouse_probe() local 325 iface_desc = interface->cur_altsetting; in idmouse_probe() 326 if (iface_desc->desc.bInterfaceClass != 0x0A) in idmouse_probe() 329 if (iface_desc->desc.bNumEndpoints < 1) in idmouse_probe() 342 result = usb_find_bulk_in_endpoint(iface_desc, &endpoint); in idmouse_probe()
|
D | yurex.c | 193 struct usb_host_interface *iface_desc; in yurex_probe() local 212 iface_desc = interface->cur_altsetting; in yurex_probe() 213 res = usb_find_int_in_endpoint(iface_desc, &endpoint); in yurex_probe() 246 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); in yurex_probe()
|
D | iowarrior.c | 750 struct usb_host_interface *iface_desc; in iowarrior_probe() local 771 iface_desc = interface->cur_altsetting; in iowarrior_probe() 776 res = usb_find_last_int_in_endpoint(iface_desc, &dev->int_in_endpoint); in iowarrior_probe() 788 res = usb_find_last_int_out_endpoint(iface_desc, in iowarrior_probe() 873 iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); in iowarrior_probe()
|
D | ldusb.c | 653 struct usb_host_interface *iface_desc; in ld_usb_probe() local 682 iface_desc = intf->cur_altsetting; in ld_usb_probe() 684 res = usb_find_last_int_in_endpoint(iface_desc, in ld_usb_probe() 692 res = usb_find_last_int_out_endpoint(iface_desc, in ld_usb_probe()
|
/linux-6.6.21/drivers/watchdog/ |
D | pcwd_usb.c | 605 struct usb_host_interface *iface_desc; in usb_pcwd_probe() local 622 iface_desc = interface->cur_altsetting; in usb_pcwd_probe() 625 if (!(iface_desc->desc.bInterfaceClass == USB_CLASS_HID)) { in usb_pcwd_probe() 630 if (iface_desc->desc.bNumEndpoints < 1) in usb_pcwd_probe() 634 endpoint = &iface_desc->endpoint[0].desc; in usb_pcwd_probe() 655 usb_pcwd->interface_number = iface_desc->desc.bInterfaceNumber; in usb_pcwd_probe()
|
/linux-6.6.21/drivers/net/can/usb/ |
D | ucan.c | 1309 struct usb_host_interface *iface_desc; in ucan_probe() local 1329 iface_desc = intf->cur_altsetting; in ucan_probe() 1330 if (!iface_desc) in ucan_probe() 1336 iface_desc->desc.bInterfaceNumber); in ucan_probe() 1339 if (iface_desc->desc.bNumEndpoints != 2) { in ucan_probe() 1342 UCAN_DRIVER_NAME, iface_desc->desc.bNumEndpoints); in ucan_probe() 1351 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in ucan_probe() 1352 ep = &iface_desc->endpoint[i].desc; in ucan_probe() 1422 iface_desc->desc.bInterfaceNumber, in ucan_probe() 1461 iface_desc->desc.bInterfaceNumber, in ucan_probe() [all …]
|
/linux-6.6.21/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-6.6.21/drivers/comedi/drivers/ |
D | ni_usb6501.c | 479 struct usb_host_interface *iface_desc = intf->cur_altsetting; in ni6501_find_endpoints() local 483 if (iface_desc->desc.bNumEndpoints != 2) { in ni6501_find_endpoints() 488 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in ni6501_find_endpoints() 489 ep_desc = &iface_desc->endpoint[i].desc; in ni6501_find_endpoints()
|
D | vmk80xx.c | 643 struct usb_host_interface *iface_desc = intf->cur_altsetting; in vmk80xx_find_usb_endpoints() local 647 if (iface_desc->desc.bNumEndpoints != 2) in vmk80xx_find_usb_endpoints() 650 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in vmk80xx_find_usb_endpoints() 651 ep_desc = &iface_desc->endpoint[i].desc; in vmk80xx_find_usb_endpoints()
|
/linux-6.6.21/drivers/media/rc/ |
D | imon.c | 2121 struct usb_host_interface *iface_desc) in imon_find_endpoints() argument 2126 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints() 2127 int num_endpts = iface_desc->desc.bNumEndpoints; in imon_find_endpoints() 2139 ep = &iface_desc->endpoint[i].desc; in imon_find_endpoints() 2219 struct usb_host_interface *iface_desc; in imon_init_intf0() local 2256 iface_desc = intf->cur_altsetting; in imon_init_intf0() 2257 if (!imon_find_endpoints(ictx, iface_desc)) { in imon_init_intf0() 2314 struct usb_host_interface *iface_desc; in imon_init_intf1() local 2331 iface_desc = intf->cur_altsetting; in imon_init_intf1() 2332 if (!imon_find_endpoints(ictx, iface_desc)) in imon_init_intf1() [all …]
|
/linux-6.6.21/drivers/w1/masters/ |
D | ds2490.c | 1000 struct usb_host_interface *iface_desc; in ds_probe() local 1035 iface_desc = intf->cur_altsetting; in ds_probe() 1036 if (iface_desc->desc.bNumEndpoints != NUM_EP-1) { in ds_probe() 1038 iface_desc->desc.bNumEndpoints); in ds_probe() 1047 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ds_probe() 1048 endpoint = &iface_desc->endpoint[i].desc; in ds_probe()
|
/linux-6.6.21/drivers/nfc/pn533/ |
D | usb.c | 482 struct usb_host_interface *iface_desc; in pn533_usb_probe() local 507 iface_desc = interface->cur_altsetting; in pn533_usb_probe() 508 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pn533_usb_probe() 509 endpoint = &iface_desc->endpoint[i].desc; in pn533_usb_probe()
|
/linux-6.6.21/drivers/staging/wlan-ng/ |
D | prism2usb.c | 64 struct usb_host_interface *iface_desc = interface->cur_altsetting; in prism2sta_probe_usb() local 69 result = usb_find_common_endpoints(iface_desc, &bulk_in, &bulk_out, NULL, NULL); in prism2sta_probe_usb()
|
/linux-6.6.21/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-6.6.21/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 113 struct usb_host_interface *iface_desc; in rsi_find_bulk_in_and_out_endpoints() local 118 iface_desc = interface->cur_altsetting; in rsi_find_bulk_in_and_out_endpoints() 120 for (ii = 0; ii < iface_desc->desc.bNumEndpoints; ++ii) { in rsi_find_bulk_in_and_out_endpoints() 121 endpoint = &(iface_desc->endpoint[ii].desc); in rsi_find_bulk_in_and_out_endpoints()
|
/linux-6.6.21/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-6.6.21/drivers/input/touchscreen/ |
D | sur40.c | 656 struct usb_host_interface *iface_desc; in sur40_probe() local 662 iface_desc = interface->cur_altsetting; in sur40_probe() 663 if (iface_desc->desc.bInterfaceClass != 0xFF) in sur40_probe() 666 if (iface_desc->desc.bNumEndpoints < 5) in sur40_probe() 670 endpoint = &iface_desc->endpoint[4].desc; in sur40_probe()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/usb/serial/ |
D | pl2303.c | 345 struct usb_host_interface *iface_desc; in pl2303_endpoint_hack() local 353 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack() 355 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pl2303_endpoint_hack() 356 endpoint = &iface_desc->endpoint[i].desc; in pl2303_endpoint_hack()
|
D | option.c | 2338 struct usb_interface_descriptor *iface_desc = in option_probe() local 2343 if (iface_desc->bInterfaceClass == USB_CLASS_MASS_STORAGE) in option_probe() 2351 if (iface_is_reserved(device_flags, iface_desc->bInterfaceNumber)) in option_probe() 2358 if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2) in option_probe() 2377 struct usb_interface_descriptor *iface_desc; in option_attach() local 2388 iface_desc = &serial->interface->cur_altsetting->desc; in option_attach() 2390 if (!iface_no_modem_control(device_flags, iface_desc->bInterfaceNumber)) in option_attach()
|
/linux-6.6.21/drivers/nfc/ |
D | port100.c | 1494 struct usb_host_interface *iface_desc; in port100_probe() local 1512 iface_desc = interface->cur_altsetting; in port100_probe() 1513 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in port100_probe() 1514 endpoint = &iface_desc->endpoint[i].desc; in port100_probe()
|
/linux-6.6.21/drivers/greybus/ |
D | es2.c | 1250 struct usb_host_interface *iface_desc; in ap_probe() local 1297 iface_desc = interface->cur_altsetting; in ap_probe() 1298 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ap_probe() 1299 endpoint = &iface_desc->endpoint[i].desc; in ap_probe()
|
/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | usb.c | 827 struct usb_host_interface *iface_desc = interface->cur_altsetting; in ath10k_usb_setup_pipe_resources() local 836 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ath10k_usb_setup_pipe_resources() 837 endpoint = &iface_desc->endpoint[i].desc; in ath10k_usb_setup_pipe_resources()
|
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/ |
D | usb.c | 307 struct usb_host_interface *iface_desc = interface->cur_altsetting; in ath6kl_usb_setup_pipe_resources() local 316 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ath6kl_usb_setup_pipe_resources() 317 endpoint = &iface_desc->endpoint[i].desc; in ath6kl_usb_setup_pipe_resources()
|