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

Function rtcin_locked

freebsd/x86/isa/atrtc.c:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 */
94
95static inline u_char
96rtcin_locked(int reg)
97{
98
99 if (rtc_reg != reg) {
100 inb(0x84);
101 outb(IO_RTC, reg);
102 rtc_reg = reg;
103 inb(0x84);
104 }
105 return (inb(IO_RTC + 1));
106}
107
108static inline void
109rtcout_locked(int reg, u_char val)

Callers 6

rtcinFunction · 0.85
atrtc_enable_intrFunction · 0.85
atrtc_disable_intrFunction · 0.85
atrtc_restoreFunction · 0.85
atrtc_settimeFunction · 0.85
atrtc_gettimeFunction · 0.85

Calls 2

inbFunction · 0.50
outbFunction · 0.50

Tested by

no test coverage detected