Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_ehci.c1851 uint32_t distance; in USB_HostEhciDelay() local
1858 distance = (SofEnd + EHCI_MAX_UFRAME_VALUE + 1U - sofStart); in USB_HostEhciDelay()
1859 …} while ((distance & EHCI_MAX_UFRAME_VALUE) < (ms * 8U)); /* compute the distance between sofStart… in USB_HostEhciDelay()
2702 uint32_t distance; in USB_HostEhciLinkSitd() local
2739 distance = in USB_HostEhciLinkSitd()
2744 if ((distance <= in USB_HostEhciLinkSitd()
2746 (distance > 0U)) in USB_HostEhciLinkSitd()
3018 uint32_t distance; in USB_HostEhciGetItdLinkFrame() local
3028distance = ((shouldLinkUframe + USB_HOST_EHCI_MAX_MICRFRAME_VALUE + 1U - currentUframe) & in USB_HostEhciGetItdLinkFrame()
3032 if ((distance <= ((uint32_t)USB_HOST_EHCI_ISO_BOUNCE_UFRAME_NUMBER + in USB_HostEhciGetItdLinkFrame()
[all …]
Dusb_host_ohci.c94 uint32_t distance; in USB_HostOhciDelay() local
103distance = (uint32_t)(SofEnd - sofStart + USB_HOST_OHCI_FMNUMBER_FN_MASK + 1U) & USB_HOST_OHCI_FMN… in USB_HostOhciDelay()
104 } while ((distance) < (ms)); /* compute the distance between sofStart and SofEnd */ in USB_HostOhciDelay()
Dusb_host_ip3516hs.c341 uint32_t distance; in USB_HostIp3516HsDelay() local
350 distance = (uint32_t)( in USB_HostIp3516HsDelay()
353 } while ((distance) < (ms)); /* compute the distance between sofStart and SofEnd */ in USB_HostIp3516HsDelay()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_api.c6347 static int mlanwls_update_distance_to_gui(int distance, unsigned int tsf) in mlanwls_update_distance_to_gui() argument
6351 float distance_flt = 1.0f * distance / (1 << 8); // in meters in mlanwls_update_distance_to_gui()
6411 int distance = ((unsigned int *)csiBuffer)[19]; in proc_csi_event() local
6413 if (distance >= 0) in proc_csi_event()
6414 mlanwls_update_distance_to_gui(distance, tsf); in proc_csi_event()
Dmlan_glue.c8641 double distance = 0.0; in wifi_ftm_process_event() local
8652 distance = ((ftm_event->e.ftm_complete.avg_clk_offset / 2) * (0.0003)); in wifi_ftm_process_event()
8653 PRINTF("Distance: %.6f meters\r\n\n", distance); in wifi_ftm_process_event()