Lines Matching refs:qtest_readl
68 tmp = qtest_readl(qts, WDOG_BASE + WDOGCOUNT); in test_wdogcount()
70 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == tmp); in test_wdogcount()
74 g_assert(0xBEEF == qtest_readl(qts, WDOG_BASE + WDOGCOUNT)); in test_wdogcount()
78 g_assert(0x2AAAAAAA == qtest_readl(qts, WDOG_BASE + WDOGCOUNT)); in test_wdogcount()
82 g_assert(0x2AAAAAAA == qtest_readl(qts, WDOG_BASE + WDOGCOUNT)); in test_wdogcount()
86 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGCOUNT)); in test_wdogcount()
98 tmp_cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_wdogcfg()
100 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCFG) == tmp_cfg); in test_wdogcfg()
104 g_assert(0xFFFFFFFF == qtest_readl(qts, WDOG_BASE + WDOGCFG)); in test_wdogcfg()
106 tmp_cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_wdogcfg()
116 tmp_cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_wdogcfg()
123 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGCFG)); in test_wdogcfg()
135 tmp = qtest_readl(qts, WDOG_BASE + WDOGCMP0); in test_wdogcmp0()
137 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCMP0) == tmp); in test_wdogcmp0()
141 g_assert(0xBEEF == qtest_readl(qts, WDOG_BASE + WDOGCMP0)); in test_wdogcmp0()
152 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGKEY)); in test_wdogkey()
155 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGKEY)); in test_wdogkey()
158 g_assert(1 == qtest_readl(qts, WDOG_BASE + WDOGKEY)); in test_wdogkey()
161 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGKEY)); in test_wdogkey()
172 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGFEED)); in test_wdogfeed()
175 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGFEED)); in test_wdogfeed()
190 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == fake_count); in test_scaled_wdogs()
191 g_assert((uint16_t)qtest_readl(qts, WDOG_BASE + WDOGS) == in test_scaled_wdogs()
195 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_scaled_wdogs()
199 g_assert((uint16_t)qtest_readl(qts, WDOG_BASE + WDOGS) == in test_scaled_wdogs()
217 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_watchdog()
225 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == in test_watchdog()
227 g_assert(qtest_readl(qts, WDOG_BASE + WDOGS) == in test_watchdog()
230 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_watchdog()
243 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_watchdog()
259 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_scaled_watchdog()
267 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == in test_scaled_watchdog()
270 g_assert(10 == qtest_readl(qts, WDOG_BASE + WDOGS)); in test_scaled_watchdog()
272 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_scaled_watchdog()
285 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_scaled_watchdog()
301 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_periodic_int()
310 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGCOUNT)); in test_periodic_int()
311 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGS)); in test_periodic_int()
313 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_periodic_int()
324 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_periodic_int()
329 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGCOUNT)); in test_periodic_int()
330 g_assert(0 == qtest_readl(qts, WDOG_BASE + WDOGS)); in test_periodic_int()
332 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_periodic_int()
343 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_periodic_int()
359 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_enable_disable()
367 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == in test_enable_disable()
369 g_assert(2 == qtest_readl(qts, WDOG_BASE + WDOGS)); in test_enable_disable()
371 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_enable_disable()
385 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == in test_enable_disable()
387 g_assert(2 == qtest_readl(qts, WDOG_BASE + WDOGS)); in test_enable_disable()
389 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_enable_disable()
403 g_assert(qtest_readl(qts, WDOG_BASE + WDOGCOUNT) == in test_enable_disable()
405 g_assert(10 == qtest_readl(qts, WDOG_BASE + WDOGS)); in test_enable_disable()
407 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_enable_disable()
420 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_enable_disable()