Searched refs:absTimeout (Results 1 – 2 of 2) sorted by relevance
399 struct timespec absTimeout; in phNxpUciHal_sem_timed_wait_msec() local400 if (clock_gettime(CLOCK_MONOTONIC, &absTimeout) == -1) { in phNxpUciHal_sem_timed_wait_msec()406 absTimeout.tv_sec += msec / 1000L; in phNxpUciHal_sem_timed_wait_msec()409 absTimeout.tv_nsec += msec * 1000000L; in phNxpUciHal_sem_timed_wait_msec()410 if (absTimeout.tv_nsec > 1000000000L) { in phNxpUciHal_sem_timed_wait_msec()411 absTimeout.tv_nsec -= 1000000000L; in phNxpUciHal_sem_timed_wait_msec()412 absTimeout.tv_sec += 1; in phNxpUciHal_sem_timed_wait_msec()415 …while ((ret = sem_timedwait_monotonic_np(&pCallbackData->sem, &absTimeout)) == -1 && errno == EINT… in phNxpUciHal_sem_timed_wait_msec()
683 struct timespec absTimeout; in phTmlUwb_WaitWriteComplete() local684 if (clock_gettime(CLOCK_MONOTONIC, &absTimeout) == -1) { in phTmlUwb_WaitWriteComplete()687 absTimeout.tv_sec += 1; /*1 second timeout*/ in phTmlUwb_WaitWriteComplete()692 &absTimeout); in phTmlUwb_WaitWriteComplete()