Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_ehci.c2680 uint32_t currentFrame; in USB_HostEhciLinkSitd() local
2690currentFrame = ((ehciInstance->ehciIpBase->FRINDEX & USB_HOST_EHCI_MAX_MICRFRAME_VALUE) >> 3U); in USB_HostEhciLinkSitd()
2691 currentFrame = ((uint32_t)(currentFrame + USB_HOST_EHCI_ISO_BOUNCE_FRAME_NUMBER) & in USB_HostEhciLinkSitd()
2694 if (currentFrame <= ehciPipePointer->startFrame) in USB_HostEhciLinkSitd()
2696 currentFrame = ehciPipePointer->startFrame; in USB_HostEhciLinkSitd()
2700 currentFrame -= ehciPipePointer->startFrame; in USB_HostEhciLinkSitd()
2701 currentFrame = ((currentFrame + frameInterval - 1U) & (~(frameInterval - 1U))); in USB_HostEhciLinkSitd()
2702 currentFrame += ehciPipePointer->startFrame; in USB_HostEhciLinkSitd()
2712currentFrame = ((ehciInstance->ehciIpBase->FRINDEX & USB_HOST_EHCI_MAX_MICRFRAME_VALUE) >> 3U); in USB_HostEhciLinkSitd()
2714 ((shouldLinkFrame + (USB_HOST_EHCI_MAX_MICRFRAME_VALUE >> 3U) + 1U - currentFrame) & in USB_HostEhciLinkSitd()
[all …]
Dusb_host_ohci.c940 uint32_t currentFrame; in USB_HostOhciTdDoneHandle() local
1202 currentFrame = startFrame; in USB_HostOhciTdDoneHandle()
1204 while (currentFrame == startFrame) in USB_HostOhciTdDoneHandle()
1206currentFrame = s_UsbHostOhciHcca[usbHostState->controllerId].HccaFrameNumber; in USB_HostOhciTdDoneHandle()
1312 uint32_t currentFrame; in USB_HostOhciCancelPipe() local
1316 currentFrame = startFrame; in USB_HostOhciCancelPipe()
1318 while (currentFrame == startFrame) in USB_HostOhciCancelPipe()
1320 currentFrame = s_UsbHostOhciHcca[usbHostState->controllerId].HccaFrameNumber; in USB_HostOhciCancelPipe()
1839 uint32_t currentFrame; in USB_HostOhciLinkItdTr() local
1876 currentFrame = s_UsbHostOhciHcca[usbHostState->controllerId].HccaFrameNumber; in USB_HostOhciLinkItdTr()
[all …]