Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dtest-arm-mptimer.c19 #define TIMER_BASE_PHYS 0x1e000600 macro
40 writel(TIMER_BASE_PHYS + TIMER_LOAD, load); in timer_load()
51 writel(TIMER_BASE_PHYS + TIMER_CONTROL, ctl); in timer_start()
56 writel(TIMER_BASE_PHYS + TIMER_CONTROL, 0); in timer_stop()
61 writel(TIMER_BASE_PHYS + TIMER_INTSTAT, 1); in timer_int_clr()
73 uint32_t int_sts = readl(TIMER_BASE_PHYS + TIMER_INTSTAT); in timer_get_and_clr_int_sts()
84 return readl(TIMER_BASE_PHYS + TIMER_COUNTER); in timer_counter()
89 writel(TIMER_BASE_PHYS + TIMER_COUNTER, value); in timer_set_counter()