Home
last modified time | relevance | path

Searched refs:hubInstance (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c37 static void USB_HostHubGetInterruptStatus(usb_host_hub_instance_t *hubInstance);
44 static void USB_HostHubProcess(usb_host_hub_instance_t *hubInstance);
51 static void USB_HostHubProcessPortAttach(usb_host_hub_instance_t *hubInstance);
58 static void USB_HostHubProcessPortDetach(usb_host_hub_instance_t *hubInstance);
65 static void USB_HostHubProcessPort(usb_host_hub_instance_t *hubInstance);
72 …oid USB_HostHubProcessData(usb_host_hub_global_t *hubGlobal, usb_host_hub_instance_t *hubInstance);
153 static void USB_HostHubGetInterruptStatus(usb_host_hub_instance_t *hubInstance) in USB_HostHubGetInterruptStatus() argument
156 if (hubInstance == NULL) in USB_HostHubGetInterruptStatus()
162 if (hubInstance->primeStatus != (uint8_t)kPrimeNone) in USB_HostHubGetInterruptStatus()
166 portNum = (((uint16_t)hubInstance->portCount) >> 3U); in USB_HostHubGetInterruptStatus()
[all …]
Dusb_host_hub.c83 usb_host_hub_instance_t *hubInstance = (usb_host_hub_instance_t *)param; in USB_HostHubControlCallback() local
85 hubInstance->controlTransfer = NULL; in USB_HostHubControlCallback()
86 if (NULL != hubInstance->controlCallbackFn) in USB_HostHubControlCallback()
91 hubInstance->controlCallbackFn(hubInstance->controlCallbackParam, transfer->transferBuffer, in USB_HostHubControlCallback()
94 (void)USB_HostFreeTransfer(hubInstance->hostHandle, transfer); in USB_HostHubControlCallback()
99 usb_host_hub_instance_t *hubInstance = (usb_host_hub_instance_t *)param; in USB_HostHubInPipeCallback() local
101 if (NULL != hubInstance->inCallbackFn) in USB_HostHubInPipeCallback()
104hubInstance->inCallbackFn(hubInstance->inCallbackParam, transfer->transferBuffer, transfer->transf… in USB_HostHubInPipeCallback()
107 (void)USB_HostFreeTransfer(hubInstance->hostHandle, transfer); in USB_HostHubInPipeCallback()
112 usb_host_hub_instance_t *hubInstance = (usb_host_hub_instance_t *)param; in USB_HostHubResetCallback() local
[all …]