Lines Matching refs:wTotalLength
20 …*usb_parse_next_descriptor(const usb_standard_desc_t *cur_desc, uint16_t wTotalLength, int *offset) in usb_parse_next_descriptor() argument
23 if (*offset >= wTotalLength) { in usb_parse_next_descriptor()
26 if (*offset + cur_desc->bLength >= wTotalLength) { in usb_parse_next_descriptor()
35 …next_descriptor_of_type(const usb_standard_desc_t *cur_desc, uint16_t wTotalLength, uint8_t bDescr… in usb_parse_next_descriptor_of_type() argument
40 …const usb_standard_desc_t *ret_desc = usb_parse_next_descriptor(cur_desc, wTotalLength, &offset_te… in usb_parse_next_descriptor_of_type()
45 ret_desc = usb_parse_next_descriptor(ret_desc, wTotalLength, &offset_temp); in usb_parse_next_descriptor_of_type()
65 …or_of_type((const usb_standard_desc_t *)first_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_number_of_alternate()
71 …tor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_number_of_alternate()
85 …riptor_of_type((const usb_standard_desc_t *)config_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_descriptor()
90 …tor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_descriptor()
108 …tor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_descriptor()
116 …escriptor_by_index(const usb_intf_desc_t *intf_desc, int index, uint16_t wTotalLength, int *offset) in usb_parse_endpoint_descriptor_by_index() argument
127 …parse_next_descriptor_of_type((const usb_standard_desc_t *)next_desc, wTotalLength, USB_B_DESCRIPT… in usb_parse_endpoint_descriptor_by_index()
157 … = usb_parse_endpoint_descriptor_by_index(intf_desc, index, config_desc->wTotalLength, &offset_ep); in usb_parse_endpoint_descriptor_by_address()
225 printf("wTotalLength %d\n", cfg_desc->wTotalLength); in usbh_print_cfg_desc()
263 uint16_t wTotalLength = cfg_desc->wTotalLength; in usb_print_config_descriptor() local
284 next_desc = usb_parse_next_descriptor(next_desc, wTotalLength, &offset); in usb_print_config_descriptor()