/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/ |
D | usb_device_printer.c | 195 printerHandle->interfaceHandle = interface; in USB_DevicePrinterEndpointsInit() 249 if (printerHandle->interfaceHandle == NULL) in USB_DevicePrinterEndpointsDeinit() 254 for (index = 0; index < printerHandle->interfaceHandle->endpointList.count; ++index) in USB_DevicePrinterEndpointsDeinit() 257 … printerHandle->interfaceHandle->endpointList.endpoint[index].endpointAddress); in USB_DevicePrinterEndpointsDeinit() 259 printerHandle->interfaceHandle = NULL; in USB_DevicePrinterEndpointsDeinit() 299 printerHandle->interfaceHandle = NULL; in USB_DevicePrinterInit() 345 printerHandle->interfaceHandle = NULL; in USB_DevicePrinterEvent() 413 if ((printerHandle->classConfig == NULL) || (printerHandle->interfaceHandle == NULL)) in USB_DevicePrinterEvent() 419 for (temp16 = 0; temp16 < printerHandle->interfaceHandle->endpointList.count; ++temp16) in USB_DevicePrinterEvent() 421 … if (temp8 == printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress) in USB_DevicePrinterEvent() [all …]
|
D | usb_device_hid.c | 229 hidHandle->interfaceHandle = interface; in USB_DeviceHidEndpointsInit() 279 if (NULL == hidHandle->interfaceHandle) in USB_DeviceHidEndpointsDeinit() 284 for (count = 0U; count < hidHandle->interfaceHandle->endpointList.count; count++) in USB_DeviceHidEndpointsDeinit() 287 … hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DeviceHidEndpointsDeinit() 289 hidHandle->interfaceHandle = NULL; in USB_DeviceHidEndpointsDeinit() 335 hidHandle->interfaceHandle = NULL; in USB_DeviceHidEvent() 392 if ((NULL == hidHandle->configStruct) || (NULL == hidHandle->interfaceHandle)) in USB_DeviceHidEvent() 398 for (count = 0U; count < hidHandle->interfaceHandle->endpointList.count; count++) in USB_DeviceHidEvent() 400 … if (*temp8 == hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceHidEvent() 403 … if (USB_IN == ((hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DeviceHidEvent() [all …]
|
D | usb_device_phdc.c | 260 phdcHandle->interfaceHandle = interface; in USB_DevicePhdcEndpointsInit() 317 if (NULL == phdcHandle->interfaceHandle) in USB_DevicePhdcEndpointsDeinit() 321 for (uint32_t count = 0; count < phdcHandle->interfaceHandle->endpointList.count; count++) in USB_DevicePhdcEndpointsDeinit() 324 … phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DevicePhdcEndpointsDeinit() 409 if ((NULL == phdcHandle->configStruct) || (NULL == phdcHandle->interfaceHandle)) in USB_DevicePhdcEvent() 414 … for (uint32_t count = 0; count < phdcHandle->interfaceHandle->endpointList.count; count++) in USB_DevicePhdcEvent() 416 … if (*temp8 == phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DevicePhdcEvent() 420 phdcHandle->interfaceHandle->endpointList.endpoint[count].transferType) in USB_DevicePhdcEvent() 424 … else if (USB_IN == ((phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DevicePhdcEvent() 439 if ((NULL == phdcHandle->configStruct) || (NULL == phdcHandle->interfaceHandle)) in USB_DevicePhdcEvent() [all …]
|
D | usb_device_ccid.c | 611 ccidHandle->interfaceHandle = interface; in USB_DeviceCcidEndpointsInit() 665 if (NULL == ccidHandle->interfaceHandle) in USB_DeviceCcidEndpointsDeinit() 670 for (uint32_t count = 0U; count < ccidHandle->interfaceHandle->endpointList.count; count++) in USB_DeviceCcidEndpointsDeinit() 673 … ccidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DeviceCcidEndpointsDeinit() 678 ccidHandle->interfaceHandle = NULL; in USB_DeviceCcidEndpointsDeinit() 850 if ((NULL == ccidHandle->configStruct) || (NULL == ccidHandle->interfaceHandle)) in USB_DeviceCcidEvent() 856 … for (uint32_t count = 0U; count < ccidHandle->interfaceHandle->endpointList.count; count++) in USB_DeviceCcidEvent() 858 … if (*temp8 == ccidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceCcidEvent() 866 if ((NULL == ccidHandle->configStruct) || (NULL == ccidHandle->interfaceHandle)) in USB_DeviceCcidEvent() 872 … for (uint32_t count = 0U; count < ccidHandle->interfaceHandle->endpointList.count; count++) in USB_DeviceCcidEvent() [all …]
|
D | usb_device_msc.c | 815 mscHandle->interfaceHandle = interface; in USB_DeviceMscEndpointsInit() 873 if (NULL == mscHandle->interfaceHandle) in USB_DeviceMscEndpointsDeinit() 878 for (count = 0; count < mscHandle->interfaceHandle->endpointList.count; count++) in USB_DeviceMscEndpointsDeinit() 881 … mscHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DeviceMscEndpointsDeinit() 883 mscHandle->interfaceHandle = NULL; in USB_DeviceMscEndpointsDeinit() 1157 if ((NULL == mscHandle->configurationStruct) || (NULL == mscHandle->interfaceHandle)) in USB_DeviceMscEvent() 1180 if ((NULL == mscHandle->configurationStruct) || (NULL == mscHandle->interfaceHandle) || in USB_DeviceMscEvent()
|
D | usb_device_phdc.h | 55 usb_device_interface_struct_t *interfaceHandle; /*!< Current interface handle */ member
|
D | usb_device_printer.h | 65 usb_device_interface_struct_t *interfaceHandle; /*!< Current interface handle */ member
|
D | usb_device_hid.h | 93 usb_device_interface_struct_t *interfaceHandle; /*!< Current interface handle */ member
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/ |
D | usb_host_printer.c | 275 interfacePointer = (usb_host_interface_t *)printerInstance->interfaceHandle; in USB_HostPrinterOpenInterface() 374 printerInstance->interfaceHandle = NULL; in USB_HostPrinterInit() 388 usb_host_interface_handle interfaceHandle, in USB_HostPrinterSetInterface() argument 403 status = USB_HostOpenDeviceInterface(printerInstance->deviceHandle, interfaceHandle); in USB_HostPrinterSetInterface() 408 printerInstance->interfaceHandle = interfaceHandle; in USB_HostPrinterSetInterface() 462 … ((usb_host_interface_t *)printerInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber); in USB_HostPrinterSetInterface() 548 … deviceHandle, printerInstance->interfaceHandle); /* notify host driver the interface is closed */ in USB_HostPrinterDeinit() 763 …(uint16_t)(((usb_host_interface_t *)printerInstance->interfaceHandle)->interfaceDesc->bInterfaceNu… in USB_HostPrinterGetPortStatus() 776 …(uint16_t)(((usb_host_interface_t *)printerInstance->interfaceHandle)->interfaceDesc->bInterfaceNu… in USB_HostPrinterSoftReset()
|
D | usb_host_hub.c | 195 hubInstance->interfaceHandle = NULL; in USB_HostHubInit() 210 usb_host_interface_handle interfaceHandle, in USB_HostHubSetInterface() argument 217 usb_host_interface_t *interface = (usb_host_interface_t *)interfaceHandle; in USB_HostHubSetInterface() 227 hubInstance->interfaceHandle = interfaceHandle; /* save the interface handle */ in USB_HostHubSetInterface() 230 status = USB_HostOpenDeviceInterface(hubInstance->deviceHandle, interfaceHandle); in USB_HostHubSetInterface() 347 (void)USB_HostCloseDeviceInterface(deviceHandle, hubInstance->interfaceHandle); in USB_HostHubDeinit()
|
D | usb_host_hid.c | 274 interfacePointer = (usb_host_interface_t *)hidInstance->interfaceHandle; in USB_HostHidOpenInterface() 371 hidInstance->interfaceHandle = NULL; in USB_HostHidInit() 384 usb_host_interface_handle interfaceHandle, in USB_HostHidSetInterface() argument 398 hidInstance->interfaceHandle = interfaceHandle; in USB_HostHidSetInterface() 400 … interfaceHandle); /* notify host driver the interface is open */ in USB_HostHidSetInterface() 458 … ((usb_host_interface_t *)hidInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber); in USB_HostHidSetInterface() 541 … deviceHandle, hidInstance->interfaceHandle); /* notify host driver the interface is closed */ in USB_HostHidDeinit() 711 ((usb_host_interface_t *)hidInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber); in USB_HostHidControl()
|
D | usb_host_cdc.c | 234 usb_host_interface_t *interfaceHandle; in USB_HostCdcOpenDataInterface() local 267 interfaceHandle = (usb_host_interface_t *)cdcInstance->dataInterfaceHandle; in USB_HostCdcOpenDataInterface() 269 for (ep_index = 0; ep_index < interfaceHandle->epCount; ++ep_index) in USB_HostCdcOpenDataInterface() 271 ep_desc = interfaceHandle->epList[ep_index].epDesc; in USB_HostCdcOpenDataInterface() 369 usb_host_interface_t *interfaceHandle; in USB_HostCdcOpenControlInterface() local 397 interfaceHandle = (usb_host_interface_t *)cdcInstance->controlInterfaceHandle; in USB_HostCdcOpenControlInterface() 399 for (ep_index = 0; ep_index < interfaceHandle->epCount; ++ep_index) in USB_HostCdcOpenControlInterface() 401 ep_desc = interfaceHandle->epList[ep_index].epDesc; in USB_HostCdcOpenControlInterface() 516 usb_host_interface_handle interfaceHandle, in USB_HostCdcSetControlInterface() argument 531 cdcInstance->controlInterfaceHandle = interfaceHandle; in USB_HostCdcSetControlInterface() [all …]
|
D | usb_host_msd.c | 818 interfacePointer = (usb_host_interface_t *)msdInstance->interfaceHandle; in USB_HostMsdOpenInterface() 913 msdInstance->interfaceHandle = NULL; in USB_HostMsdInit() 935 usb_host_interface_handle interfaceHandle, in USB_HostMsdSetInterface() argument 950 … interfaceHandle); /* notify host driver the interface is open */ in USB_HostMsdSetInterface() 955 msdInstance->interfaceHandle = interfaceHandle; in USB_HostMsdSetInterface() 1006 … ((usb_host_interface_t *)msdInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber); in USB_HostMsdSetInterface() 1084 … deviceHandle, msdInstance->interfaceHandle); /* notify host driver the interface is closed */ in USB_HostMsdDeinit() 1132 ((usb_host_interface_t *)msdInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber; in USB_HostMsdControl()
|
D | usb_host_phdc.c | 488 interface = (usb_host_interface_t *)phdcInstance->interfaceHandle; in USB_HostPhdcOpenInterface() 625 usb_host_interface_handle interfaceHandle, in USB_HostPhdcSetInterface() argument 639 phdcInstance->interfaceHandle = interfaceHandle; in USB_HostPhdcSetInterface() 641 status = USB_HostOpenDeviceInterface(phdcInstance->deviceHandle, interfaceHandle); in USB_HostPhdcSetInterface() 708 … ((usb_host_interface_t *)phdcInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber); in USB_HostPhdcSetInterface() 750 phdcInstance->interfaceHandle = NULL; in USB_HostPhdcInit() 857 (void)USB_HostCloseDeviceInterface(deviceHandle, phdcInstance->interfaceHandle); in USB_HostPhdcDeinit() 1145 ((usb_host_interface_t *)phdcInstance->interfaceHandle)->interfaceDesc->bInterfaceNumber); in USB_HostPhdcSendControlRequest()
|
D | usb_host_printer.h | 51 usb_host_interface_handle interfaceHandle; /*!< This instance's related interface handle*/ member 117 usb_host_interface_handle interfaceHandle,
|
D | usb_host_video.c | 426 usb_host_interface_handle interfaceHandle, in USB_HostVideoStreamSetInterface() argument 445 videoInstance->streamIntfHandle = interfaceHandle; in USB_HostVideoStreamSetInterface() 448 … interfaceHandle); /* save the application callback function */ in USB_HostVideoStreamSetInterface() 468 interface_ptr = (usb_host_interface_t *)interfaceHandle; in USB_HostVideoStreamSetInterface() 596 usb_host_interface_handle interfaceHandle, in USB_HostVideoControlSetInterface() argument 613 videoInstance->controlIntfHandle = interfaceHandle; in USB_HostVideoControlSetInterface() 614 interface_ptr = (usb_host_interface_t *)interfaceHandle; in USB_HostVideoControlSetInterface() 617 … interfaceHandle); /* notify host driver the interface is open */ in USB_HostVideoControlSetInterface()
|
D | usb_host_phdc.h | 107 usb_host_interface_handle interfaceHandle; /*!< The interface handle */ member 178 usb_host_interface_handle interfaceHandle,
|
D | usb_host_hid.h | 61 usb_host_interface_handle interfaceHandle; /*!< This instance's related interface handle*/ member 146 usb_host_interface_handle interfaceHandle,
|
D | usb_host_hub.h | 99 usb_host_interface_handle interfaceHandle; /*!< Interface handle*/ member 179 usb_host_interface_handle interfaceHandle,
|
D | usb_host_audio.c | 452 usb_host_interface_handle interfaceHandle, in USB_HostAudioStreamSetInterface() argument 470 audioPtr->streamIntfHandle = interfaceHandle; in USB_HostAudioStreamSetInterface() 472 status = USB_HostOpenDeviceInterface(audioPtr->deviceHandle, interfaceHandle); in USB_HostAudioStreamSetInterface() 502 interface_ptr = (usb_host_interface_t *)interfaceHandle; in USB_HostAudioStreamSetInterface() 666 usb_host_interface_handle interfaceHandle, in USB_HostAudioControlSetInterface() argument 685 audioPtr->controlIntfHandle = interfaceHandle; in USB_HostAudioControlSetInterface() 686 interface_ptr = (usb_host_interface_t *)interfaceHandle; in USB_HostAudioControlSetInterface() 688 status = USB_HostOpenDeviceInterface(audioPtr->deviceHandle, interfaceHandle); in USB_HostAudioControlSetInterface()
|
D | usb_host_cdc.h | 288 usb_host_interface_handle interfaceHandle, 312 usb_host_interface_handle interfaceHandle,
|
D | usb_host_msd.h | 134 usb_host_interface_handle interfaceHandle; /*!< This instance's related interface handle*/ member 233 usb_host_interface_handle interfaceHandle,
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/ |
D | usb_host.h | 368 extern usb_status_t USB_HostHelperParseAlternateSetting(usb_host_interface_handle interfaceHandle, 645 usb_host_interface_handle interfaceHandle); 660 usb_host_interface_handle interfaceHandle);
|
D | usb_host_devices.c | 1304 …_HostOpenDeviceInterface(usb_device_handle deviceHandle, usb_host_interface_handle interfaceHandle) in USB_HostOpenDeviceInterface() argument 1311 if ((deviceHandle == NULL) || (interfaceHandle == NULL)) in USB_HostOpenDeviceInterface() 1343 if (&deviceInstance->configuration.interfaceList[interfaceIndex] == interfaceHandle) in USB_HostOpenDeviceInterface() 1354 …HostCloseDeviceInterface(usb_device_handle deviceHandle, usb_host_interface_handle interfaceHandle) in USB_HostCloseDeviceInterface() argument 1391 if (interfaceHandle != NULL) in USB_HostCloseDeviceInterface() 1396 if (&deviceInstance->configuration.interfaceList[interfaceIndex] == interfaceHandle) in USB_HostCloseDeviceInterface()
|
D | usb_host_hci.c | 682 usb_status_t USB_HostHelperParseAlternateSetting(usb_host_interface_handle interfaceHandle, in USB_HostHelperParseAlternateSetting() argument 690 if (interfaceHandle == NULL) in USB_HostHelperParseAlternateSetting() 701 temp = (void *)((usb_host_interface_t *)interfaceHandle)->interfaceExtension; in USB_HostHelperParseAlternateSetting() 705 …((usb_host_interface_t *)interfaceHandle)->interfaceExtensionLength; /* interface extend descripto… in USB_HostHelperParseAlternateSetting()
|