Home
last modified time | relevance | path

Searched refs:iface_desc (Results 1 – 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/misc/
Didmouse.c320 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()
Dyurex.c192 struct usb_host_interface *iface_desc; in yurex_probe() local
211 iface_desc = interface->cur_altsetting; in yurex_probe()
212 res = usb_find_int_in_endpoint(iface_desc, &endpoint); in yurex_probe()
245 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); in yurex_probe()
Diowarrior.c753 struct usb_host_interface *iface_desc; in iowarrior_probe() local
774 iface_desc = interface->cur_altsetting; in iowarrior_probe()
779 res = usb_find_last_int_in_endpoint(iface_desc, &dev->int_in_endpoint); in iowarrior_probe()
791 res = usb_find_last_int_out_endpoint(iface_desc, in iowarrior_probe()
876 iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); in iowarrior_probe()
Dldusb.c654 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()
Dftdi-elan.c2643 struct usb_host_interface *iface_desc; in ftdi_elan_probe() local
2663 iface_desc = interface->cur_altsetting; in ftdi_elan_probe()
2664 retval = usb_find_common_endpoints(iface_desc, in ftdi_elan_probe()
2682 iface_desc->desc.bInterfaceNumber, ftdi->bulk_in_endpointAddr, in ftdi_elan_probe()
2685 if (iface_desc->desc.bInterfaceNumber == 0 && in ftdi_elan_probe()
2697 ftdi, iface_desc->desc.bInterfaceNumber, in ftdi_elan_probe()
2701 } else if (iface_desc->desc.bInterfaceNumber == 1 && in ftdi_elan_probe()
2706 ftdi, iface_desc->desc.bInterfaceNumber); in ftdi_elan_probe()
/kernel/linux/linux-5.10/drivers/watchdog/
Dpcwd_usb.c603 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()
/kernel/linux/linux-5.10/drivers/net/can/usb/
Ducan.c1305 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 …]
/kernel/linux/linux-5.10/drivers/media/usb/hdpvr/
Dhdpvr-core.c268 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()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_usb6501.c480 struct usb_host_interface *iface_desc = intf->cur_altsetting; in ni6501_find_endpoints() local
484 if (iface_desc->desc.bNumEndpoints != 2) { in ni6501_find_endpoints()
489 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in ni6501_find_endpoints()
490 ep_desc = &iface_desc->endpoint[i].desc; in ni6501_find_endpoints()
Dvmk80xx.c644 struct usb_host_interface *iface_desc = intf->cur_altsetting; in vmk80xx_find_usb_endpoints() local
648 if (iface_desc->desc.bNumEndpoints != 2) in vmk80xx_find_usb_endpoints()
651 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in vmk80xx_find_usb_endpoints()
652 ep_desc = &iface_desc->endpoint[i].desc; in vmk80xx_find_usb_endpoints()
/kernel/linux/linux-5.10/drivers/w1/masters/
Dds2490.c977 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()
/kernel/linux/linux-5.10/drivers/media/rc/
Dimon.c2118 struct usb_host_interface *iface_desc) in imon_find_endpoints() argument
2123 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints()
2124 int num_endpts = iface_desc->desc.bNumEndpoints; in imon_find_endpoints()
2136 ep = &iface_desc->endpoint[i].desc; in imon_find_endpoints()
2216 struct usb_host_interface *iface_desc; in imon_init_intf0() local
2253 iface_desc = intf->cur_altsetting; in imon_init_intf0()
2254 if (!imon_find_endpoints(ictx, iface_desc)) { in imon_init_intf0()
2311 struct usb_host_interface *iface_desc; in imon_init_intf1() local
2328 iface_desc = intf->cur_altsetting; in imon_init_intf1()
2329 if (!imon_find_endpoints(ictx, iface_desc)) in imon_init_intf1()
[all …]
/kernel/linux/linux-5.10/drivers/nfc/pn533/
Dusb.c447 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()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dprism2usb.c65 struct usb_host_interface *iface_desc = interface->cur_altsetting; in prism2sta_probe_usb() local
70 result = usb_find_common_endpoints(iface_desc, &bulk_in, &bulk_out, NULL, NULL); in prism2sta_probe_usb()
/kernel/linux/linux-5.10/drivers/media/radio/si470x/
Dradio-si470x-usb.c567 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()
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_usb.c113 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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.c148 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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dsur40.c656 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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dif_usb.c197 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()
/kernel/linux/linux-5.10/drivers/input/mouse/
Dappletouch.c835 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()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dpl2303.c321 struct usb_host_interface *iface_desc; in pl2303_endpoint_hack() local
329 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack()
331 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pl2303_endpoint_hack()
332 endpoint = &iface_desc->endpoint[i].desc; in pl2303_endpoint_hack()
/kernel/linux/linux-5.10/drivers/media/usb/zr364xx/
Dzr364xx.c1407 struct usb_host_interface *iface_desc; in zr364xx_probe() local
1496 iface_desc = intf->cur_altsetting; in zr364xx_probe()
1497 DBG("num endpoints %d\n", iface_desc->desc.bNumEndpoints); in zr364xx_probe()
1498 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in zr364xx_probe()
1499 endpoint = &iface_desc->endpoint[i].desc; in zr364xx_probe()
/kernel/linux/linux-5.10/drivers/greybus/
Des2.c1255 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()
/kernel/linux/linux-5.10/drivers/nfc/
Dport100.c1491 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dusb.c819 struct usb_host_interface *iface_desc = interface->cur_altsetting; in ath10k_usb_setup_pipe_resources() local
828 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ath10k_usb_setup_pipe_resources()
829 endpoint = &iface_desc->endpoint[i].desc; in ath10k_usb_setup_pipe_resources()

12