Searched refs:CNTCR (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | sse-timer-test.c | 33 #define CNTCR 0 macro 72 writel(COUNTER_BASE + CNTCR, 0); in reset_counter_and_timer() 89 writel(COUNTER_BASE + CNTCR, 1); in test_counter() 94 writel(COUNTER_BASE + CNTCR, 0); in test_counter() 96 writel(COUNTER_BASE + CNTCR, 5); /* EN, SCEN */ in test_counter() 115 writel(COUNTER_BASE + CNTCR, 1); in test_timer() 201 writel(COUNTER_BASE + CNTCR, 1); in test_timer_scale_change() 210 writel(COUNTER_BASE + CNTCR, 0); in test_timer_scale_change() 212 writel(COUNTER_BASE + CNTCR, 5); /* EN, SCEN */ in test_timer_scale_change()
|
/openbmc/qemu/hw/timer/ |
H A D | sse-counter.c | 42 REG32(CNTCR, 0x0) 43 FIELD(CNTCR, EN, 0, 1) 44 FIELD(CNTCR, HDBG, 1, 1) 45 FIELD(CNTCR, SCEN, 2, 1) 46 FIELD(CNTCR, INTRMASK, 3, 1) 47 FIELD(CNTCR, PSLVERRDIS, 4, 1) 48 FIELD(CNTCR, INTRCLR, 5, 1)
|
/openbmc/linux/arch/arm/mach-shmobile/ |
H A D | setup-rcar-gen2.c | 58 #define CNTCR 0 macro 108 if ((ioread32(base + CNTCR) & 1) == 0 || in rcar_gen2_timer_init() 115 iowrite32(1, base + CNTCR); in rcar_gen2_timer_init()
|