Searched refs:target_time_us_wrapped (Results 1 – 1 of 1) sorted by relevance
264 static net_time_t convert_32bit_us_wrapped_to_64bit_ns(uint32_t target_time_us_wrapped) in convert_32bit_us_wrapped_to_64bit_ns() argument280 uint32_t time_diff = target_time_us_wrapped - now_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()288 if (now_us_wrapped > target_time_us_wrapped) { in convert_32bit_us_wrapped_to_64bit_ns()295 result |= target_time_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()301 result = (now_us & (~(uint64_t)UINT32_MAX)) | target_time_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()308 if (now_us_wrapped > target_time_us_wrapped) { in convert_32bit_us_wrapped_to_64bit_ns()313 result = (now_us & (~(uint64_t)UINT32_MAX)) | target_time_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()321 result |= target_time_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()