Home
last modified time | relevance | path

Searched refs:hubMutex (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.c22 #define USB_HostHubLockMutexCheck() hubGlobal->hubMutex != NULL
24 #define USB_HostHubLock() OSA_MutexLock(hubGlobal->hubMutex, USB_OSA_WAIT_TIMEOUT)
26 #define USB_HostHubUnlock() OSA_MutexUnlock(hubGlobal->hubMutex)
1234 if (hubGlobal->hubMutex == (osa_mutex_handle_t)NULL) in USB_HostHubDeviceEvent()
1236 hubGlobal->hubMutex = (osa_mutex_handle_t)(&hubGlobal->mutexBuffer[0]); in USB_HostHubDeviceEvent()
1237 osaStatus = OSA_MutexCreate(hubGlobal->hubMutex); in USB_HostHubDeviceEvent()
1240 hubGlobal->hubMutex = NULL; in USB_HostHubDeviceEvent()
1353 if (hubGlobal->hubMutex != NULL) in USB_HostHubDeviceEvent()
1355 (void)OSA_MutexDestroy(hubGlobal->hubMutex); in USB_HostHubDeviceEvent()
1356 hubGlobal->hubMutex = NULL; in USB_HostHubDeviceEvent()
Dusb_host_hub_app.h32 osa_mutex_handle_t hubMutex; /*!< HUB mutex*/ member