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

Function mv_timer_stop

freebsd/arm/mv/timer.c:539–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539static int
540mv_timer_stop(struct eventtimer *et)
541{
542 uint32_t val;
543
544 val = mv_get_timer_control();
545 val &= ~(CPU_TIMER0_EN | CPU_TIMER0_AUTO);
546 mv_set_timer_control(val);
547 return (0);
548}
549
550static void
551mv_setup_timers(void)

Callers

nothing calls this directly

Calls 2

mv_get_timer_controlFunction · 0.70
mv_set_timer_controlFunction · 0.70

Tested by

no test coverage detected