Searched refs:current_ns (Results 1 – 2 of 2) sorted by relevance
46 uint64_t current_ns; in lima_get_absolute_timeout() local54 current_ns = ((uint64_t)current.tv_sec) * 1000000000ull; in lima_get_absolute_timeout()55 current_ns += current.tv_nsec; in lima_get_absolute_timeout()56 *timeout += current_ns; in lima_get_absolute_timeout()
418 uint64_t current_ns; in amdgpu_cs_calculate_timeout() local425 current_ns = ((uint64_t)current.tv_sec) * 1000000000ull; in amdgpu_cs_calculate_timeout()426 current_ns += current.tv_nsec; in amdgpu_cs_calculate_timeout()427 timeout += current_ns; in amdgpu_cs_calculate_timeout()428 if (timeout < current_ns) in amdgpu_cs_calculate_timeout()