Searched refs:WDOG_BASE (Results 1 – 2 of 2) sorted by relevance
/qemu/tests/qtest/ |
H A D | sifive-e-aon-watchdog-test.c | 37 #define WDOG_BASE (0x10000000) macro 52 qtest_writel(qts, WDOG_BASE + WDOGCOUNT, 0); in test_init() 55 qtest_writel(qts, WDOG_BASE + WDOGCFG, 0); in test_init() 68 tmp = qtest_readl(qts, WDOG_BASE + WDOGCOUNT); in test_wdogcount() 115 qtest_writel(qts, WDOG_BASE + WDOGCFG, 0); in test_wdogcfg() 135 tmp = qtest_readl(qts, WDOG_BASE + WDOGCMP0); in test_wdogcmp0() 217 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_watchdog() 221 qtest_writel(qts, WDOG_BASE + WDOGCFG, cfg); in test_watchdog() 230 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_watchdog() 239 qtest_writel(qts, WDOG_BASE + WDOGCOUNT, 0); in test_watchdog() [all …]
|
H A D | cmsdk-apb-watchdog-test.c | 25 #define WDOG_BASE 0x40000000 macro 42 g_assert_cmpuint(readl(WDOG_BASE + WDOGRIS), ==, 0); in test_watchdog() 44 writel(WDOG_BASE + WDOGCONTROL, 1); in test_watchdog() 45 writel(WDOG_BASE + WDOGLOAD, 1000); in test_watchdog() 49 g_assert_cmpuint(readl(WDOG_BASE + WDOGRIS), ==, 0); in test_watchdog() 54 g_assert_cmpuint(readl(WDOG_BASE + WDOGRIS), ==, 1); in test_watchdog() 64 g_assert_cmpuint(readl(WDOG_BASE + WDOGRIS), ==, 1); in test_watchdog() 65 writel(WDOG_BASE + WDOGINTCLR, 0); in test_watchdog() 81 writel(WDOG_BASE + WDOGCONTROL, 1); in test_clock_change() 82 writel(WDOG_BASE + WDOGLOAD, 1000); in test_clock_change() [all …]
|