Lines Matching full:value
29 LOG_DBG("Handler Signal value %d for %d times", val.sival_int, exp_count); in handler()
36 struct itimerspec value, ovalue; in test_timer() local
48 value.it_value.tv_sec = DURATION_SECS; in test_timer()
49 value.it_value.tv_nsec = DURATION_NSECS; in test_timer()
50 value.it_interval.tv_sec = PERIOD_SECS; in test_timer()
51 value.it_interval.tv_nsec = PERIOD_NSECS; in test_timer()
52 zassert_ok(timer_settime(timerid, 0, &value, &ovalue)); in test_timer()
55 zassert_ok(timer_gettime(timerid, &value)); in test_timer()
57 LOG_DBG("Timer fires every %d secs and %d nsecs", (int)value.it_interval.tv_sec, in test_timer()
58 (int)value.it_interval.tv_nsec); in test_timer()
59 LOG_DBG("Time remaining to fire %d secs and %d nsecs", (int)value.it_value.tv_sec, in test_timer()
60 (int)value.it_value.tv_nsec); in test_timer()
75 uint64_t first_sig = value.it_value.tv_sec * NSEC_PER_SEC + value.it_value.tv_nsec; in test_timer()
76 uint64_t sig_interval = value.it_interval.tv_sec * NSEC_PER_SEC + value.it_interval.tv_nsec; in test_timer()
108 struct itimerspec value; in ZTEST() local
115 value.it_interval.tv_sec = 0; in ZTEST()
116 value.it_interval.tv_nsec = 500000000; in ZTEST()
117 value.it_value.tv_sec = 0; in ZTEST()
118 value.it_value.tv_nsec = 500000000; in ZTEST()
119 zassert_ok(timer_settime(timerid, 0, &value, NULL)); in ZTEST()
128 struct itimerspec value; in ZTEST() local
138 value.it_interval.tv_sec = 0; in ZTEST()
139 value.it_interval.tv_nsec = 0; in ZTEST()
140 value.it_value.tv_sec = 0; in ZTEST()
141 value.it_value.tv_nsec = 100 * NSEC_PER_MSEC; in ZTEST()
142 zassert_ok(timer_settime(timerid, 0, &value, NULL)); in ZTEST()