Home
last modified time | relevance | path

Searched refs:controllerHandle (Results 1 – 24 of 24) sorted by relevance

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/otg/
Dusb_otg_oci.c98 …(void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, kOtg_Cont… in _USB_OtgStartTimer()
107 …(void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, kOtg_Cont… in _USB_OtgCancelTimer()
119 …(void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, kOtg_Cont… in _USB_OtgEnterStateStart()
187 otgInstance->controllerHandle, kOtg_ControlRequestStatus, in _USB_OtgEnterStateAIdle()
330 (void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, in _USB_OtgEnterStateAWaitVrise()
334 otgInstance->controllerHandle, kOtg_ControlRequestStatus, in _USB_OtgEnterStateAWaitVrise()
415 (void)USB_OtgKhciControl(otgInstance->controllerHandle, (uint32_t)kOtg_ControlPullUp, 0, 0); in _USB_OtgEnterStateAWaitVfall()
424 (void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, in _USB_OtgEnterStateAWaitVfall()
427 …(void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, kOtg_Cont… in _USB_OtgEnterStateAWaitVfall()
485 (void)otgInstance->controllerInterface->controllerControl(otgInstance->controllerHandle, in _USB_OtgEnterStateAWaitBcon()
[all …]
Dusb_otg_khci.c34 static usb_status_t USB_OtgKhciControlPullUp(usb_otg_controller_handle controllerHandle,
111 static usb_status_t USB_OtgKhciControlPullUp(usb_otg_controller_handle controllerHandle, in USB_OtgKhciControlPullUp() argument
116 usb_otg_khci_instance_t *otgKhciInstance = (usb_otg_khci_instance_t *)controllerHandle; in USB_OtgKhciControlPullUp()
117 if (controllerHandle == NULL) in USB_OtgKhciControlPullUp()
332 usb_otg_controller_handle *controllerHandle) in USB_OtgKhciInit() argument
367 *controllerHandle = otgKhciInstance; in USB_OtgKhciInit()
375 usb_status_t USB_OtgKhciDeinit(usb_otg_controller_handle controllerHandle) in USB_OtgKhciDeinit() argument
377 usb_otg_khci_instance_t *otgKhciInstance = (usb_otg_khci_instance_t *)controllerHandle; in USB_OtgKhciDeinit()
379 if (controllerHandle == NULL) in USB_OtgKhciDeinit()
398 usb_status_t USB_OtgKhciControl(usb_otg_controller_handle controllerHandle, in USB_OtgKhciControl() argument
[all …]
Dusb_otg_oci.h88 … usb_otg_controller_handle *controllerHandle); /*!< Init a controller instance function prototype*/
90 …usb_otg_controller_handle controllerHandle); /*!< Deinit a controller instance function prototype*/
91 usb_status_t (*controllerControl)(usb_otg_controller_handle controllerHandle,
114 usb_otg_controller_handle controllerHandle; /*!< The low level controller handle */ member
Dusb_otg_khci.h104 usb_otg_controller_handle *controllerHandle);
116 usb_status_t USB_OtgKhciDeinit(usb_otg_controller_handle controllerHandle);
131 usb_status_t USB_OtgKhciControl(usb_otg_controller_handle controllerHandle,
Dusb_otg_peripheral.h67 usb_status_t USB_OtgPeripheralControl(usb_otg_controller_handle controllerHandle,
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_hci.c142 …(void)hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostTest…
148 …(void)hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostTest…
287 …->controllerTable->controllerCreate(controllerId, hostInstance, &(hostInstance->controllerHandle)); in USB_HostInit()
288 if ((status != kStatus_USB_Success) || (hostInstance->controllerHandle == NULL)) in USB_HostInit()
322 … = hostInstance->controllerTable->controllerDestory(hostInstance->controllerHandle); in USB_HostDeinit()
323 hostInstance->controllerHandle = NULL; in USB_HostDeinit()
355 …status = hostInstance->controllerTable->controllerOpenPipe(hostInstance->controllerHandle, pipeHan… in USB_HostOpenPipe()
371 …status = hostInstance->controllerTable->controllerClosePipe(hostInstance->controllerHandle, pipeHa… in USB_HostClosePipe()
402 …status = hostInstance->controllerTable->controllerWritePipe(hostInstance->controllerHandle, pipeHa… in USB_HostSend()
445 …status = hostInstance->controllerTable->controllerWritePipe(hostInstance->controllerHandle, pipeHa… in USB_HostSendSetup()
[all …]
Dusb_host_khci.c144 …ostPointer = (usb_khci_host_state_struct_t *)((usb_host_instance_t *)hostHandle)->controllerHandle; in USB_HostKhciIsrFunction()
569 static usb_status_t _USB_HostKhciLinkTrRequestToList(usb_host_controller_handle controllerHandle, in _USB_HostKhciLinkTrRequestToList() argument
573 usb_khci_host_state_struct_t *usbHostPointer = (usb_khci_host_state_struct_t *)controllerHandle; in _USB_HostKhciLinkTrRequestToList()
637 static void _USB_HostKhciProcessTrCallback(usb_host_controller_handle controllerHandle, in _USB_HostKhciProcessTrCallback() argument
673 … pipePointer = ((usb_khci_host_state_struct_t *)controllerHandle)->pipeDescriptorBasePointer; in _USB_HostKhciProcessTrCallback()
1222 static void _USB_HostKhciTransferClearUp(usb_host_controller_handle controllerHandle) in _USB_HostKhciTransferClearUp() argument
1224 usb_khci_host_state_struct_t *usbHostPointer = (usb_khci_host_state_struct_t *)controllerHandle; in _USB_HostKhciTransferClearUp()
1232 _USB_HostKhciUnlinkTrRequestFromList(controllerHandle, trCancel); in _USB_HostKhciTransferClearUp()
1245 _USB_HostKhciUnlinkTrRequestFromList(controllerHandle, trCancel); in _USB_HostKhciTransferClearUp()
1303 static void _USB_HostKhciTransferStateMachine(usb_host_controller_handle controllerHandle, in _USB_HostKhciTransferStateMachine() argument
[all …]
Dusb_host_hci.h63 …usb_host_controller_handle *controllerHandle); /*!< Create a controller instance function prototyp…
65 …usb_host_controller_handle controllerHandle); /*!< Destroy a controller instance function prototyp…
66 usb_status_t (*controllerOpenPipe)(usb_host_controller_handle controllerHandle,
70 usb_host_controller_handle controllerHandle,
72 usb_status_t (*controllerWritePipe)(usb_host_controller_handle controllerHandle,
75 usb_status_t (*controllerReadPipe)(usb_host_controller_handle controllerHandle,
78 usb_status_t (*controllerIoctl)(usb_host_controller_handle controllerHandle,
95 …void *controllerHandle; /*!< The low level controller han… member
Dusb_host_khci.h229 usb_host_controller_handle *controllerHandle);
240 extern usb_status_t USB_HostKhciDestory(usb_host_controller_handle controllerHandle);
255 extern usb_status_t USB_HostKhciOpenPipe(usb_host_controller_handle controllerHandle,
269 extern usb_status_t USB_HostKhciClosePipe(usb_host_controller_handle controllerHandle, usb_host_pip…
283 extern usb_status_t USB_HostKhciWritePipe(usb_host_controller_handle controllerHandle,
299 extern usb_status_t USB_HostKhciReadpipe(usb_host_controller_handle controllerHandle,
315 extern usb_status_t USB_HostKciIoctl(usb_host_controller_handle controllerHandle,
Dusb_host_ehci.h399 usb_host_controller_handle *controllerHandle);
410 extern usb_status_t USB_HostEhciDestory(usb_host_controller_handle controllerHandle);
426 extern usb_status_t USB_HostEhciOpenPipe(usb_host_controller_handle controllerHandle,
440 extern usb_status_t USB_HostEhciClosePipe(usb_host_controller_handle controllerHandle, usb_host_pip…
455 extern usb_status_t USB_HostEhciWritePipe(usb_host_controller_handle controllerHandle,
472 extern usb_status_t USB_HostEhciReadpipe(usb_host_controller_handle controllerHandle,
488 extern usb_status_t USB_HostEhciIoctl(usb_host_controller_handle controllerHandle,
Dusb_host_ohci.h508 usb_host_controller_handle *controllerHandle);
519 extern usb_status_t USB_HostOhciDestory(usb_host_controller_handle controllerHandle);
534 extern usb_status_t USB_HostOhciOpenPipe(usb_host_controller_handle controllerHandle,
548 extern usb_status_t USB_HostOhciClosePipe(usb_host_controller_handle controllerHandle, usb_host_pip…
562 extern usb_status_t USB_HostOhciWritePipe(usb_host_controller_handle controllerHandle,
578 extern usb_status_t USB_HostOhciReadPipe(usb_host_controller_handle controllerHandle,
594 extern usb_status_t USB_HostOhciIoctl(usb_host_controller_handle controllerHandle,
Dusb_host_ip3516hs.h658 usb_host_controller_handle *controllerHandle);
669 extern usb_status_t USB_HostIp3516HsDestory(usb_host_controller_handle controllerHandle);
684 extern usb_status_t USB_HostIp3516HsOpenPipe(usb_host_controller_handle controllerHandle,
698 extern usb_status_t USB_HostIp3516HsClosePipe(usb_host_controller_handle controllerHandle,
713 extern usb_status_t USB_HostIp3516HsWritePipe(usb_host_controller_handle controllerHandle,
729 extern usb_status_t USB_HostIp3516HsReadPipe(usb_host_controller_handle controllerHandle,
745 extern usb_status_t USB_HostIp3516HsIoctl(usb_host_controller_handle controllerHandle,
Dusb_host_ohci.c2211 usb_host_controller_handle *controllerHandle) in USB_HostOhciCreate() argument
2279 *controllerHandle = (usb_host_handle)usbHostState; in USB_HostOhciCreate()
2292 usb_status_t USB_HostOhciDestory(usb_host_controller_handle controllerHandle) in USB_HostOhciDestory() argument
2294 usb_host_ohci_state_struct_t *usbHostState = (usb_host_ohci_state_struct_t *)controllerHandle; in USB_HostOhciDestory()
2321 usb_status_t USB_HostOhciOpenPipe(usb_host_controller_handle controllerHandle, in USB_HostOhciOpenPipe() argument
2327 usb_host_ohci_state_struct_t *usbHostState = (usb_host_ohci_state_struct_t *)controllerHandle; in USB_HostOhciOpenPipe()
2452 usb_status_t USB_HostOhciClosePipe(usb_host_controller_handle controllerHandle, usb_host_pipe_handl… in USB_HostOhciClosePipe() argument
2454 usb_host_ohci_state_struct_t *usbHostState = (usb_host_ohci_state_struct_t *)controllerHandle; in USB_HostOhciClosePipe()
2482 usb_status_t USB_HostOhciWritePipe(usb_host_controller_handle controllerHandle, in USB_HostOhciWritePipe() argument
2486 usb_host_ohci_state_struct_t *usbHostState = (usb_host_ohci_state_struct_t *)controllerHandle; in USB_HostOhciWritePipe()
[all …]
Dusb_host_ip3516hs.c224 …p3516hs_state_struct_t *)(((usb_host_instance_t *)(deviceInstance->hostHandle))->controllerHandle); in USB_HostIp3516HsTestModeInit()
3404 usb_host_controller_handle *controllerHandle) in USB_HostIp3516HsCreate() argument
3488 *controllerHandle = (usb_host_handle)usbHostState; in USB_HostIp3516HsCreate()
3501 usb_status_t USB_HostIp3516HsDestory(usb_host_controller_handle controllerHandle) in USB_HostIp3516HsDestory() argument
3503 …_host_ip3516hs_state_struct_t *usbHostState = (usb_host_ip3516hs_state_struct_t *)controllerHandle; in USB_HostIp3516HsDestory()
3536 usb_status_t USB_HostIp3516HsOpenPipe(usb_host_controller_handle controllerHandle, in USB_HostIp3516HsOpenPipe() argument
3541 …_host_ip3516hs_state_struct_t *usbHostState = (usb_host_ip3516hs_state_struct_t *)controllerHandle; in USB_HostIp3516HsOpenPipe()
3663 usb_status_t USB_HostIp3516HsClosePipe(usb_host_controller_handle controllerHandle, usb_host_pipe_h… in USB_HostIp3516HsClosePipe() argument
3665 …_host_ip3516hs_state_struct_t *usbHostState = (usb_host_ip3516hs_state_struct_t *)controllerHandle; in USB_HostIp3516HsClosePipe()
3698 usb_status_t USB_HostIp3516HsWritePipe(usb_host_controller_handle controllerHandle, in USB_HostIp3516HsWritePipe() argument
[all …]
Dusb_host_ehci.c944 …b_host_ehci_instance_t *)(((usb_host_instance_t *)(deviceInstance->hostHandle))->controllerHandle); in USB_HostEhciTestModeInit()
4739 usb_host_controller_handle *controllerHandle) in USB_HostEhciCreate() argument
4759 *controllerHandle = NULL; in USB_HostEhciCreate()
4965 *controllerHandle = ehciInstance; in USB_HostEhciCreate()
4970 usb_status_t USB_HostEhciDestory(usb_host_controller_handle controllerHandle) in USB_HostEhciDestory() argument
4972 usb_host_ehci_instance_t *ehciInstance = (usb_host_ehci_instance_t *)controllerHandle; in USB_HostEhciDestory()
5005 usb_status_t USB_HostEhciOpenPipe(usb_host_controller_handle controllerHandle, in USB_HostEhciOpenPipe() argument
5012 usb_host_ehci_instance_t *ehciInstance = (usb_host_ehci_instance_t *)controllerHandle; in USB_HostEhciOpenPipe()
5129 usb_status_t USB_HostEhciClosePipe(usb_host_controller_handle controllerHandle, usb_host_pipe_handl… in USB_HostEhciClosePipe() argument
5131 usb_host_ehci_instance_t *ehciInstance = (usb_host_ehci_instance_t *)controllerHandle; in USB_HostEhciClosePipe()
[all …]
Dusb_host_devices.c425 … hostInstance->controllerHandle, kUSB_HostUpdateControlPacketSize, deviceInstance->controlPipe); in USB_HostProcessCallback()
432 …hostInstance->controllerHandle, kUSB_HostUpdateControlEndpointAddress, deviceInstance->controlPipe… in USB_HostProcessCallback()
1300 …status = hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostB… in USB_HostControlBus()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/
Dusb_device_mcux_drv_port.h83 … usb_device_controller_handle *controllerHandle);
86 …edef usb_status_t (*usb_device_controller_deinit_t)(usb_device_controller_handle controllerHandle);
89 typedef usb_status_t (*usb_device_controller_send_t)(usb_device_controller_handle controllerHandle,
95 typedef usb_status_t (*usb_device_controller_recv_t)(usb_device_controller_handle controllerHandle,
101 …pedef usb_status_t (*usb_device_controller_cancel_t)(usb_device_controller_handle controllerHandle,
105 …edef usb_status_t (*usb_device_controller_control_t)(usb_device_controller_handle controllerHandle,
123 usb_device_controller_handle controllerHandle; /*!< Controller handle */ member
Dusb_device_dci.h90 … usb_device_controller_handle *controllerHandle);
93 …edef usb_status_t (*usb_device_controller_deinit_t)(usb_device_controller_handle controllerHandle);
96 typedef usb_status_t (*usb_device_controller_send_t)(usb_device_controller_handle controllerHandle,
102 typedef usb_status_t (*usb_device_controller_recv_t)(usb_device_controller_handle controllerHandle,
108 …pedef usb_status_t (*usb_device_controller_cancel_t)(usb_device_controller_handle controllerHandle,
112 …edef usb_status_t (*usb_device_controller_control_t)(usb_device_controller_handle controllerHandle,
134 usb_device_controller_handle controllerHandle; /*!< Controller handle */ member
Dusb_device_lpcip3511.h216 usb_device_controller_handle *controllerHandle);
227 usb_status_t USB_DeviceLpc3511IpDeinit(usb_device_controller_handle controllerHandle);
251 usb_status_t USB_DeviceLpc3511IpSend(usb_device_controller_handle controllerHandle,
278 usb_status_t USB_DeviceLpc3511IpRecv(usb_device_controller_handle controllerHandle,
293 usb_status_t USB_DeviceLpc3511IpCancel(usb_device_controller_handle controllerHandle, uint8_t ep);
306 usb_status_t USB_DeviceLpc3511IpControl(usb_device_controller_handle controllerHandle,
Dusb_device_dci.c109 …if ((NULL != s_UsbDevice[count].controllerHandle) && (controllerId == s_UsbDevice[count].controlle… in USB_DeviceAllocateHandle()
118 if (NULL == s_UsbDevice[count].controllerHandle) in USB_DeviceAllocateHandle()
144 handle->controllerHandle = NULL; in USB_DeviceFreeHandle()
286 …status = deviceHandle->controllerInterface->deviceSend(deviceHandle->controllerHandle, endpointAdd… in USB_DeviceTransfer()
293 …status = deviceHandle->controllerInterface->deviceRecv(deviceHandle->controllerHandle, endpointAdd… in USB_DeviceTransfer()
339 …status = deviceHandle->controllerInterface->deviceControl(deviceHandle->controllerHandle, type, pa… in USB_DeviceControl()
840 …ndle->controllerInterface->deviceInit(controllerId, deviceHandle, &deviceHandle->controllerHandle); in USB_DeviceInit()
916 …tus_USB_Success != deviceHandle->controllerInterface->deviceDeinit(deviceHandle->controllerHandle)) in USB_DeviceDeinit()
921 (void)deviceHandle->controllerInterface->deviceDeinit(deviceHandle->controllerHandle); in USB_DeviceDeinit()
1043 …status = deviceHandle->controllerInterface->deviceCancel(deviceHandle->controllerHandle, endpointA… in USB_DeviceCancel()
Dusb_device_lpcip3511.c172 …atus_t USB_DeviceLpc3511IpControlPreSetDeviceAddress(usb_device_controller_handle controllerHandle,
1588 lpc3511IpState = (usb_device_lpc3511ip_state_struct_t *)(handle->controllerHandle); in USB_DeviceLpcIp3511IsrDCDFunction()
1594 usb_device_controller_handle *controllerHandle) in USB_DeviceLpc3511IpInit() argument
1729 *controllerHandle = lpc3511IpState; in USB_DeviceLpc3511IpInit()
1734 usb_status_t USB_DeviceLpc3511IpDeinit(usb_device_controller_handle controllerHandle) in USB_DeviceLpc3511IpDeinit() argument
1736 …lpc3511ip_state_struct_t *lpc3511IpState = (usb_device_lpc3511ip_state_struct_t *)controllerHandle; in USB_DeviceLpc3511IpDeinit()
1739 if (controllerHandle == NULL) in USB_DeviceLpc3511IpDeinit()
1750 status = USB_DeviceLpc3511IpControlPreSetDeviceAddress(controllerHandle, &usbAddress); in USB_DeviceLpc3511IpDeinit()
2083 usb_status_t USB_DeviceLpc3511IpSend(usb_device_controller_handle controllerHandle, in USB_DeviceLpc3511IpSend() argument
2088 …lpc3511ip_state_struct_t *lpc3511IpState = (usb_device_lpc3511ip_state_struct_t *)controllerHandle; in USB_DeviceLpc3511IpSend()
[all …]
Dusb_device_ehci.c1344 ehciState = (usb_device_ehci_state_struct_t *)(handle->controllerHandle);
2324 ehciState = (usb_device_ehci_state_struct_t *)(handle->controllerHandle);
Dusb_device_khci.c1716 khciState = (usb_device_khci_state_struct_t *)(handle->controllerHandle); in USB_DeviceKhciIsrFunction()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c1030 …status = hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostB… in USB_HostHubRemoteWakeupCallback()
1579 …hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostBusControl… in USB_HostHubSuspendDevice()
1611 …status = hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostB… in USB_HostHubSuspendDevice()