Home
last modified time | relevance | path

Searched refs:interfaceHandle (Results 1 – 25 of 29) sorted by relevance

12

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_printer.c195 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 …]
Dusb_device_hid.c229 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 …]
Dusb_device_phdc.c260 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 …]
Dusb_device_ccid.c611 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 …]
Dusb_device_msc.c815 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()
Dusb_device_phdc.h55 usb_device_interface_struct_t *interfaceHandle; /*!< Current interface handle */ member
Dusb_device_printer.h65 usb_device_interface_struct_t *interfaceHandle; /*!< Current interface handle */ member
Dusb_device_hid.h93 usb_device_interface_struct_t *interfaceHandle; /*!< Current interface handle */ member
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_printer.c275 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()
Dusb_host_hub.c195 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()
Dusb_host_hid.c274 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()
400interfaceHandle); /* 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()
Dusb_host_cdc.c234 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 …]
Dusb_host_msd.c818 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
950interfaceHandle); /* 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()
Dusb_host_phdc.c488 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()
Dusb_host_printer.h51 usb_host_interface_handle interfaceHandle; /*!< This instance's related interface handle*/ member
117 usb_host_interface_handle interfaceHandle,
Dusb_host_video.c426 usb_host_interface_handle interfaceHandle, in USB_HostVideoStreamSetInterface() argument
445 videoInstance->streamIntfHandle = interfaceHandle; in USB_HostVideoStreamSetInterface()
448interfaceHandle); /* 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()
617interfaceHandle); /* notify host driver the interface is open */ in USB_HostVideoControlSetInterface()
Dusb_host_phdc.h107 usb_host_interface_handle interfaceHandle; /*!< The interface handle */ member
178 usb_host_interface_handle interfaceHandle,
Dusb_host_hid.h61 usb_host_interface_handle interfaceHandle; /*!< This instance's related interface handle*/ member
146 usb_host_interface_handle interfaceHandle,
Dusb_host_hub.h99 usb_host_interface_handle interfaceHandle; /*!< Interface handle*/ member
179 usb_host_interface_handle interfaceHandle,
Dusb_host_audio.c452 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()
Dusb_host_cdc.h288 usb_host_interface_handle interfaceHandle,
312 usb_host_interface_handle interfaceHandle,
Dusb_host_msd.h134 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/
Dusb_host.h368 extern usb_status_t USB_HostHelperParseAlternateSetting(usb_host_interface_handle interfaceHandle,
645 usb_host_interface_handle interfaceHandle);
660 usb_host_interface_handle interfaceHandle);
Dusb_host_devices.c1304 …_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()
Dusb_host_hci.c682 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()

12