Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dsifive-e-aon-watchdog-test.c43 #define WDOGCMP0 (0x20) macro
58 qtest_writel(qts, WDOG_BASE + WDOGCMP0, 0xBEEF); in test_init()
135 tmp = qtest_readl(qts, WDOG_BASE + WDOGCMP0); in test_wdogcmp0()
136 qtest_writel(qts, WDOG_BASE + WDOGCMP0, 0xBEEF); in test_wdogcmp0()
137 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCMP0) == tmp); in test_wdogcmp0()
140 qtest_writel(qts, WDOG_BASE + WDOGCMP0, 0xBEEF); in test_wdogcmp0()
141 g_assert(0xBEEF == qtest_readl(qts, WDOG_BASE + WDOGCMP0)); in test_wdogcmp0()
215 qtest_writel(qts, WDOG_BASE + WDOGCMP0, SIFIVE_E_LFCLK_DEFAULT_FREQ); in test_watchdog()
257 qtest_writel(qts, WDOG_BASE + WDOGCMP0, 10); in test_scaled_watchdog()
299 qtest_writel(qts, WDOG_BASE + WDOGCMP0, SIFIVE_E_LFCLK_DEFAULT_FREQ); in test_periodic_int()
[all …]