Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_ip3516hs.c43 static usb_status_t USB_HostIp3516HsGetBuffer(usb_host_ip3516hs_state_struct_t *usbHostState,
48 static usb_status_t USB_HostIp3516HsFreeBuffer(usb_host_ip3516hs_state_struct_t *usbHostState,
58 static void USB_HostIp3516HsSuspendBus(usb_host_ip3516hs_state_struct_t *usbHostState);
65 static void USB_HostIp3516HsResumeBus(usb_host_ip3516hs_state_struct_t *usbHostState);
71 static void USB_HostIp3516HsDelay(usb_host_ip3516hs_state_struct_t *usbHostState, uint32_t ms);
91 static usb_status_t USB_HostIp3516HsTestSetMode(usb_host_ip3516hs_state_struct_t *usbHostState, uin… in USB_HostIp3516HsTestSetMode() argument
95 Ip3516HsortSC = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsTestSetMode()
98 usbHostState->usbRegBase->PORTSC1 = Ip3516HsortSC; in USB_HostIp3516HsTestSetMode()
102 static void USB_HostIp3516HsTestSuspendResume(usb_host_ip3516hs_state_struct_t *usbHostState) in USB_HostIp3516HsTestSuspendResume() argument
108 USB_HostIp3516HsDelay(usbHostState, 1000U); in USB_HostIp3516HsTestSuspendResume()
[all …]
Dusb_host_ohci.c27 static usb_status_t USB_HostOhciLinkGtdControlTr(usb_host_ohci_state_struct_t *usbHostState,
31 static usb_status_t USB_HostOhciLinkItdTr(usb_host_ohci_state_struct_t *usbHostState,
34 static usb_status_t USB_HostOhciFreeItd(usb_host_ohci_state_struct_t *usbHostState,
37 static usb_status_t USB_HostOhciLinkGtdTr(usb_host_ohci_state_struct_t *usbHostState,
40 static usb_status_t USB_HostOhciFreeGtd(usb_host_ohci_state_struct_t *usbHostState,
42 static void USB_HostOhciTdDoneHandle(usb_host_ohci_state_struct_t *usbHostState,
61 static void USB_HostOhciDisableIsr(usb_host_ohci_state_struct_t *usbHostState) in USB_HostOhciDisableIsr() argument
67 if (0U == usbHostState->isrLevel) in USB_HostOhciDisableIsr()
69 NVIC_DisableIRQ((IRQn_Type)usbHostState->isrNumber); in USB_HostOhciDisableIsr()
71 usbHostState->isrLevel++; in USB_HostOhciDisableIsr()
[all …]
Dusb_host_ohci.h368 #define USB_HostOhciLock() (void)OSA_MutexLock(usbHostState->mutex, USB_OSA_WAIT_TIMEOUT)
370 #define USB_HostOhciUnlock() (void)OSA_MutexUnlock(usbHostState->mutex)
Dusb_host_ip3516hs.h521 #define USB_HostIp3516HsLock() (void)OSA_MutexLock(usbHostState->mutex, USB_OSA_WAIT_TIMEOUT)
523 #define USB_HostIp3516HsUnlock() (void)OSA_MutexUnlock(usbHostState->mutex)