Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_watchdog_timer-test.c31 #define WTIF BIT(3) macro
129 watchdog_write_wtcr(qts, wd, WTCLK(1) | WTRF | WTIF | WTR); in test_init()
145 WTCLK(0) | WTE | WTRF | WTRE | WTIF | WTIE | WTR); in test_reset_action()
152 WTCLK(0) | WTE | WTIF | WTIE | WTRE); in test_reset_action()
183 WTCLK(wtclk) | WTE | WTIF | WTIS(wtis) | WTIE | WTR); in test_prescaler()
189 g_assert_false(watchdog_read_wtcr(qts, wd) & WTIF); in test_prescaler()
192 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_prescaler()
213 watchdog_write_wtcr(qts, wd, WTCLK(0) | WTE | WTIF | WTRF | WTR); in test_enabling_flags()
215 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags()
219 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags()
[all …]