Home
last modified time | relevance | path

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

12

/linux/drivers/usb/misc/
A 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()
A 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()
A 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()
A 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()
A Dftdi-elan.c2641 struct usb_host_interface *iface_desc; in ftdi_elan_probe() local
2661 iface_desc = interface->cur_altsetting; in ftdi_elan_probe()
2662 retval = usb_find_common_endpoints(iface_desc, in ftdi_elan_probe()
2680 iface_desc->desc.bInterfaceNumber, ftdi->bulk_in_endpointAddr, in ftdi_elan_probe()
2683 if (iface_desc->desc.bInterfaceNumber == 0 && in ftdi_elan_probe()
2695 ftdi, iface_desc->desc.bInterfaceNumber, in ftdi_elan_probe()
2699 } else if (iface_desc->desc.bInterfaceNumber == 1 && in ftdi_elan_probe()
2704 ftdi, iface_desc->desc.bInterfaceNumber); in ftdi_elan_probe()
/linux/drivers/watchdog/
A 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/drivers/net/can/usb/
A 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 …]
/linux/drivers/media/usb/hdpvr/
A 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/drivers/comedi/drivers/
A 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()
A 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()
/linux/drivers/media/rc/
A Dimon.c2115 struct usb_host_interface *iface_desc) in imon_find_endpoints() argument
2120 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints()
2133 ep = &iface_desc->endpoint[i].desc; in imon_find_endpoints()
2213 struct usb_host_interface *iface_desc; in imon_init_intf0() local
2250 iface_desc = intf->cur_altsetting; in imon_init_intf0()
2251 if (!imon_find_endpoints(ictx, iface_desc)) { in imon_init_intf0()
2308 struct usb_host_interface *iface_desc; in imon_init_intf1() local
2325 iface_desc = intf->cur_altsetting; in imon_init_intf1()
2326 if (!imon_find_endpoints(ictx, iface_desc)) in imon_init_intf1()
2401 struct usb_host_interface *iface_desc = NULL; in imon_probe() local
[all …]
/linux/drivers/w1/masters/
A Dds2490.c992 struct usb_host_interface *iface_desc; in ds_probe() local
1028 iface_desc = intf->cur_altsetting; in ds_probe()
1029 if (iface_desc->desc.bNumEndpoints != NUM_EP-1) { in ds_probe()
1031 iface_desc->desc.bNumEndpoints); in ds_probe()
1040 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ds_probe()
1041 endpoint = &iface_desc->endpoint[i].desc; in ds_probe()
/linux/drivers/nfc/pn533/
A Dusb.c443 struct usb_host_interface *iface_desc; in pn533_usb_probe() local
468 iface_desc = interface->cur_altsetting; in pn533_usb_probe()
469 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pn533_usb_probe()
470 endpoint = &iface_desc->endpoint[i].desc; in pn533_usb_probe()
/linux/drivers/staging/wlan-ng/
A 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/drivers/media/radio/si470x/
A 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/drivers/net/wireless/rsi/
A 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/drivers/input/touchscreen/
A 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/drivers/net/wireless/marvell/libertas_tf/
A 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/drivers/input/mouse/
A 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/drivers/net/wireless/marvell/libertas/
A 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/drivers/media/usb/zr364xx/
A 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/drivers/usb/serial/
A Dpl2303.c343 struct usb_host_interface *iface_desc; in pl2303_endpoint_hack() local
351 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack()
353 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in pl2303_endpoint_hack()
354 endpoint = &iface_desc->endpoint[i].desc; in pl2303_endpoint_hack()
/linux/drivers/greybus/
A 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/drivers/nfc/
A 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/drivers/net/wireless/ath/ath10k/
A 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()

Completed in 112 milliseconds

12