Home
last modified time | relevance | path

Searched refs:sec_run (Results 1 – 2 of 2) sorted by relevance

/hal_intel-latest/zephyr/iut_test/test_zephyr/i2c/
Dtest_i2c_log.c40 static int impl_test_log_i2c(uint32_t sec_run, int mode, uint32_t *err_cnt) in impl_test_log_i2c() argument
110 if ((get_sec() - sec_start) >= sec_run) { in impl_test_log_i2c()
121 uint32_t sec_run = 10; in test_log_i2c_polling() local
126 sec_run = (uint32_t)strtoul(argv[0], NULL, 0); in test_log_i2c_polling()
129 iut_case_print("starting to run %d seconds ...\n", sec_run); in test_log_i2c_polling()
131 ret = impl_test_log_i2c(sec_run, POLLING, &err_cnt); in test_log_i2c_polling()
142 uint32_t sec_run = 10; in test_log_i2c_irq() local
147 sec_run = (uint32_t)strtoul(argv[0], NULL, 0); in test_log_i2c_irq()
150 iut_case_print("starting to run %d seconds ...\n", sec_run); in test_log_i2c_irq()
152 ret = impl_test_log_i2c(sec_run, IRQ, &err_cnt); in test_log_i2c_irq()
[all …]
/hal_intel-latest/zephyr/iut_test/test_zephyr/timer/
Dtest_sys_clock.c15 uint32_t sec_run = 60; in test_sys_clock_freq() local
32 sec_run = (uint32_t)strtoul(argv[0], NULL, 0); in test_sys_clock_freq()
35 iut_case_print("to run %u seconds\n", sec_run); in test_sys_clock_freq()
45 k_msleep(sec_run * 1000); in test_sys_clock_freq()
81 TEST_ASSERT_TRUE(abs((int)(us_rtc - sec_run * USEC_PER_SEC - us_rtc)) * 100 in test_sys_clock_freq()
82 < (sec_run * USEC_PER_SEC - us_rtc)); in test_sys_clock_freq()