Lines Matching refs:watchdog_read_wtcr

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()
219 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags()
220 g_assert_false(watchdog_read_wtcr(qts, wd) & WTRF); in test_enabling_flags()
228 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags()
232 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags()
233 g_assert_false(watchdog_read_wtcr(qts, wd) & WTRF); in test_enabling_flags()
241 g_assert_true(watchdog_read_wtcr(qts, wd) & WTIF); in test_enabling_flags()
268 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(0) | WTE | WTIE); in test_pause()
277 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(0) | WTIE); in test_pause()
281 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(0) | WTIE); in test_pause()
286 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(0) | WTE | WTIE); in test_pause()
290 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, in test_pause()