Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/kernel/sched/metairq/src/
Dmain.c87 int cnt1, cnt2; in coop_thread1() local
94 cnt1 = coop_cnt1; in coop_thread1()
95 zassert_equal(cnt1, 0, "Unexpected cnt1 at start: %d", cnt1); in coop_thread1()
103 cnt1 = coop_cnt1; in coop_thread1()
104 zassert_equal(cnt1, 1, "Unexpected cnt1 at end: %d", cnt1); in coop_thread1()
114 int cnt1, cnt2; in coop_thread2() local
121 cnt1 = coop_cnt1; in coop_thread2()
122 zassert_equal(cnt1, 0, "Unexpected cnt1 at start: %d", cnt1); in coop_thread2()
141 cnt1 = coop_cnt1; in coop_thread2()
142 zassert_equal(cnt1, 0, "Unexpected cnt1 at end: %d", cnt1); in coop_thread2()
/Zephyr-Core-3.5.0/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-Core-3.5.0/drivers/timer/
Dnpcx_itim_timer.c199 uint32_t cnt1, cnt2; in npcx_itim_get_evt_cyc32() local
201 cnt1 = evt_tmr->ITCNT32; in npcx_itim_get_evt_cyc32()
206 while ((cnt2 = evt_tmr->ITCNT32) != cnt1) in npcx_itim_get_evt_cyc32()
207 cnt1 = cnt2; in npcx_itim_get_evt_cyc32()
215 uint32_t cnt1 = npcx_itim_get_evt_cyc32(); in npcx_itim_evt_elapsed_cyc32() local
220 if (IS_BIT_SET(sys_cts, NPCX_ITCTSXX_TO_STS) || (cnt2 > cnt1)) { in npcx_itim_evt_elapsed_cyc32()
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/subsys/logging/log_api/src/
Dmain.c730 uint32_t cnt1 = 0; in ZTEST() local
764 LOG_INF("%u %u", cnt0++, cnt1++); in ZTEST()
765 LOG_DBG("%u %u", cnt0++, cnt1++); in ZTEST()
768 zassert_equal(cnt1, exp1, "Got:%u, Expected:%u", cnt1, exp1); in ZTEST()