Home
last modified time | relevance | path

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

12

/drivers/usb/serial/
Daircable.c99 struct usb_host_interface *iface_desc = serial->interface-> in aircable_probe() local
105 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in aircable_probe()
106 endpoint = &iface_desc->endpoint[i].desc; in aircable_probe()
Dusb-serial.c716 struct usb_host_interface *iface_desc; in usb_serial_probe() local
772 iface_desc = interface->cur_altsetting; in usb_serial_probe()
773 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in usb_serial_probe()
774 endpoint = &iface_desc->endpoint[i].desc; in usb_serial_probe()
828 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in usb_serial_probe()
829 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in usb_serial_probe()
830 endpoint = &iface_desc->endpoint[i].desc; in usb_serial_probe()
Dwhiteheat.c227 struct usb_host_interface *iface_desc; in whiteheat_probe() local
234 iface_desc = serial->interface->cur_altsetting; in whiteheat_probe()
236 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in whiteheat_probe()
237 endpoint = &iface_desc->endpoint[i].desc; in whiteheat_probe()
/drivers/usb/misc/
Didmouse.c340 struct usb_host_interface *iface_desc; in idmouse_probe() local
345 iface_desc = interface->cur_altsetting; in idmouse_probe()
346 if (iface_desc->desc.bInterfaceClass != 0x0A) in idmouse_probe()
349 if (iface_desc->desc.bNumEndpoints < 1) in idmouse_probe()
362 endpoint = &iface_desc->endpoint[0].desc; in idmouse_probe()
Dappledisplay.c226 struct usb_host_interface *iface_desc; in appledisplay_probe() local
234 iface_desc = iface->cur_altsetting; in appledisplay_probe()
235 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in appledisplay_probe()
236 endpoint = &iface_desc->endpoint[i].desc; in appledisplay_probe()
Dyurex.c198 struct usb_host_interface *iface_desc; in yurex_probe() local
219 iface_desc = interface->cur_altsetting; in yurex_probe()
220 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in yurex_probe()
221 endpoint = &iface_desc->endpoint[i].desc; in yurex_probe()
263 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); in yurex_probe()
Dusblcd.c338 struct usb_host_interface *iface_desc; in lcd_probe() local
366 iface_desc = interface->cur_altsetting; in lcd_probe()
367 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in lcd_probe()
368 endpoint = &iface_desc->endpoint[i].desc; in lcd_probe()
Diowarrior.c762 struct usb_host_interface *iface_desc; in iowarrior_probe() local
787 iface_desc = interface->cur_altsetting; in iowarrior_probe()
793 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in iowarrior_probe()
794 endpoint = &iface_desc->endpoint[i].desc; in iowarrior_probe()
882 iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); in iowarrior_probe()
Dldusb.c657 struct usb_host_interface *iface_desc; in ld_usb_probe() local
691 iface_desc = intf->cur_altsetting; in ld_usb_probe()
694 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ld_usb_probe()
695 endpoint = &iface_desc->endpoint[i].desc; in ld_usb_probe()
Dadutux.c664 struct usb_host_interface *iface_desc; in adu_probe() local
690 iface_desc = &interface->cur_altsetting[0]; in adu_probe()
693 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in adu_probe()
694 endpoint = &iface_desc->endpoint[i].desc; in adu_probe()
Dlegousbtower.c803 struct usb_host_interface *iface_desc; in tower_probe() local
846 iface_desc = interface->cur_altsetting; in tower_probe()
849 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in tower_probe()
850 endpoint = &iface_desc->endpoint[i].desc; in tower_probe()
/drivers/watchdog/
Dpcwd_usb.c608 struct usb_host_interface *iface_desc; in usb_pcwd_probe() local
625 iface_desc = interface->cur_altsetting; in usb_pcwd_probe()
628 if (!(iface_desc->desc.bInterfaceClass == USB_CLASS_HID)) { in usb_pcwd_probe()
633 if (iface_desc->desc.bNumEndpoints < 1) in usb_pcwd_probe()
637 endpoint = &iface_desc->endpoint[0].desc; in usb_pcwd_probe()
659 usb_pcwd->interface_number = iface_desc->desc.bInterfaceNumber; in usb_pcwd_probe()
/drivers/net/wireless/rsi/
Drsi_91x_usb.c101 struct usb_host_interface *iface_desc; in rsi_find_bulk_in_and_out_endpoints() local
106 iface_desc = interface->cur_altsetting; in rsi_find_bulk_in_and_out_endpoints()
108 for (ii = 0; ii < iface_desc->desc.bNumEndpoints; ++ii) { in rsi_find_bulk_in_and_out_endpoints()
109 endpoint = &(iface_desc->endpoint[ii].desc); in rsi_find_bulk_in_and_out_endpoints()
/drivers/media/usb/hdpvr/
Dhdpvr-core.c275 struct usb_host_interface *iface_desc; in hdpvr_probe() local
335 iface_desc = interface->cur_altsetting; in hdpvr_probe()
336 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in hdpvr_probe()
337 endpoint = &iface_desc->endpoint[i].desc; in hdpvr_probe()
/drivers/staging/comedi/drivers/
Dni_usb6501.c489 struct usb_host_interface *iface_desc = intf->cur_altsetting; in ni6501_find_endpoints() local
493 if (iface_desc->desc.bNumEndpoints != 2) { in ni6501_find_endpoints()
498 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in ni6501_find_endpoints()
499 ep_desc = &iface_desc->endpoint[i].desc; in ni6501_find_endpoints()
Dvmk80xx.c653 struct usb_host_interface *iface_desc = intf->cur_altsetting; in vmk80xx_find_usb_endpoints() local
657 if (iface_desc->desc.bNumEndpoints != 2) in vmk80xx_find_usb_endpoints()
660 for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) { in vmk80xx_find_usb_endpoints()
661 ep_desc = &iface_desc->endpoint[i].desc; in vmk80xx_find_usb_endpoints()
/drivers/media/rc/
Dimon.c2106 struct usb_host_interface *iface_desc) in imon_find_endpoints() argument
2111 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints()
2112 int num_endpts = iface_desc->desc.bNumEndpoints; in imon_find_endpoints()
2124 ep = &iface_desc->endpoint[i].desc; in imon_find_endpoints()
2204 struct usb_host_interface *iface_desc; in imon_init_intf0() local
2245 iface_desc = intf->cur_altsetting; in imon_init_intf0()
2246 if (!imon_find_endpoints(ictx, iface_desc)) { in imon_init_intf0()
2303 struct usb_host_interface *iface_desc; in imon_init_intf1() local
2324 iface_desc = intf->cur_altsetting; in imon_init_intf1()
2325 if (!imon_find_endpoints(ictx, iface_desc)) in imon_init_intf1()
[all …]
/drivers/usb/
Dusb-skeleton.c493 struct usb_host_interface *iface_desc; in skel_probe() local
517 iface_desc = interface->cur_altsetting; in skel_probe()
518 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in skel_probe()
519 endpoint = &iface_desc->endpoint[i].desc; in skel_probe()
/drivers/w1/masters/
Dds2490.c1014 struct usb_host_interface *iface_desc; in ds_probe() local
1050 iface_desc = intf->cur_altsetting; in ds_probe()
1051 if (iface_desc->desc.bNumEndpoints != NUM_EP-1) { in ds_probe()
1053 iface_desc->desc.bNumEndpoints); in ds_probe()
1062 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in ds_probe()
1063 endpoint = &iface_desc->endpoint[i].desc; in ds_probe()
/drivers/staging/media/lirc/
Dlirc_imon.c685 struct usb_host_interface *iface_desc = NULL; in imon_probe() local
721 iface_desc = interface->cur_altsetting; in imon_probe()
722 num_endpts = iface_desc->desc.bNumEndpoints; in imon_probe()
723 ifnum = iface_desc->desc.bInterfaceNumber; in imon_probe()
740 ep = &iface_desc->endpoint[i].desc; in imon_probe()
Dlirc_sasem.c665 struct usb_host_interface *iface_desc = NULL; in sasem_probe() local
685 iface_desc = interface->cur_altsetting; in sasem_probe()
686 num_endpoints = iface_desc->desc.bNumEndpoints; in sasem_probe()
701 ep = &iface_desc->endpoint [i].desc; in sasem_probe()
/drivers/media/radio/si470x/
Dradio-si470x-usb.c583 struct usb_host_interface *iface_desc; in si470x_usb_driver_probe() local
605 iface_desc = intf->cur_altsetting; in si470x_usb_driver_probe()
608 for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { in si470x_usb_driver_probe()
609 endpoint = &iface_desc->endpoint[i].desc; in si470x_usb_driver_probe()
/drivers/input/touchscreen/
Dsur40.c493 struct usb_host_interface *iface_desc; in sur40_probe() local
499 iface_desc = interface->cur_altsetting; in sur40_probe()
500 if (iface_desc->desc.bInterfaceClass != 0xFF) in sur40_probe()
503 if (iface_desc->desc.bNumEndpoints < 5) in sur40_probe()
507 endpoint = &iface_desc->endpoint[4].desc; in sur40_probe()
/drivers/usb/class/
Dusbtmc.c1101 struct usb_host_interface *iface_desc; in usbtmc_probe() local
1140 iface_desc = data->intf->cur_altsetting; in usbtmc_probe()
1143 for (n = 0; n < iface_desc->desc.bNumEndpoints; n++) { in usbtmc_probe()
1144 endpoint = &iface_desc->endpoint[n].desc; in usbtmc_probe()
1155 for (n = 0; n < iface_desc->desc.bNumEndpoints; n++) { in usbtmc_probe()
1156 endpoint = &iface_desc->endpoint[n].desc; in usbtmc_probe()
/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()

12