Home
last modified time | relevance | path

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

/bsp/nxp/imx/imx6ull-smart/drivers/usb/device/
A Dusb_device_dci.c275 if (NULL == deviceHandle) in USB_DeviceTransfer()
347 if (NULL == deviceHandle) in USB_DeviceControl()
877 *handle = deviceHandle; in USB_DeviceInit()
880 …error = deviceHandle->controllerInterface->deviceInit(controllerId, deviceHandle, &deviceHandle->c… in USB_DeviceInit()
940 if (NULL == deviceHandle) in USB_DeviceDeinit()
947 deviceHandle->controllerInterface->deviceDeinit(deviceHandle->controllerHandle); in USB_DeviceDeinit()
1044 if (NULL == deviceHandle) in USB_DeviceCancel()
1085 if (!deviceHandle) in USB_DeviceInitEndpoint()
1138 if (!deviceHandle) in USB_DeviceDeinitEndpoint()
1412 if (deviceHandle) in USB_DeviceTaskFunction()
[all …]
A Dusb_device.h517 extern void USB_DeviceTaskFunction(void *deviceHandle);
529 #define USB_DeviceKhciTaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
542 #define USB_DeviceEhciTaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
551 extern void USB_DeviceDcdHSIsrFunction(void *deviceHandle);
566 #define USB_DeviceLpcIp3511TaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
577 extern void USB_DeviceKhciIsrFunction(void *deviceHandle);
586 extern void USB_DeviceDcdIsrFunction(void *deviceHandle);
598 extern void USB_DeviceEhciIsrFunction(void *deviceHandle);
610 extern void USB_DeviceLpcIp3511IsrFunction(void *deviceHandle);
A Dusb_device_ehci.c1159 ehciState->deviceHandle = (usb_device_struct_t *)handle; in USB_DeviceEhciInit()
1176 dcdHSState->deviceHandle = (usb_device_struct_t *)handle; in USB_DeviceEhciInit()
1430 usb_device_struct_t *deviceHandle; in USB_DeviceEhciControl() local
1440 deviceHandle = (usb_device_struct_t *)ehciState->deviceHandle; in USB_DeviceEhciControl()
1541 startTick = deviceHandle->hwTick; in USB_DeviceEhciControl()
1542 while ((deviceHandle->hwTick - startTick) < 10) in USB_DeviceEhciControl()
1642 void USB_DeviceEhciIsrFunction(void *deviceHandle) in USB_DeviceEhciIsrFunction() argument
1644 usb_device_struct_t *handle = (usb_device_struct_t *)deviceHandle; in USB_DeviceEhciIsrFunction()
1648 if (NULL == deviceHandle) in USB_DeviceEhciIsrFunction()
1764 void USB_DeviceDcdHSIsrFunction(void *deviceHandle) in USB_DeviceDcdHSIsrFunction() argument
[all …]
A Dusb_device_ehci.h60 …usb_device_struct_t *deviceHandle; /*!< Device handle used to identify the device object is belong… member
87 …usb_device_struct_t *deviceHandle; /*!< Device handle used to identify the device object belongs t… member
/bsp/nxp/imx/imxrt/libraries/drivers/usb/device/
A Dusb_device_dci.c270 if (NULL == deviceHandle) in USB_DeviceTransfer()
342 if (NULL == deviceHandle) in USB_DeviceControl()
872 *handle = deviceHandle; in USB_DeviceInit()
875 …error = deviceHandle->controllerInterface->deviceInit(controllerId, deviceHandle, &deviceHandle->c… in USB_DeviceInit()
935 if (NULL == deviceHandle) in USB_DeviceDeinit()
942 deviceHandle->controllerInterface->deviceDeinit(deviceHandle->controllerHandle); in USB_DeviceDeinit()
1039 if (NULL == deviceHandle) in USB_DeviceCancel()
1080 if (!deviceHandle) in USB_DeviceInitEndpoint()
1133 if (!deviceHandle) in USB_DeviceDeinitEndpoint()
1407 if (deviceHandle) in USB_DeviceTaskFunction()
[all …]
A Dusb_device.h517 extern void USB_DeviceTaskFunction(void *deviceHandle);
529 #define USB_DeviceKhciTaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
542 #define USB_DeviceEhciTaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
551 extern void USB_DeviceDcdHSIsrFunction(void *deviceHandle);
566 #define USB_DeviceLpcIp3511TaskFunction(deviceHandle) USB_DeviceTaskFunction(deviceHandle) argument
577 extern void USB_DeviceKhciIsrFunction(void *deviceHandle);
586 extern void USB_DeviceDcdIsrFunction(void *deviceHandle);
598 extern void USB_DeviceEhciIsrFunction(void *deviceHandle);
610 extern void USB_DeviceLpcIp3511IsrFunction(void *deviceHandle);
A Dusb_device_ehci.c1122 ehciState->deviceHandle = (usb_device_struct_t *)handle; in USB_DeviceEhciInit()
1139 dcdHSState->deviceHandle = (usb_device_struct_t *)handle; in USB_DeviceEhciInit()
1393 usb_device_struct_t *deviceHandle; in USB_DeviceEhciControl() local
1403 deviceHandle = (usb_device_struct_t *)ehciState->deviceHandle; in USB_DeviceEhciControl()
1504 startTick = deviceHandle->hwTick; in USB_DeviceEhciControl()
1505 while ((deviceHandle->hwTick - startTick) < 10) in USB_DeviceEhciControl()
1605 void USB_DeviceEhciIsrFunction(void *deviceHandle) in USB_DeviceEhciIsrFunction() argument
1607 usb_device_struct_t *handle = (usb_device_struct_t *)deviceHandle; in USB_DeviceEhciIsrFunction()
1611 if (NULL == deviceHandle) in USB_DeviceEhciIsrFunction()
1725 void USB_DeviceDcdHSIsrFunction(void *deviceHandle) in USB_DeviceDcdHSIsrFunction() argument
[all …]
A Dusb_device_ehci.h60 …usb_device_struct_t *deviceHandle; /*!< Device handle used to identify the device object is belong… member
87 …usb_device_struct_t *deviceHandle; /*!< Device handle used to identify the device object belongs t… member
/bsp/nxp/imx/imx6ull-smart/drivers/usb/host/
A Dusb_host_hci.c177 USB_HostEhciTestModeInit(deviceHandle);
182 USB_HostIp3516HsTestModeInit(deviceHandle);
425 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostSend()
473 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostSendSetup()
511 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostRecv()
607 if ((deviceHandle == NULL) || (infoValue == NULL)) in USB_HostHelperGetPeripheralInformation()
847 if (NULL == deviceHandle) in USB_HostSuspendDeviceResquest()
900 if (hostInstance->suspendedDevice != deviceHandle) in USB_HostResumeDeviceResquest()
906 if (NULL == deviceHandle) in USB_HostResumeDeviceResquest()
969 if (hostInstance->deviceList == deviceHandle) in USB_HostL1SleepDeviceResquest()
[all …]
A Dusb_host.h122 typedef usb_status_t (*host_callback_t)(usb_device_handle deviceHandle,
185 usb_device_handle deviceHandle; /*!< This pipe's device's handle*/ member
308 extern usb_status_t USB_HostHelperGetPeripheralInformation(usb_device_handle deviceHandle,
344 extern usb_status_t USB_HostRemoveDevice(usb_host_handle hostHandle, usb_device_handle deviceHandle
580 extern usb_status_t USB_HostRequestControl(usb_device_handle deviceHandle,
596 extern usb_status_t USB_HostOpenDeviceInterface(usb_device_handle deviceHandle,
611 extern usb_status_t USB_HostCloseDeviceInterface(usb_device_handle deviceHandle,
639 …status_t USB_HostSuspendDeviceResquest(usb_host_handle hostHandle, usb_device_handle deviceHandle);
655 …_status_t USB_HostResumeDeviceResquest(usb_host_handle hostHandle, usb_device_handle deviceHandle);
673 usb_device_handle deviceHandle,
[all …]
A Dusb_host_devices.c619 if ((hostHandle == NULL) || (deviceHandle == NULL)) in USB_HostRemoveDeviceInstance()
626 if (prevInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
638 if (currentInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
730 if (deviceHandle == NULL) in USB_HostParseDeviceConfigurationDescriptor()
970 *deviceHandle = NULL; in USB_HostAttachDevice()
984 *deviceHandle = NULL; in USB_HostAttachDevice()
1081 *deviceHandle = newInstance; in USB_HostAttachDevice()
1095 *deviceHandle = newInstance; in USB_HostAttachDevice()
1168 return deviceHandle ? ((usb_host_device_instance_t *)deviceHandle)->deviceAttachState : 0x0; in USB_HostGetDeviceAttachState()
1175 if (deviceHandle == NULL) in USB_HostValidateDevice()
[all …]
A Dusb_host_devices.h135 usb_device_handle *deviceHandle);
156 …_status_t USB_HostDetachDeviceInternal(usb_host_handle hostHandle, usb_device_handle deviceHandle);
165 extern uint8_t USB_HostGetDeviceAttachState(usb_device_handle deviceHandle);
175 …rn usb_status_t USB_HostValidateDevice(usb_host_handle hostHandle, usb_device_handle deviceHandle);
A Dusb_host_ehci.c707 usb_device_handle deviceHandle) in USB_HostEhciTestSingleStepGetDeviceDesc() argument
710 usb_host_device_instance_t *deviceInstance = (usb_host_device_instance_t *)deviceHandle; in USB_HostEhciTestSingleStepGetDeviceDesc()
878 usb_device_handle deviceHandle) in USB_HostEhciTestSingleStepGetDeviceDescData() argument
937 void USB_HostEhciTestModeInit(usb_device_handle deviceHandle) in USB_HostEhciTestModeInit() argument
971 USB_HostEhciTestSingleStepGetDeviceDesc(ehciInstance, deviceHandle); in USB_HostEhciTestModeInit()
975 USB_HostEhciTestSingleStepGetDeviceDescData(ehciInstance, deviceHandle); in USB_HostEhciTestModeInit()
3600 (ehciClearPipePointer->pipeCommon.deviceHandle == in USB_HostEhciTransactionDone()
3601 ehciPipePointer->pipeCommon.deviceHandle)) in USB_HostEhciTransactionDone()
4261 ehciPipePointer->pipeCommon.deviceHandle = pipeInit->devInstance; in USB_HostEhciOpenPipe()
4541 usb_device_handle deviceHandle; in USB_HostEhciTaskFunction() local
[all …]
/bsp/nxp/imx/imxrt/libraries/drivers/usb/host/
A Dusb_host_hci.c403 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostSend()
452 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostSendSetup()
491 …HostValidateDevice(pipe_ptr->deviceHandle) != kStatus_USB_Success) || (!(USB_HostGetDeviceAttachSt… in USB_HostRecv()
591 if ((deviceHandle == NULL) || (infoValue == NULL)) in USB_HostHelperGetPeripheralInformation()
832 hostInstance->suspendedDevice = (void *)deviceHandle; in USB_HostSuspendDeviceResquest()
834 if (NULL == deviceHandle) in USB_HostSuspendDeviceResquest()
851 if (hostInstance->deviceList == deviceHandle) in USB_HostSuspendDeviceResquest()
889 if (hostInstance->suspendedDevice != deviceHandle) in USB_HostResumeDeviceResquest()
895 if (NULL == deviceHandle) in USB_HostResumeDeviceResquest()
961 if (hostInstance->deviceList == deviceHandle) in USB_HostL1SleepDeviceResquest()
[all …]
A 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 …]
A Dusb_host_devices.c679 if ((hostHandle == NULL) || (deviceHandle == NULL)) in USB_HostRemoveDeviceInstance()
686 if (prevInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
698 if (currentInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
791 if (deviceHandle == NULL) in USB_HostParseDeviceConfigurationDescriptor()
1051 *deviceHandle = NULL; in USB_HostAttachDevice()
1065 *deviceHandle = NULL; in USB_HostAttachDevice()
1167 *deviceHandle = newInstance; in USB_HostAttachDevice()
1188 *deviceHandle = newInstance; in USB_HostAttachDevice()
1263 …return (NULL != deviceHandle) ? ((usb_host_device_instance_t *)deviceHandle)->deviceAttachState : … in USB_HostGetDeviceAttachState()
1270 if (deviceHandle == NULL) in USB_HostValidateDevice()
[all …]
A 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);
A 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()
A Dusb_host_ehci.c684 usb_device_handle deviceHandle) in USB_HostEhciTestSingleStepGetDeviceDesc() argument
855 usb_device_handle deviceHandle) in USB_HostEhciTestSingleStepGetDeviceDescData() argument
914 static void USB_HostEhciTestModeInit(usb_device_handle deviceHandle) in USB_HostEhciTestModeInit() argument
948 USB_HostEhciTestSingleStepGetDeviceDesc(ehciInstance, deviceHandle); in USB_HostEhciTestModeInit()
952 USB_HostEhciTestSingleStepGetDeviceDescData(ehciInstance, deviceHandle); in USB_HostEhciTestModeInit()
1332 (void)USB_HostHelperGetPeripheralInformation(ehciPipePointer->pipeCommon.deviceHandle, in USB_HostBandwidthHsHostAllocateIso()
1563 (void)USB_HostHelperGetPeripheralInformation(ehciPipePointer->pipeCommon.deviceHandle, in USB_HostBandwidthHsHostAllocateInterrupt()
3709 ehciPipePointer->pipeCommon.deviceHandle)) in USB_HostEhciTransactionDone()
4484 ehciPipePointer->pipeCommon.deviceHandle = pipeInit->devInstance; in USB_HostEhciOpenPipe()
4783 usb_device_handle deviceHandle; in USB_HostEhciTaskFunction() local
[all …]
A Dusb_host_hci.h83 usb_status_t USB_HostTestModeInit(usb_device_handle deviceHandle);
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_usbd.c249 usb_device_struct_t *deviceHandle = (usb_device_struct_t *)handle; in usb_device_endpoint_callback() local
252 if(deviceHandle->controllerId == kUSB_ControllerEhci0) in usb_device_endpoint_callback()
299 usb_device_struct_t *deviceHandle = (usb_device_struct_t *)handle; in usb_device_callback() local
314 if(deviceHandle->controllerId == kUSB_ControllerEhci0) in usb_device_callback()
322 USB_DeviceInitEndpoint(deviceHandle, &ep0_init, &ep0_callback); in usb_device_callback()
325 USB_DeviceInitEndpoint(deviceHandle, &ep0_init, &ep0_callback); in usb_device_callback()
/bsp/nxp/imx/imx6ull-smart/drivers/
A Ddrv_usbd.c276 usb_device_struct_t *deviceHandle = (usb_device_struct_t *)handle; in usb_device_endpoint_callback() local
279 if(deviceHandle->controllerId == kUSB_ControllerEhci0) in usb_device_endpoint_callback()
326 usb_device_struct_t *deviceHandle = (usb_device_struct_t *)handle; in usb_device_callback() local
341 if(deviceHandle->controllerId == kUSB_ControllerEhci0) in usb_device_callback()
349 USB_DeviceInitEndpoint(deviceHandle, &ep0_init, &ep0_callback); in usb_device_callback()
352 USB_DeviceInitEndpoint(deviceHandle, &ep0_init, &ep0_callback); in usb_device_callback()

Completed in 54 milliseconds