Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/image/
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()
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/
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()
/linux-6.6.21/drivers/usb/gadget/function/
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,
1076 intf_desc.bInterfaceNumber = id; in printer_func_bind()
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
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()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
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()
/linux-6.6.21/drivers/media/usb/gspca/
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()