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

Function rtc_start

freebsd/x86/isa/atrtc.c:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209};
210
211static int
212rtc_start(struct eventtimer *et, sbintime_t first, sbintime_t period)
213{
214
215 atrtc_rate(max(fls(period + (period >> 1)) - 17, 1));
216 atrtc_enable_intr();
217 return (0);
218}
219
220static int
221rtc_stop(struct eventtimer *et)

Callers

nothing calls this directly

Calls 4

atrtc_rateFunction · 0.85
maxFunction · 0.85
atrtc_enable_intrFunction · 0.85
flsFunction · 0.50

Tested by

no test coverage detected