MCPcopy Create free account
hub / github.com/F-Stack/f-stack / arm_tmr_intr

Function arm_tmr_intr

freebsd/arm/arm/generic_timer.c:298–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298static int
299arm_tmr_intr(void *arg)
300{
301 struct arm_tmr_softc *sc;
302 int ctrl;
303
304 sc = (struct arm_tmr_softc *)arg;
305 ctrl = get_ctrl(sc->physical);
306 if (ctrl & GT_CTRL_INT_STAT) {
307 ctrl |= GT_CTRL_INT_MASK;
308 set_ctrl(ctrl, sc->physical);
309 }
310
311 if (sc->et.et_active)
312 sc->et.et_event_cb(&sc->et, sc->et.et_arg);
313
314 return (FILTER_HANDLED);
315}
316
317#ifdef FDT
318static int

Callers

nothing calls this directly

Calls 2

get_ctrlFunction · 0.85
set_ctrlFunction · 0.85

Tested by

no test coverage detected