Searched refs:IO_RTC (Results 1 – 11 of 11) sorted by relevance
/openbsd/sys/arch/loongson/loongson/ |
H A D | yeeloong_machdep.c | 103 { IO_RTC, IO_RTC + 1 }, 120 { IO_RTC, IO_RTC + 1 }, 141 { IO_RTC, IO_RTC + 1 },
|
H A D | generic3a_machdep.c | 124 { IO_RTC, IO_RTC + 1 },
|
/openbsd/sys/dev/isa/ |
H A D | isareg.h | 57 #define IO_RTC 0x070 /* RTC */ macro 58 #define IO_NMI IO_RTC /* NMI Control */
|
/openbsd/sys/arch/amd64/isa/ |
H A D | clock.c | 144 outb(IO_RTC, reg); in mc146818_read() 146 return (inb(IO_RTC+1)); in mc146818_read() 152 outb(IO_RTC, reg); in mc146818_write() 154 outb(IO_RTC+1, datum); in mc146818_write()
|
/openbsd/sys/arch/i386/stand/libsa/ |
H A D | bioscons.c | 57 outb(IO_RTC, NVRAM_EQUIPMENT); in pc_probe() 58 if ((inb(IO_RTC+1) & PRESENT_MASK) == PRESENT_MASK) { in pc_probe()
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | bioscons.c | 59 outb(IO_RTC, NVRAM_EQUIPMENT); in pc_probe() 60 if ((inb(IO_RTC+1) & PRESENT_MASK) == PRESENT_MASK) { in pc_probe()
|
/openbsd/sys/arch/i386/isa/ |
H A D | clock.c | 148 outb(IO_RTC, reg); in mc146818_read() 150 v = inb(IO_RTC+1); in mc146818_read() 162 outb(IO_RTC, reg); in mc146818_write() 164 outb(IO_RTC+1, datum); in mc146818_write()
|
/openbsd/sys/arch/i386/i386/ |
H A D | cpu.c | 763 outb(IO_RTC, NVRAM_RESET); in mp_cpu_start() 764 outb(IO_RTC+1, NVRAM_RESET_JUMP); in mp_cpu_start() 811 outb(IO_RTC, NVRAM_RESET); in mp_cpu_start_cleanup() 812 outb(IO_RTC+1, NVRAM_RESET_RST); in mp_cpu_start_cleanup()
|
/openbsd/usr.sbin/vmd/ |
H A D | mc146818.c | 286 if (port == IO_RTC) { in vcpu_exit_mc146818() 298 } else if (port == IO_RTC + 1) { in vcpu_exit_mc146818()
|
H A D | x86_vm.c | 363 ioports_map[IO_RTC] = vcpu_exit_mc146818; in init_emulated_hw() 364 ioports_map[IO_RTC + 1] = vcpu_exit_mc146818; in init_emulated_hw() 439 ioports_map[IO_RTC] = vcpu_exit_mc146818; in restore_emulated_hw() 440 ioports_map[IO_RTC + 1] = vcpu_exit_mc146818; in restore_emulated_hw()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | cpu.c | 1162 outb(IO_RTC, NVRAM_RESET); in mp_cpu_start() 1163 outb(IO_RTC+1, NVRAM_RESET_JUMP); in mp_cpu_start() 1208 outb(IO_RTC, NVRAM_RESET); in mp_cpu_start_cleanup() 1209 outb(IO_RTC+1, NVRAM_RESET_RST); in mp_cpu_start_cleanup()
|