Home
last modified time | relevance | path

Searched refs:intf_desc (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/usb/image/
H A Dmdc800.c425 struct usb_host_interface *intf_desc; in mdc800_usb_probe() local
445 intf_desc = intf->cur_altsetting; in mdc800_usb_probe()
448 ( intf_desc->desc.bInterfaceClass != 0xff ) in mdc800_usb_probe()
449 || ( intf_desc->desc.bInterfaceSubClass != 0 ) in mdc800_usb_probe()
450 || ( intf_desc->desc.bInterfaceProtocol != 0 ) in mdc800_usb_probe()
451 || ( intf_desc->desc.bNumEndpoints != 4) in mdc800_usb_probe()
464 if (mdc800_endpoint_equals (&intf_desc->endpoint [j].desc,&mdc800_ed [i])) in mdc800_usb_probe()
466 mdc800->endpoint[i]=intf_desc->endpoint [j].desc.bEndpointAddress ; in mdc800_usb_probe()
469 irq_interval=intf_desc->endpoint [j].desc.bInterval; in mdc800_usb_probe()
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c232 struct usb_host_interface *intf_desc = usb_intf->cur_altsetting; in mt7601u_assign_pipes() local
238 for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) { in mt7601u_assign_pipes()
239 ep_desc = &intf_desc->endpoint[i].desc; in mt7601u_assign_pipes()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_printer.c115 static struct usb_interface_descriptor intf_desc = { variable
116 .bLength = sizeof(intf_desc),
140 (struct usb_descriptor_header *) &intf_desc,
166 (struct usb_descriptor_header *) &intf_desc,
201 (struct usb_descriptor_header *) &intf_desc,
1096 intf_desc.bInterfaceNumber = id; in printer_func_bind()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.c602 struct usb_host_interface *intf_desc = intf->cur_altsetting; in rt2x00usb_find_endpoints() local
614 for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) { in rt2x00usb_find_endpoints()
615 ep_desc = &intf_desc->endpoint[i].desc; in rt2x00usb_find_endpoints()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dusb.c296 struct usb_host_interface *intf_desc = intf->cur_altsetting; in mt76u_set_endpoints() local
300 for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) { in mt76u_set_endpoints()
301 ep_desc = &intf_desc->endpoint[i].desc; in mt76u_set_endpoints()
/openbmc/linux/drivers/media/usb/gspca/
H A Dgspca.c211 struct usb_host_interface *intf_desc; in gspca_input_create_urb() local
217 intf_desc = intf->cur_altsetting; in gspca_input_create_urb()
218 for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) { in gspca_input_create_urb()
219 ep = &intf_desc->endpoint[i].desc; in gspca_input_create_urb()