Searched refs:watchdog_read_wtcr (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_watchdog_timer-test.c | 65 static uint32_t watchdog_read_wtcr(QTestState *qts, const Watchdog *wd) in watchdog_read_wtcr() function 78 switch (extract32(watchdog_read_wtcr(qts, wd), 10, 2)) { in watchdog_prescaler() 106 uint32_t wtis = extract32(watchdog_read_wtcr(qts, wd), 4, 2); in watchdog_interrupt_cycles() 130 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(1)); in test_init() 146 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, in test_reset_action() 151 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, in test_reset_action() 167 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(1) | WTRF); in test_reset_action() 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() 215 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags() [all …]
|