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

Function set_ctrl

freebsd/arm/arm/generic_timer.c:180–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static int
181set_ctrl(uint32_t val, bool physical)
182{
183
184 if (physical)
185 set_el0(cntp_ctl, val);
186 else
187 set_el0(cntv_ctl, val);
188 isb();
189
190 return (0);
191}
192
193static int
194set_tval(uint32_t val, bool physical)

Callers 3

arm_tmr_startFunction · 0.85
arm_tmr_disableFunction · 0.85
arm_tmr_intrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected