Home
last modified time | relevance | path

Searched refs:ifBuffer (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_cdc.c655 usb_descriptor_union_t *ifBuffer = (usb_descriptor_union_t *)(ifPointer->interfaceExtension); in USB_HostCdcSetDataInterface() local
659 extIndex += ifBuffer->common.bLength, in USB_HostCdcSetDataInterface()
660 ifBuffer = (usb_descriptor_union_t *)((uint8_t *)ifBuffer + ifBuffer->common.bLength)) in USB_HostCdcSetDataInterface()
662 if (ifBuffer->common.bDescriptorType == USB_DESCRIPTOR_TYPE_INTERFACE && in USB_HostCdcSetDataInterface()
663 ifBuffer->interface.bAlternateSetting == alternateSetting) in USB_HostCdcSetDataInterface()
665 ifPointer->epCount = ifBuffer->interface.bNumEndpoints; in USB_HostCdcSetDataInterface()
671 extIndex += ifBuffer->common.bLength, in USB_HostCdcSetDataInterface()
672ifBuffer = (usb_descriptor_union_t *)((uint8_t *)ifBuffer + ifBuffer->common.bLength)) in USB_HostCdcSetDataInterface()
674 if (ifBuffer->common.bDescriptorType == USB_DESCRIPTOR_TYPE_ENDPOINT) in USB_HostCdcSetDataInterface()
676 ifPointer->epList[epIndex].epDesc = (usb_descriptor_endpoint_t *)ifBuffer; in USB_HostCdcSetDataInterface()
[all …]