Searched refs:interfaceList (Results 1 – 12 of 12) sorted by relevance
260 usb_device_interface_list_t *interfaceList; in USB_DeviceVideoStreamEndpointsInit() local276 if (NULL == videoHandle->configStruct->classInfomation->interfaceList) in USB_DeviceVideoStreamEndpointsInit()280 …interfaceList = &videoHandle->configStruct->classInfomation->interfaceList[videoHandle->configurat… in USB_DeviceVideoStreamEndpointsInit()283 for (uint32_t count = 0U; count < interfaceList->count; count++) in USB_DeviceVideoStreamEndpointsInit()285 if ((USB_DEVICE_VIDEO_CC_VIDEO == interfaceList->interfaces[count].classCode) && in USB_DeviceVideoStreamEndpointsInit()286 (USB_DEVICE_VIDEO_SC_VIDEOSTREAMING == interfaceList->interfaces[count].subclassCode)) in USB_DeviceVideoStreamEndpointsInit()288 for (uint32_t index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceVideoStreamEndpointsInit()290 …if (interfaceList->interfaces[count].interface[index].alternateSetting == videoHandle->streamAlter… in USB_DeviceVideoStreamEndpointsInit()292 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceVideoStreamEndpointsInit()296 videoHandle->streamInterfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DeviceVideoStreamEndpointsInit()[all …]
276 usb_device_interface_list_t *interfaceList; in USB_DeviceAudioStreamEndpointsInit() local294 if (NULL == audioHandle->configStruct->classInfomation->interfaceList) in USB_DeviceAudioStreamEndpointsInit()300 …interfaceList = &audioHandle->configStruct->classInfomation->interfaceList[audioHandle->configurat… in USB_DeviceAudioStreamEndpointsInit()303 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceAudioStreamEndpointsInit()305 if ((USB_DEVICE_CONFIG_AUDIO_CLASS_CODE == interfaceList->interfaces[count].classCode) && in USB_DeviceAudioStreamEndpointsInit()306 (USB_DEVICE_AUDIO_STREAM_SUBCLASS == interfaceList->interfaces[count].subclassCode)) in USB_DeviceAudioStreamEndpointsInit()308 for (index = 0; index < interfaceList->interfaces[count].count; index++) in USB_DeviceAudioStreamEndpointsInit()310 …if (interfaceList->interfaces[count].interface[index].alternateSetting == audioHandle->streamAlter… in USB_DeviceAudioStreamEndpointsInit()312 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceAudioStreamEndpointsInit()316 audioHandle->streamInterfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DeviceAudioStreamEndpointsInit()[all …]
196 usb_device_interface_list_t *interfaceList; in USB_DeviceCdcAcmEndpointsInit() local215 …interfaceList = &cdcAcmHandle->configStruct->classInfomation->interfaceList[cdcAcmHandle->configur… in USB_DeviceCdcAcmEndpointsInit()217 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceCdcAcmEndpointsInit()219 if (USB_DEVICE_CONFIG_CDC_COMM_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DeviceCdcAcmEndpointsInit()221 for (index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceCdcAcmEndpointsInit()223 … if (interfaceList->interfaces[count].interface[index].alternateSetting == cdcAcmHandle->alternate) in USB_DeviceCdcAcmEndpointsInit()225 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceCdcAcmEndpointsInit()229 cdcAcmHandle->interfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DeviceCdcAcmEndpointsInit()268 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceCdcAcmEndpointsInit()270 if (USB_DEVICE_CONFIG_CDC_DATA_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DeviceCdcAcmEndpointsInit()[all …]
181 usb_device_interface_list_t *interfaceList; in USB_DeviceHidEndpointsInit() local199 if (NULL == hidHandle->configStruct->classInfomation->interfaceList) in USB_DeviceHidEndpointsInit()203 …interfaceList = &hidHandle->configStruct->classInfomation->interfaceList[hidHandle->configuration … in USB_DeviceHidEndpointsInit()206 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceHidEndpointsInit()208 if (USB_DEVICE_CONFIG_HID_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DeviceHidEndpointsInit()210 for (index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceHidEndpointsInit()212 … if (interfaceList->interfaces[count].interface[index].alternateSetting == hidHandle->alternate) in USB_DeviceHidEndpointsInit()214 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceHidEndpointsInit()218 hidHandle->interfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DeviceHidEndpointsInit()
564 usb_device_interface_list_t *interfaceList; in USB_DeviceCcidEndpointsInit() local580 if (NULL == ccidHandle->configStruct->classInfomation->interfaceList) in USB_DeviceCcidEndpointsInit()584 …interfaceList = &ccidHandle->configStruct->classInfomation->interfaceList[ccidHandle->configuratio… in USB_DeviceCcidEndpointsInit()587 for (uint32_t count = 0U; count < interfaceList->count; count++) in USB_DeviceCcidEndpointsInit()589 if ((USB_DEVICE_CCID_CLASS_CODE == interfaceList->interfaces[count].classCode) && in USB_DeviceCcidEndpointsInit()590 (USB_DEVICE_CCID_SUBCLASS_CODE == interfaceList->interfaces[count].subclassCode) && in USB_DeviceCcidEndpointsInit()591 (USB_DEVICE_CCID_PROTOCOL_CODE == interfaceList->interfaces[count].protocolCode)) in USB_DeviceCcidEndpointsInit()593 for (uint32_t index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceCcidEndpointsInit()595 … if (interfaceList->interfaces[count].interface[index].alternateSetting == ccidHandle->alternate) in USB_DeviceCcidEndpointsInit()597 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceCcidEndpointsInit()[all …]
227 usb_device_interface_list_t *interfaceList; in USB_DevicePhdcEndpointsInit() local239 …interfaceList = &phdcHandle->configStruct->classInfomation->interfaceList[phdcHandle->configuratio… in USB_DevicePhdcEndpointsInit()240 for (uint32_t count = 0U; count < interfaceList->count; count++) in USB_DevicePhdcEndpointsInit()242 if (USB_DEVICE_CONFIG_PHDC_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DevicePhdcEndpointsInit()244 for (uint32_t index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DevicePhdcEndpointsInit()246 … if (interfaceList->interfaces[count].interface[index].alternateSetting == phdcHandle->alternate) in USB_DevicePhdcEndpointsInit()248 interface = &interfaceList->interfaces[count].interface[index]; in USB_DevicePhdcEndpointsInit()252 phdcHandle->interfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DevicePhdcEndpointsInit()
770 usb_device_interface_list_t *interfaceList; in USB_DeviceMscEndpointsInit() local785 if (NULL == mscHandle->configurationStruct->classInfomation->interfaceList) in USB_DeviceMscEndpointsInit()789 …interfaceList = &mscHandle->configurationStruct->classInfomation->interfaceList[mscHandle->configu… in USB_DeviceMscEndpointsInit()792 for (count = 0; count < interfaceList->count; count++) in USB_DeviceMscEndpointsInit()794 if (USB_DEVICE_CONFIG_MSC_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DeviceMscEndpointsInit()796 for (index = 0; index < interfaceList->interfaces[count].count; index++) in USB_DeviceMscEndpointsInit()798 … if (interfaceList->interfaces[count].interface[index].alternateSetting == mscHandle->alternate) in USB_DeviceMscEndpointsInit()800 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceMscEndpointsInit()804 mscHandle->interfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DeviceMscEndpointsInit()
125 usb_device_interface_list_t *interfaceList; /*!< Interfaces of the class*/ member
170 … &(printerHandle->classConfig->classInfomation->interfaceList[printerHandle->configuration - 1U]); in USB_DevicePrinterEndpointsInit()
596 …if (((usb_descriptor_interface_t *)deviceInstance->configuration.interfaceList[interfaceIndex].int… in USB_HostNotifyDevice()872 … &deviceInstance->configuration.interfaceList[deviceInstance->configuration.interfaceCount]; in USB_HostParseDeviceConfigurationDescriptor()1345 if (&deviceInstance->configuration.interfaceList[interfaceIndex] == interfaceHandle) in USB_HostOpenDeviceInterface()1398 if (&deviceInstance->configuration.interfaceList[interfaceIndex] == interfaceHandle) in USB_HostCloseDeviceInterface()
215 …usb_host_interface_t interfaceList[USB_HOST_CONFIG_CONFIGURATION_MAX_INTERFACE]; /*!< Interface ar… member
1187 interface = &configuration->interfaceList[interfaceIndex]; in USB_HostHubDeviceEvent()