Home
last modified time | relevance | path

Searched refs:deviceHandle (Results 1 – 25 of 44) sorted by relevance

12

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/
Dusb_device_dci.c256 usb_device_struct_t *deviceHandle = (usb_device_struct_t *)handle; in USB_DeviceTransfer() local
263 if (NULL == deviceHandle) in USB_DeviceTransfer()
268 if (NULL != deviceHandle->controllerInterface) in USB_DeviceTransfer()
275 if (0U != deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy) in USB_DeviceTransfer()
280 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 1U; in USB_DeviceTransfer()
286 …status = deviceHandle->controllerInterface->deviceSend(deviceHandle->controllerHandle, endpointAdd… in USB_DeviceTransfer()
293 …status = deviceHandle->controllerInterface->deviceRecv(deviceHandle->controllerHandle, endpointAdd… in USB_DeviceTransfer()
299 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 0U; in USB_DeviceTransfer()
327 usb_device_struct_t *deviceHandle = (usb_device_struct_t *)handle; in USB_DeviceControl() local
330 if (NULL == deviceHandle) in USB_DeviceControl()
[all …]
Dusb_device.h499 extern void USB_DeviceTaskFunction(void *deviceHandle);
513 #define USB_DeviceKhciTaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
528 #define USB_DeviceEhciTaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
539 extern void USB_DeviceEhciIsrHSDCDFunction(void *deviceHandle);
556 #define USB_DeviceLpcIp3511TaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
567 extern void USB_DeviceLpcIp3511IsrDCDFunction(void *deviceHandle);
580 extern void USB_DeviceKhciIsrFunction(void *deviceHandle);
591 extern void USB_DeviceDcdIsrFunction(void *deviceHandle);
605 extern void USB_DeviceEhciIsrFunction(void *deviceHandle);
617 extern void USB_DeviceLpcIp3511IsrFunction(void *deviceHandle);
[all …]
Dusb_device_khci.c872 if (kStatus_USB_Success != USB_DeviceNotificationTrigger(khciState->deviceHandle, &message)) in USB_DeviceKhciInterruptTokenDone()
879 (void)USB_DeviceNotificationTrigger(khciState->deviceHandle, &message); in USB_DeviceKhciInterruptTokenDone()
914 if (kStatus_USB_Success != USB_DeviceNotificationTrigger(khciState->deviceHandle, &message)) in USB_DeviceKhciInterruptReset()
921 (void)USB_DeviceNotificationTrigger(khciState->deviceHandle, &message); in USB_DeviceKhciInterruptReset()
960 if (kStatus_USB_Success != USB_DeviceNotificationTrigger(khciState->deviceHandle, &message)) in USB_DeviceKhciInterruptSleep()
967 (void)USB_DeviceNotificationTrigger(khciState->deviceHandle, &message); in USB_DeviceKhciInterruptSleep()
1002 if (kStatus_USB_Success != USB_DeviceNotificationTrigger(khciState->deviceHandle, &message)) in USB_DeviceKhciInterruptResume()
1009 (void)USB_DeviceNotificationTrigger(khciState->deviceHandle, &message); in USB_DeviceKhciInterruptResume()
1039 if (kStatus_USB_Success != USB_DeviceNotificationTrigger(khciState->deviceHandle, &message)) in USB_DeviceKhciInterruptVbusRising()
1046 (void)USB_DeviceNotificationTrigger(khciState->deviceHandle, &message); in USB_DeviceKhciInterruptVbusRising()
[all …]
Dusb_device_lpcip3511.c909 … if (kStatus_USB_Success != USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message)) in USB_DeviceLpc3511IpInterruptSuspend()
914 (void)USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message); in USB_DeviceLpc3511IpInterruptSuspend()
941 … if (kStatus_USB_Success != USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message)) in USB_DeviceLpc3511IpInterruptResume()
946 (void)USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message); in USB_DeviceLpc3511IpInterruptResume()
977 … if (kStatus_USB_Success != USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message)) in USB_DeviceLpc3511IpInterruptLPMSleep()
982 (void)USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message); in USB_DeviceLpc3511IpInterruptLPMSleep()
1422 … if (kStatus_USB_Success != USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message)) in USB_DeviceLpc3511IpInterruptToken()
1429 (void)USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message); in USB_DeviceLpc3511IpInterruptToken()
1478 … if (kStatus_USB_Success != USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message)) in USB_DeviceLpc3511IpInterruptReset()
1485 (void)USB_DeviceNotificationTrigger(lpc3511IpState->deviceHandle, &message); in USB_DeviceLpc3511IpInterruptReset()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c93 static usb_status_t USB_HostSendHubRequest(usb_device_handle deviceHandle,
224 …(void)USB_HostHelperGetPeripheralInformation(hubInstance->deviceHandle, (uint32_t)kUSB_HostGetHubT… in USB_HostHubProcess()
314 hubInstance->portList[tmp].deviceHandle = NULL; in USB_HostHubProcess()
388 if (portInstance->deviceHandle == NULL) in USB_HostHubProcessPort()
596 …(void)USB_HostHelperGetPeripheralInformation(hubInstance->deviceHandle, (uint32_t)kUSB_HostGetDevi… in USB_HostHubProcessPortAttach()
600 &portInstance->deviceHandle); in USB_HostHubProcessPortAttach()
728 … (void)USB_HostDetachDeviceInternal(hubInstance->hostHandle, portInstance->deviceHandle); in USB_HostHubProcessPortDetach()
729 portInstance->deviceHandle = NULL; in USB_HostHubProcessPortDetach()
898 …(void)USB_HostHelperGetPeripheralInformation(hubInstance->deviceHandle, (uint32_t)kUSB_HostGetDevi… in USB_HostHubGetHubDeviceHandle()
978 ((usb_host_device_instance_t *)hubInstance->deviceHandle)->level, in USB_HostHubRemoteWakeupCallback()
[all …]
Dusb_host_hub.c173 usb_status_t USB_HostHubInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostHubInit() argument
194 hubInstance->deviceHandle = deviceHandle; in USB_HostHubInit()
196 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostHubInit()
199 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostHubInit()
202 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceLevel, &inf… in USB_HostHubInit()
230 status = USB_HostOpenDeviceInterface(hubInstance->deviceHandle, interfaceHandle); in USB_HostHubSetInterface()
265 pipeInit.devInstance = hubInstance->deviceHandle; in USB_HostHubSetInterface()
308 usb_status_t USB_HostHubDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostHubDeinit() argument
312 if (deviceHandle == NULL) in USB_HostHubDeinit()
347 (void)USB_HostCloseDeviceInterface(deviceHandle, hubInstance->interfaceHandle); in USB_HostHubDeinit()
[all …]
Dusb_host_printer.c283 pipeInit.devInstance = printerInstance->deviceHandle; in USB_HostPrinterOpenInterface()
309 pipeInit.devInstance = printerInstance->deviceHandle; in USB_HostPrinterOpenInterface()
359 usb_status_t USB_HostPrinterInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostPrinterInit() argument
373 printerInstance->deviceHandle = deviceHandle; in USB_HostPrinterInit()
376 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostPrinterInit()
379 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostPrinterInit()
403 status = USB_HostOpenDeviceInterface(printerInstance->deviceHandle, interfaceHandle); in USB_HostPrinterSetInterface()
482 usb_status_t USB_HostPrinterDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandl… in USB_HostPrinterDeinit() argument
487 if (deviceHandle == NULL) in USB_HostPrinterDeinit()
548deviceHandle, printerInstance->interfaceHandle); /* notify host driver the interface is closed */ in USB_HostPrinterDeinit()
[all …]
Dusb_host_video.c141 pipe_init.devInstance = videoInstance->deviceHandle; in USB_HostVideoControlOpenInterface()
210 pipe_init.devInstance = videoInstance->deviceHandle; in USB_HostVideoStreamOpenInterface()
447 status = USB_HostOpenDeviceInterface(videoInstance->deviceHandle, in USB_HostVideoStreamSetInterface()
616 status = USB_HostOpenDeviceInterface(videoInstance->deviceHandle, in USB_HostVideoControlSetInterface()
790 usb_status_t USB_HostVideoInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostVideoInit() argument
802 videoInstance->deviceHandle = deviceHandle; in USB_HostVideoInit()
805 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostVideoInit()
808 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostVideoInit()
826 usb_status_t USB_HostVideoDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostVideoDeinit() argument
831 if (deviceHandle == NULL) in USB_HostVideoDeinit()
[all …]
Dusb_host_hid.c282 pipeInit.devInstance = hidInstance->deviceHandle; in USB_HostHidOpenInterface()
308 pipeInit.devInstance = hidInstance->deviceHandle; in USB_HostHidOpenInterface()
357 usb_status_t USB_HostHidInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostHidInit() argument
370 hidInstance->deviceHandle = deviceHandle; in USB_HostHidInit()
372 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostHidInit()
375 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostHidInit()
399 status = USB_HostOpenDeviceInterface(hidInstance->deviceHandle, in USB_HostHidSetInterface()
478 usb_status_t USB_HostHidDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostHidDeinit() argument
483 if (deviceHandle == NULL) in USB_HostHidDeinit()
541deviceHandle, hidInstance->interfaceHandle); /* notify host driver the interface is closed */ in USB_HostHidDeinit()
[all …]
Dusb_host_phdc.c497 pipeInit.devInstance = phdcInstance->deviceHandle; in USB_HostPhdcOpenInterface()
523 pipeInit.devInstance = phdcInstance->deviceHandle; in USB_HostPhdcOpenInterface()
549 pipeInit.devInstance = phdcInstance->deviceHandle; in USB_HostPhdcOpenInterface()
641 status = USB_HostOpenDeviceInterface(phdcInstance->deviceHandle, interfaceHandle); in USB_HostPhdcSetInterface()
738 usb_status_t USB_HostPhdcInit(usb_host_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostPhdcInit() argument
749 phdcInstance->deviceHandle = deviceHandle; in USB_HostPhdcInit()
751 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostPhdcInit()
754 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostPhdcInit()
772 usb_status_t USB_HostPhdcDeinit(usb_host_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostPhdcDeinit() argument
777 if (NULL == deviceHandle) in USB_HostPhdcDeinit()
[all …]
Dusb_host_cdc.c261 … status = USB_HostOpenDeviceInterface(cdcInstance->deviceHandle, cdcInstance->dataInterfaceHandle); in USB_HostCdcOpenDataInterface()
276 pipeInit.devInstance = cdcInstance->deviceHandle; in USB_HostCdcOpenDataInterface()
301 pipeInit.devInstance = cdcInstance->deviceHandle; in USB_HostCdcOpenDataInterface()
391 …status = USB_HostOpenDeviceInterface(cdcInstance->deviceHandle, cdcInstance->controlInterfaceHandl… in USB_HostCdcOpenControlInterface()
406 pipeInit.devInstance = cdcInstance->deviceHandle; in USB_HostCdcOpenControlInterface()
470 usb_status_t USB_HostCdcInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostCdcInit() argument
482 control_ptr->deviceHandle = deviceHandle; in USB_HostCdcInit()
485 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostCdcInit()
488 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostCdcInit()
737 usb_status_t USB_HostCdcDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostCdcDeinit() argument
[all …]
Dusb_host_msd.c826 pipeInit.devInstance = msdInstance->deviceHandle; in USB_HostMsdOpenInterface()
850 pipeInit.devInstance = msdInstance->deviceHandle; in USB_HostMsdOpenInterface()
898 usb_status_t USB_HostMsdInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandle) in USB_HostMsdInit() argument
922 msdInstance->deviceHandle = deviceHandle; in USB_HostMsdInit()
924 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostMsdInit()
927 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostMsdInit()
959 status = USB_HostOpenDeviceInterface(msdInstance->deviceHandle, in USB_HostMsdSetInterface()
1036 usb_status_t USB_HostMsdDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostMsdDeinit() argument
1094deviceHandle, msdInstance->interfaceHandle); /* notify host driver the interface is closed */ in USB_HostMsdDeinit()
1106 (void)USB_HostCloseDeviceInterface(deviceHandle, NULL); in USB_HostMsdDeinit()
Dusb_host_hub.h87 usb_device_handle deviceHandle; /*!< Device handle*/ member
98 usb_device_handle deviceHandle; /*!< Device handle*/ member
159 extern usb_status_t USB_HostHubInit(usb_device_handle deviceHandle, usb_host_class_handle *classHan…
194 extern usb_status_t USB_HostHubDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHa…
Dusb_host_audio.c62 usb_status_t USB_HostAudioInit(usb_device_handle deviceHandle, usb_host_class_handle *classHandlePt… in USB_HostAudioInit() argument
73 audioPtr->deviceHandle = deviceHandle; in USB_HostAudioInit()
76 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetHostHandle, &info… in USB_HostAudioInit()
79 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceControlPipe… in USB_HostAudioInit()
97 usb_status_t USB_HostAudioDeinit(usb_device_handle deviceHandle, usb_host_class_handle classHandle) in USB_HostAudioDeinit() argument
102 if (deviceHandle == NULL) in USB_HostAudioDeinit()
147 (void)USB_HostCloseDeviceInterface(deviceHandle, audioPtr->streamIntfHandle); in USB_HostAudioDeinit()
153 (void)USB_HostCloseDeviceInterface(deviceHandle, audioPtr->controlIntfHandle); in USB_HostAudioDeinit()
158 (void)USB_HostCloseDeviceInterface(deviceHandle, NULL); in USB_HostAudioDeinit()
299 pipe_init.devInstance = audioPtr->deviceHandle; in _USB_HostAudioInitEndpoint()
[all …]
Dusb_host_printer.h50 usb_device_handle deviceHandle; /*!< This instance's related device handle*/ member
95 extern usb_status_t USB_HostPrinterInit(usb_device_handle deviceHandle, usb_host_class_handle *clas…
132 extern usb_status_t USB_HostPrinterDeinit(usb_device_handle deviceHandle, usb_host_class_handle cla…
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_hci.c111 usb_status_t USB_HostTestModeInit(usb_device_handle deviceHandle)
115 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle;
122 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDevicePID, &produ…
123 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDeviceVID, &vendo…
143 (void *)deviceHandle);
149 (void *)deviceHandle);
394 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostSend()
437 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostSendSetup()
469 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostRecv()
556 usb_status_t USB_HostHelperGetPeripheralInformation(usb_device_handle deviceHandle, in USB_HostHelperGetPeripheralInformation() argument
[all …]
Dusb_host_devices.c103 static usb_status_t USB_HostParseDeviceConfigurationDescriptor(usb_device_handle deviceHandle);
113 …_status_t USB_HostRemoveDeviceInstance(usb_host_handle hostHandle, usb_device_handle deviceHandle);
515 …((usb_descriptor_configuration_t *)((usb_host_device_instance_t *)hubInstance4Device->deviceHandle) in USB_HostProcessCallback()
676 …b_status_t USB_HostRemoveDeviceInstance(usb_host_handle hostHandle, usb_device_handle deviceHandle) in USB_HostRemoveDeviceInstance() argument
681 if ((hostHandle == NULL) || (deviceHandle == NULL)) in USB_HostRemoveDeviceInstance()
688 if (prevInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
700 if (currentInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
783 static usb_status_t USB_HostParseDeviceConfigurationDescriptor(usb_device_handle deviceHandle) in USB_HostParseDeviceConfigurationDescriptor() argument
785 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostParseDeviceConfigurationDescriptor()
793 if (deviceHandle == NULL) in USB_HostParseDeviceConfigurationDescriptor()
[all …]
Dusb_host.h163 typedef usb_status_t (*host_callback_t)(usb_device_handle deviceHandle,
226 usb_device_handle deviceHandle; /*!< This pipe's device's handle*/ member
349 extern usb_status_t USB_HostHelperGetPeripheralInformation(usb_device_handle deviceHandle,
385 extern usb_status_t USB_HostRemoveDevice(usb_host_handle hostHandle, usb_device_handle deviceHandle
628 extern usb_status_t USB_HostRequestControl(usb_device_handle deviceHandle,
644 extern usb_status_t USB_HostOpenDeviceInterface(usb_device_handle deviceHandle,
659 extern usb_status_t USB_HostCloseDeviceInterface(usb_device_handle deviceHandle,
687 …status_t USB_HostSuspendDeviceResquest(usb_host_handle hostHandle, usb_device_handle deviceHandle);
703 …_status_t USB_HostResumeDeviceResquest(usb_host_handle hostHandle, usb_device_handle deviceHandle);
721 usb_device_handle deviceHandle,
[all …]
Dusb_host_devices.h112 usb_device_handle *deviceHandle);
133 …_status_t USB_HostDetachDeviceInternal(usb_host_handle hostHandle, usb_device_handle deviceHandle);
142 extern uint8_t USB_HostGetDeviceAttachState(usb_device_handle deviceHandle);
152 …rn usb_status_t USB_HostValidateDevice(usb_host_handle hostHandle, usb_device_handle deviceHandle);
Dusb_host_ip3516hs.c72 static void USB_HostIp3516HsTestModeInit(usb_device_handle deviceHandle);
139 usb_device_handle deviceHandle) in USB_HostIp3516HsTestSingleStepGetDeviceDesc() argument
142 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostIp3516HsTestSingleStepGetDeviceDesc()
181 usb_device_handle deviceHandle) in USB_HostIp3516HsTestSingleStepGetDeviceDescData() argument
186 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostIp3516HsTestSingleStepGetDeviceDescData()
219 static void USB_HostIp3516HsTestModeInit(usb_device_handle deviceHandle) in USB_HostIp3516HsTestModeInit() argument
222 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostIp3516HsTestModeInit()
226 …(void)USB_HostHelperGetPeripheralInformation(deviceHandle, (uint32_t)kUSB_HostGetDevicePID, &produ… in USB_HostIp3516HsTestModeInit()
253 USB_HostIp3516HsTestSingleStepGetDeviceDesc(usbHostState, deviceHandle); in USB_HostIp3516HsTestModeInit()
257 USB_HostIp3516HsTestSingleStepGetDeviceDescData(usbHostState, deviceHandle); in USB_HostIp3516HsTestModeInit()
[all …]
Dusb_host_framework.c188 usb_status_t USB_HostRequestControl(usb_device_handle deviceHandle, in USB_HostRequestControl() argument
193 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostRequestControl()
196 if (deviceHandle == NULL) in USB_HostRequestControl()
235 …USB_HostCh9RequestCommon((usb_host_device_instance_t *)deviceHandle, transfer, (uint8_t *)param, 1… in USB_HostRequestControl()
240 … status = USB_HostCh9RequestCommon((usb_host_device_instance_t *)deviceHandle, transfer, NULL, 0); in USB_HostRequestControl()
Dusb_host_ehci.c703 usb_device_handle deviceHandle) in USB_HostEhciTestSingleStepGetDeviceDesc() argument
706 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostEhciTestSingleStepGetDeviceDesc()
879 usb_device_handle deviceHandle) in USB_HostEhciTestSingleStepGetDeviceDescData() argument
882 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostEhciTestSingleStepGetDeviceDescData()
939 static void USB_HostEhciTestModeInit(usb_device_handle deviceHandle) in USB_HostEhciTestModeInit() argument
942 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostEhciTestModeInit()
946 USB_HostHelperGetPeripheralInformation(deviceHandle, kUSB_HostGetDevicePID, &productId); in USB_HostEhciTestModeInit()
973 USB_HostEhciTestSingleStepGetDeviceDesc(ehciInstance, deviceHandle); in USB_HostEhciTestModeInit()
977 USB_HostEhciTestSingleStepGetDeviceDescData(ehciInstance, deviceHandle); in USB_HostEhciTestModeInit()
1134 (void)USB_HostHelperGetPeripheralInformation(ehciPipePointer->pipeCommon.deviceHandle, in USB_HostBandwidthHsHostComputeCurrentFsls()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_printer.c43 if (s_PrinterHandle[index].deviceHandle == NULL)
56 printerHandle->deviceHandle = NULL; in USB_DevicePrinterFreeHandle()
226 status = USB_DeviceInitEndpoint(printerHandle->deviceHandle, &epInitStruct, &epCallback); in USB_DevicePrinterEndpointsInit()
256 status = USB_DeviceDeinitEndpoint(printerHandle->deviceHandle, in USB_DevicePrinterEndpointsDeinit()
269 usb_device_handle deviceHandle; in USB_DevicePrinterInit() local
275 status = USB_DeviceClassGetDeviceHandle(controllerId, &deviceHandle); in USB_DevicePrinterInit()
280 if (deviceHandle == NULL) in USB_DevicePrinterInit()
288 printerHandle->deviceHandle = deviceHandle; /* this printer instance is used */ in USB_DevicePrinterInit()
434 status = USB_DeviceStallEndpoint(printerHandle->deviceHandle, temp8); in USB_DevicePrinterEvent()
452 status = USB_DeviceUnstallEndpoint(printerHandle->deviceHandle, temp8); in USB_DevicePrinterEvent()
[all …]
Dusb_device_ccid.c32 static usb_status_t USB_DeviceCcidInterruptIn(usb_device_handle deviceHandle,
35 static usb_status_t USB_DeviceCcidBulkIn(usb_device_handle deviceHandle,
38 static usb_status_t USB_DeviceCcidBulkOut(usb_device_handle deviceHandle,
193 static usb_status_t USB_DeviceCcidInterruptIn(usb_device_handle deviceHandle, in USB_DeviceCcidInterruptIn() argument
203 …if (((NULL == deviceHandle) || (NULL == callbackParam) || (NULL == event)) || (NULL == event->buff… in USB_DeviceCcidInterruptIn()
307 static usb_status_t USB_DeviceCcidBulkIn(usb_device_handle deviceHandle, in USB_DeviceCcidBulkIn() argument
316 …if (((NULL == deviceHandle) || (NULL == callbackParam) || (NULL == event)) || (NULL == event->buff… in USB_DeviceCcidBulkIn()
381 static usb_status_t USB_DeviceCcidBulkOut(usb_device_handle deviceHandle, in USB_DeviceCcidBulkOut() argument
393 …if (((NULL == deviceHandle) || (NULL == callbackParam) || (NULL == event)) || (NULL == event->buff… in USB_DeviceCcidBulkOut()
/hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_usb.c118 usb_device_handle deviceHandle; /* USB device handle. */ member
139 void USB_DeviceTaskFn(void *deviceHandle);
197 usb_device_handle deviceHandle) in USB_DeviceGetInstanceFromDeviceHandle() argument
201 if (head->deviceHandle == deviceHandle) in USB_DeviceGetInstanceFromDeviceHandle()
668 USB_DeviceEhciIsrFunction(serialUsbCdc->deviceHandle); in USB_OTG2_IRQHandler()
687 USB_DeviceEhciIsrFunction(serialUsbCdc->deviceHandle); in USBHS_IRQHandler()
706 USB_DeviceEhciIsrFunction(serialUsbCdc->deviceHandle); in USB1_IRQHandler()
727 USB_DeviceKhciIsrFunction(serialUsbCdc->deviceHandle); in USB0_IRQHandler()
746 USB_DeviceLpcIp3511IsrFunction(serialUsbCdc->deviceHandle); in USB0_IRQHandler()
765 USB_DeviceLpcIp3511IsrFunction(serialUsbCdc->deviceHandle); in USB1_IRQHandler()
[all …]

12