Home
last modified time | relevance | path

Searched refs:cnt1 (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/kernel/sched/metairq/src/
Dmain.c95 int cnt1, cnt2; in coop_thread1() local
102 cnt1 = coop_cnt1; in coop_thread1()
103 zassert_equal(cnt1, 0, "Unexpected cnt1 at start: %d", cnt1); in coop_thread1()
111 cnt1 = coop_cnt1; in coop_thread1()
112 zassert_equal(cnt1, 1, "Unexpected cnt1 at end: %d", cnt1); in coop_thread1()
126 int cnt1, cnt2; in coop_thread2() local
133 cnt1 = coop_cnt1; in coop_thread2()
134 zassert_equal(cnt1, 0, "Unexpected cnt1 at start: %d", cnt1); in coop_thread2()
153 cnt1 = coop_cnt1; in coop_thread2()
154 zassert_equal(cnt1, 0, "Unexpected cnt1 at end: %d", cnt1); in coop_thread2()
/Zephyr-latest/tests/subsys/logging/log_core_additional/src/
Dlog_test_user.c28 uint32_t cnt0, cnt1; in ZTEST_USER() local
36 cnt1 = log_buffered_cnt(); in ZTEST_USER()
37 zassert_true(cnt1 <= cnt0, "no message is handled"); in ZTEST_USER()
/Zephyr-latest/drivers/watchdog/
Dwdt_ite_it8xxx2.c78 uint16_t cnt1 = WARNING_TIMER_PERIOD_MS_TO_1024HZ_COUNT((data->timeout in wdt_it8xxx2_setup() local
113 inst->EWDCNTHR = (cnt1 >> 8) & 0xff; in wdt_it8xxx2_setup()
114 inst->EWDCNTLR = cnt1 & 0xff; in wdt_it8xxx2_setup()
/Zephyr-latest/drivers/timer/
Dnpcx_itim_timer.c218 uint32_t cnt1, cnt2; in npcx_itim_get_evt_cyc32() local
229 : [c1] "=&r"(cnt1), [c2] "=&r"(cnt2) in npcx_itim_get_evt_cyc32()
238 uint32_t cnt1 = npcx_itim_get_evt_cyc32(); in npcx_itim_evt_elapsed_cyc32() local
243 if (IS_BIT_SET(sys_cts, NPCX_ITCTSXX_TO_STS) || (cnt2 > cnt1)) { in npcx_itim_evt_elapsed_cyc32()
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dmain.c755 uint32_t cnt1 = 0; in ZTEST() local
789 LOG_INF("%u %u", cnt0++, cnt1++); in ZTEST()
790 LOG_DBG("%u %u", cnt0++, cnt1++); in ZTEST()
793 zassert_equal(cnt1, exp1, "Got:%u, Expected:%u", cnt1, exp1); in ZTEST()