Searched refs:unionDes (Results 1 – 2 of 2) sorted by relevance
785 usb_descriptor_union_t *unionDes; in USB_HostParseDeviceConfigurationDescriptor() local810 unionDes = (usb_descriptor_union_t *)temp; in USB_HostParseDeviceConfigurationDescriptor()813 …if (((((uint32_t)unionDes) + 1U) < endPos) && (unionDes->common.bLength == USB_DESCRIPTOR_LENGTH_C… in USB_HostParseDeviceConfigurationDescriptor()814 (unionDes->common.bDescriptorType == USB_DESCRIPTOR_TYPE_CONFIGURE)) in USB_HostParseDeviceConfigurationDescriptor()817 temp = (void *)unionDes; in USB_HostParseDeviceConfigurationDescriptor()822 unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLength); in USB_HostParseDeviceConfigurationDescriptor()823 while ((uint32_t)unionDes < endPos) in USB_HostParseDeviceConfigurationDescriptor()825 if (((((uint32_t)unionDes) + 1U) < endPos) && in USB_HostParseDeviceConfigurationDescriptor()826 (unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_INTERFACE)) in USB_HostParseDeviceConfigurationDescriptor()830 deviceInstance->configuration.configurationExtension = (uint8_t *)unionDes; in USB_HostParseDeviceConfigurationDescriptor()[all …]
687 usb_descriptor_union_t *unionDes; in USB_HostHelperParseAlternateSetting() local702 unionDes = (usb_descriptor_union_t *)temp; /* interface extend descriptor start */ in USB_HostHelperParseAlternateSetting()704 (uint32_t)unionDes + in USB_HostHelperParseAlternateSetting()708 while ((uint32_t)unionDes < endPosition) in USB_HostHelperParseAlternateSetting()710 if (unionDes->interface.bDescriptorType == USB_DESCRIPTOR_TYPE_INTERFACE) in USB_HostHelperParseAlternateSetting()712 if (unionDes->interface.bAlternateSetting == alternateSetting) in USB_HostHelperParseAlternateSetting()718 … unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLength); in USB_HostHelperParseAlternateSetting()723 unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLength); in USB_HostHelperParseAlternateSetting()726 if ((uint32_t)unionDes >= endPosition) in USB_HostHelperParseAlternateSetting()732 interface->interfaceDesc = &unionDes->interface; in USB_HostHelperParseAlternateSetting()[all …]