Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/clocksource/
Dtimer-integrator-ap.c29 u32 ctrl = TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC; in integrator_clocksource_init()
72 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown()
82 ~(TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC); in clkevt_set_oneshot()
91 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic()
98 ctrl |= TIMER_CTRL_PERIODIC | TIMER_CTRL_ENABLE; in clkevt_set_periodic()
107 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
109 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
Dmps2-timer.c24 #define TIMER_CTRL_ENABLE BIT(0) macro
65 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_next_event()
76 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_periodic()
223 writel_relaxed(TIMER_CTRL_ENABLE, base + TIMER_CTRL); in mps2_clocksource_init()
Dtimer-sp804.c141 writel(TIMER_CTRL_32BIT | TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC, in sp804_clocksource_and_sched_clock_init()
187 TIMER_CTRL_PERIODIC | TIMER_CTRL_ENABLE; in sp804_set_periodic()
199 TIMER_CTRL_ONESHOT | TIMER_CTRL_ENABLE; in sp804_set_next_event()
Dtimer-sp.h27 #define TIMER_CTRL_ENABLE (1 << 7) /* ACVR */ macro