Home
last modified time | relevance | path

Searched refs:hostInstance (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_hci.c55 static void USB_HostReleaseInstance(usb_host_instance_t *hostInstance);
125 usb_host_instance_t *hostInstance = (usb_host_instance_t *)deviceInstance->hostHandle; local
149 if (hostInstance->controllerTable == &s_EhciInterface)
151 …(void)hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostTest…
155 if (hostInstance->controllerTable == &s_Ip3516HsInterface)
157 …(void)hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostTest…
197 static void USB_HostReleaseInstance(usb_host_instance_t *hostInstance) in USB_HostReleaseInstance() argument
201 hostInstance->occupied = 0; in USB_HostReleaseInstance()
240 usb_host_instance_t *hostInstance = NULL; in USB_HostInit() local
244 hostInstance = USB_HostGetInstance(); /* get one host instance */ in USB_HostInit()
[all …]
Dusb_host_devices.c77 static uint8_t USB_HostAllocateDeviceAddress(usb_host_instance_t *hostInstance);
85 static void USB_HostReleaseDeviceAddress(usb_host_instance_t *hostInstance, uint8_t address);
93 static void USB_HostReleaseDeviceResource(usb_host_instance_t *hostInstance,
405 usb_host_instance_t *hostInstance = (usb_host_instance_t *)deviceInstance->hostHandle; in USB_HostProcessCallback() local
424 (void)hostInstance->controllerTable->controllerIoctl( in USB_HostProcessCallback()
425hostInstance->controllerHandle, kUSB_HostUpdateControlPacketSize, deviceInstance->controlPipe); in USB_HostProcessCallback()
431 (void)hostInstance->controllerTable->controllerIoctl( in USB_HostProcessCallback()
432hostInstance->controllerHandle, kUSB_HostUpdateControlEndpointAddress, deviceInstance->controlPipe… in USB_HostProcessCallback()
508 … hubInstance4Device = USB_HostHubGetHubDeviceHandle(hostInstance, deviceInstance->hubNumber); in USB_HostProcessCallback()
572 usb_host_instance_t *hostInstance; in USB_HostNotifyDevice() local
[all …]
Dusb_host_hci.h17 #define USB_HostLock() OSA_MutexLock(hostInstance->hostMutex, USB_OSA_WAIT_TIMEOUT)
19 #define USB_HostUnlock() OSA_MutexUnlock(hostInstance->hostMutex)
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c917 usb_host_instance_t *hostInstance = (usb_host_instance_t *)param; in USB_HostSetHubRequestCallback() local
923 (void)hostInstance->deviceCallback(hostInstance->suspendedDevice, NULL, in USB_HostSetHubRequestCallback()
929 (void)hostInstance->deviceCallback(hostInstance->suspendedDevice, NULL, in USB_HostSetHubRequestCallback()
946 usb_host_instance_t *hostInstance; in USB_HostHubRemoteWakeupCallback() local
955 hostInstance = (usb_host_instance_t *)hubInstance->hostHandle; in USB_HostHubRemoteWakeupCallback()
956 if (NULL == hostInstance) in USB_HostHubRemoteWakeupCallback()
961 (void)USB_HostFreeTransfer(hostInstance, transfer); in USB_HostHubRemoteWakeupCallback()
1019 …(void)hostInstance->deviceCallback(hostInstance->suspendedDevice, NULL, kUSB_HostEventNotSuspended… in USB_HostHubRemoteWakeupCallback()
1025 deviceInstance = (usb_host_device_instance_t *)hostInstance->suspendedDevice; in USB_HostHubRemoteWakeupCallback()
1030 …status = hostInstance->controllerTable->controllerIoctl(hostInstance->controllerHandle, kUSB_HostB… in USB_HostHubRemoteWakeupCallback()
[all …]