Searched refs:WTCLK (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_watchdog_timer-test.c | 27 #define WTCLK(rv) ((rv) << 10) macro 129 watchdog_write_wtcr(qts, wd, WTCLK(1) | WTRF | WTIF | WTR); in test_init() 130 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(1)); in test_init() 145 WTCLK(0) | WTE | WTRF | WTRE | WTIF | WTIE | WTR); in test_reset_action() 147 WTCLK(0) | WTE | WTRE | WTIE); in test_reset_action() 152 WTCLK(0) | WTE | WTIF | WTIE | WTRE); in test_reset_action() 167 g_assert_cmphex(watchdog_read_wtcr(qts, wd), ==, WTCLK(1) | WTRF); in test_reset_action() 183 WTCLK(wtclk) | WTE | WTIF | WTIS(wtis) | WTIE | WTR); in test_prescaler() 213 watchdog_write_wtcr(qts, wd, WTCLK(0) | WTE | WTIF | WTRF | WTR); in test_enabling_flags() 226 watchdog_write_wtcr(qts, wd, WTCLK(0) | WTE | WTIF | WTIE | WTRF | WTR); in test_enabling_flags() [all …]
|
H A D | npcm7xx_timer-test.c | 35 # define WTCLK(x) ((x) << 10) macro 200 g_assert_cmphex(tim_read(td, WTCR), ==, WTCLK(1)); in test_reset()
|