Lines Matching refs:unionDes

687     usb_descriptor_union_t *unionDes;  in USB_HostHelperParseAlternateSetting()  local
702 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()
718unionDes = (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()
737 interface->interfaceIndex = unionDes->interface.bInterfaceNumber; in USB_HostHelperParseAlternateSetting()
740 unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLength); in USB_HostHelperParseAlternateSetting()
741 while ((uint32_t)unionDes < endPosition) in USB_HostHelperParseAlternateSetting()
743 if ((unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_INTERFACE) && in USB_HostHelperParseAlternateSetting()
744 (unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_ENDPOINT)) in USB_HostHelperParseAlternateSetting()
748 interface->interfaceExtension = (uint8_t *)unionDes; in USB_HostHelperParseAlternateSetting()
750 interface->interfaceExtensionLength += unionDes->common.bLength; in USB_HostHelperParseAlternateSetting()
751 unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLength); in USB_HostHelperParseAlternateSetting()
762 if ((unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_ENDPOINT) || in USB_HostHelperParseAlternateSetting()
772 if (((uint32_t)unionDes >= endPosition) || in USB_HostHelperParseAlternateSetting()
773 (unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_ENDPOINT)) in USB_HostHelperParseAlternateSetting()
781 temp = (void *)unionDes; in USB_HostHelperParseAlternateSetting()
785unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLen… in USB_HostHelperParseAlternateSetting()
786 while ((uint32_t)unionDes < endPosition) in USB_HostHelperParseAlternateSetting()
788 if ((unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_ENDPOINT) && in USB_HostHelperParseAlternateSetting()
789 (unionDes->common.bDescriptorType != USB_DESCRIPTOR_TYPE_INTERFACE)) in USB_HostHelperParseAlternateSetting()
793 epParse->epExtension = (uint8_t *)unionDes; in USB_HostHelperParseAlternateSetting()
795 epParse->epExtensionLength += unionDes->common.bLength; in USB_HostHelperParseAlternateSetting()
796unionDes = (usb_descriptor_union_t *)((uint32_t)unionDes + unionDes->common.bLength); in USB_HostHelperParseAlternateSetting()