Home
last modified time | relevance | path

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

/qemu/tests/qtest/
H A Dsse-timer-test.c46 #define CNTP_CTL 0x2c macro
73 writel(TIMER_BASE + CNTP_CTL, 0); in reset_counter_and_timer()
118 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 0); in test_timer()
123 writel(TIMER_BASE + CNTP_CTL, 1); in test_timer()
140 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 5); in test_timer()
149 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 1); in test_timer()
156 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 1); in test_timer()
158 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 5); in test_timer()
163 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 5); in test_timer()
166 g_assert_cmpuint(readl(TIMER_BASE + CNTP_CTL), ==, 1); in test_timer()
[all …]
/qemu/hw/timer/
H A Dsse-timer.c57 REG32(CNTP_CTL, 0x2c)
58 FIELD(CNTP_CTL, ENABLE, 0, 1)
59 FIELD(CNTP_CTL, IMASK, 1, 1)
60 FIELD(CNTP_CTL, ISTATUS, 2, 1)