Lines Matching refs:if_desc
320 ep = &dev->config.if_desc[if_idx].ep_desc[ep_idx]; in usb_set_maxpacket_ep()
359 for (ii = 0; ii < dev->config.if_desc[i].desc.bNumEndpoints; ii++) in usb_set_maxpacket()
376 struct usb_interface *if_desc = NULL; in usb_parse_config() local
422 if_desc = &dev->config.if_desc[ifno]; in usb_parse_config()
424 memcpy(if_desc, head, in usb_parse_config()
426 if_desc->no_of_ep = 0; in usb_parse_config()
427 if_desc->num_altsetting = 1; in usb_parse_config()
429 if_desc->desc.bInterfaceNumber; in usb_parse_config()
433 if_desc = &dev->config.if_desc[ifno]; in usb_parse_config()
434 if_desc->num_altsetting++; in usb_parse_config()
454 epno = dev->config.if_desc[ifno].no_of_ep; in usb_parse_config()
455 if_desc = &dev->config.if_desc[ifno]; in usb_parse_config()
458 if_desc->desc.bInterfaceNumber); in usb_parse_config()
462 if_desc->no_of_ep++; in usb_parse_config()
463 memcpy(&if_desc->ep_desc[epno], head, in usb_parse_config()
466 if_desc[ifno].\ in usb_parse_config()
471 if_desc[ifno].\ in usb_parse_config()
491 if_desc = &dev->config.if_desc[ifno]; in usb_parse_config()
492 memcpy(&if_desc->ss_ep_comp_desc[epno], head, in usb_parse_config()
625 if (dev->config.if_desc[i].desc.bInterfaceNumber == interface) { in usb_set_interface()
626 if_face = &dev->config.if_desc[i]; in usb_set_interface()