Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c193 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()
Diowarrior.c750 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()
Dldusb.c653 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()
Dftdi-elan.c2637 struct usb_host_interface *iface_desc; in ftdi_elan_probe() local
2657 iface_desc = interface->cur_altsetting; in ftdi_elan_probe()
2658 retval = usb_find_common_endpoints(iface_desc, in ftdi_elan_probe()
2676 iface_desc->desc.bInterfaceNumber, ftdi->bulk_in_endpointAddr, in ftdi_elan_probe()
2679 if (iface_desc->desc.bInterfaceNumber == 0 && in ftdi_elan_probe()
2691 ftdi, iface_desc->desc.bInterfaceNumber, in ftdi_elan_probe()
2695 } else if (iface_desc->desc.bInterfaceNumber == 1 && in ftdi_elan_probe()
2700 ftdi, iface_desc->desc.bInterfaceNumber); in ftdi_elan_probe()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/can/usb/ !
Ducan.c1309 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.1.9/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()
/linux-6.1.9/drivers/comedi/drivers/ !
Dni_usb6501.c479 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()
Dvmk80xx.c643 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.1.9/drivers/media/rc/ !
Dimon.c2121 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.1.9/drivers/w1/masters/ !
Dds2490.c995 struct usb_host_interface *iface_desc; in ds_probe() local
1030 iface_desc = intf->cur_altsetting; in ds_probe()
1031 if (iface_desc->desc.bNumEndpoints != NUM_EP-1) { in ds_probe()
1033 iface_desc->desc.bNumEndpoints); in ds_probe()
1042 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ds_probe()
1043 endpoint = &iface_desc->endpoint[i].desc; in ds_probe()
/linux-6.1.9/drivers/nfc/pn533/ !
Dusb.c481 struct usb_host_interface *iface_desc; in pn533_usb_probe() local
506 iface_desc = interface->cur_altsetting; in pn533_usb_probe()
507 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pn533_usb_probe()
508 endpoint = &iface_desc->endpoint[i].desc; in pn533_usb_probe()
/linux-6.1.9/drivers/staging/wlan-ng/ !
Dprism2usb.c64 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.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/serial/ !
Dpl2303.c345 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()
/linux-6.1.9/drivers/staging/media/deprecated/zr364xx/ !
Dzr364xx.c1405 struct usb_host_interface *iface_desc; in zr364xx_probe() local
1494 iface_desc = intf->cur_altsetting; in zr364xx_probe()
1495 DBG("num endpoints %d\n", iface_desc->desc.bNumEndpoints); in zr364xx_probe()
1496 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in zr364xx_probe()
1497 endpoint = &iface_desc->endpoint[i].desc; in zr364xx_probe()
/linux-6.1.9/drivers/nfc/ !
Dport100.c1494 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.1.9/drivers/greybus/ !
Des2.c1250 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.1.9/drivers/net/wireless/ath/ath10k/ !
Dusb.c827 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()

12