Lines Matching refs:config_desc

54 int usb_parse_interface_number_of_alternate(const usb_config_desc_t *config_desc, uint8_t bInterfac…  in usb_parse_interface_number_of_alternate()  argument
56 assert(config_desc != NULL); in usb_parse_interface_number_of_alternate()
59 …const usb_intf_desc_t *first_intf_desc = usb_parse_interface_descriptor(config_desc, bInterfaceNum… in usb_parse_interface_number_of_alternate()
65 …_next_descriptor_of_type((const usb_standard_desc_t *)first_intf_desc, config_desc->wTotalLength, … in usb_parse_interface_number_of_alternate()
71 …e_next_descriptor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, … in usb_parse_interface_number_of_alternate()
76 const usb_intf_desc_t *usb_parse_interface_descriptor(const usb_config_desc_t *config_desc, uint8_t… in usb_parse_interface_descriptor() argument
78 assert(config_desc != NULL); in usb_parse_interface_descriptor()
79 if (bInterfaceNumber >= config_desc->bNumInterfaces) { in usb_parse_interface_descriptor()
85 …)usb_parse_next_descriptor_of_type((const usb_standard_desc_t *)config_desc, config_desc->wTotalLe… in usb_parse_interface_descriptor()
90 …e_next_descriptor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, … in usb_parse_interface_descriptor()
108 …e_next_descriptor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, … in usb_parse_interface_descriptor()
140 const usb_ep_desc_t *usb_parse_endpoint_descriptor_by_address(const usb_config_desc_t *config_desc,… in usb_parse_endpoint_descriptor_by_address() argument
142 assert(config_desc != NULL); in usb_parse_endpoint_descriptor_by_address()
146 …const usb_intf_desc_t *intf_desc = usb_parse_interface_descriptor(config_desc, bInterfaceNumber, b… in usb_parse_endpoint_descriptor_by_address()
157 …ep_desc = usb_parse_endpoint_descriptor_by_index(intf_desc, index, config_desc->wTotalLength, &off… in usb_parse_endpoint_descriptor_by_address()