Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_video.c260 usb_device_interface_list_t *interfaceList; in USB_DeviceVideoStreamEndpointsInit() local
276 if (NULL == videoHandle->configStruct->classInfomation->interfaceList) in USB_DeviceVideoStreamEndpointsInit()
280interfaceList = &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 …]
Dusb_device_audio.c276 usb_device_interface_list_t *interfaceList; in USB_DeviceAudioStreamEndpointsInit() local
294 if (NULL == audioHandle->configStruct->classInfomation->interfaceList) in USB_DeviceAudioStreamEndpointsInit()
300interfaceList = &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 …]
Dusb_device_cdc_acm.c196 usb_device_interface_list_t *interfaceList; in USB_DeviceCdcAcmEndpointsInit() local
215interfaceList = &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 …]
Dusb_device_hid.c181 usb_device_interface_list_t *interfaceList; in USB_DeviceHidEndpointsInit() local
199 if (NULL == hidHandle->configStruct->classInfomation->interfaceList) in USB_DeviceHidEndpointsInit()
203interfaceList = &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()
Dusb_device_ccid.c564 usb_device_interface_list_t *interfaceList; in USB_DeviceCcidEndpointsInit() local
580 if (NULL == ccidHandle->configStruct->classInfomation->interfaceList) in USB_DeviceCcidEndpointsInit()
584interfaceList = &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 …]
Dusb_device_phdc.c227 usb_device_interface_list_t *interfaceList; in USB_DevicePhdcEndpointsInit() local
239interfaceList = &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()
Dusb_device_msc.c770 usb_device_interface_list_t *interfaceList; in USB_DeviceMscEndpointsInit() local
785 if (NULL == mscHandle->configurationStruct->classInfomation->interfaceList) in USB_DeviceMscEndpointsInit()
789interfaceList = &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()
Dusb_device_class.h125 usb_device_interface_list_t *interfaceList; /*!< Interfaces of the class*/ member
Dusb_device_printer.c170 … &(printerHandle->classConfig->classInfomation->interfaceList[printerHandle->configuration - 1U]); in USB_DevicePrinterEndpointsInit()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_devices.c596 …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()
Dusb_host.h215 …usb_host_interface_t interfaceList[USB_HOST_CONFIG_CONFIGURATION_MAX_INTERFACE]; /*!< Interface ar… member
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c1187 interface = &configuration->interfaceList[interfaceIndex]; in USB_HostHubDeviceEvent()