Lines Matching refs:PERIOD

18 #define PERIOD 50  macro
122 TIMER_ASSERT(interval_check(interval, PERIOD), timer); in duration_expire()
145 TIMER_ASSERT(k_timer_remaining_get(timer) >= PERIOD, timer); in status_expire()
190 k_timer_start(&duration_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
191 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()
196 k_timer_start(&duration_timer, K_FOREVER, K_MSEC(PERIOD)); in ZTEST_USER()
220 K_MSEC(PERIOD)); in ZTEST_USER()
221 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
225 K_MSEC(PERIOD)); in ZTEST_USER()
330 k_timer_start(&expire_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
331 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()
372 uint64_t period_ms = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(PERIOD)); in ZTEST_USER()
383 k_timer_start(&periodicity_timer, K_NO_WAIT, K_MSEC(PERIOD)); in ZTEST_USER()
441 k_timer_start(&status_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
471 K_MSEC(PERIOD)); in ZTEST_USER()
472 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
477 busy_wait_ms(PERIOD); in ZTEST_USER()
504 k_timer_start(&status_sync_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
517 k_timer_start(&status_sync_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
518 busy_wait_ms(PERIOD*2); in ZTEST_USER()
545 k_timer_start(&ktimer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
546 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()
557 k_timer_start(&ktimer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
564 k_timer_start(&ktimer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
566 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()