Searched refs:distance (Results 1 – 5 of 5) sorted by relevance
1851 uint32_t distance; in USB_HostEhciDelay() local1858 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() local2739 distance = in USB_HostEhciLinkSitd()2744 if ((distance <= in USB_HostEhciLinkSitd()2746 (distance > 0U)) in USB_HostEhciLinkSitd()3018 uint32_t distance; in USB_HostEhciGetItdLinkFrame() local3028 … distance = ((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 …]
94 uint32_t distance; in USB_HostOhciDelay() local103 …distance = (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()
341 uint32_t distance; in USB_HostIp3516HsDelay() local350 distance = (uint32_t)( in USB_HostIp3516HsDelay()353 } while ((distance) < (ms)); /* compute the distance between sofStart and SofEnd */ in USB_HostIp3516HsDelay()
6347 static int mlanwls_update_distance_to_gui(int distance, unsigned int tsf) in mlanwls_update_distance_to_gui() argument6351 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() local6413 if (distance >= 0) in proc_csi_event()6414 mlanwls_update_distance_to_gui(distance, tsf); in proc_csi_event()
8641 double distance = 0.0; in wifi_ftm_process_event() local8652 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()