Searched refs:RTC (Results 1 - 6 of 6) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Dnvram.c92 mc146818_write(RTC, nreg, 0);
117 return (mc146818_read(RTC, byteno + MC_NVRAM_START) & 0xff);
160 *p = mc146818_read(RTC, offset + i);
166 mc146818_write(RTC, offset + i, *p);
179 csum += mc146818_read(RTC, nreg);
186 if (((~csum & 0xff) != mc146818_read(RTC, MC_NVRAM_CSUM))
187 || (csum != mc146818_read(RTC, MC_NVRAM_CSUM + 1)))
195 mc146818_write(RTC, MC_NVRAM_CSUM, ~csum);
196 mc146818_write(RTC, MC_NVRAM_CSUM + 1, csum);
H A Dclockreg.h37 #define RTC ((struct rtc *)AD_RTC) macro
H A Dclock.c419 regb = mc146818_read(RTC, MC_REGB);
420 MC146818_GETTOD(RTC, &clkregs);
467 MC146818_PUTTOD(RTC, &clkregs);
474 * RTC-device support *
513 MC146818_GETTOD(RTC, &clkregs);
565 mc146818_write(RTC, MC_REGB,
566 mc146818_read(RTC, MC_REGB) | MC_REGB_24HR | MC_REGB_BINARY);
567 MC146818_GETTOD(RTC, &clkregs);
579 MC146818_PUTTOD(RTC, &clkregs);
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/mac68k/
H A Dpramasm.s4 * RTC toolkit version 1.08b, copyright 1995, erik vogan
45 * The following are the C interface functions to RTC access functions
56 * the MRG method of accessing the ADB/PRAM/RTC.
153 * The following are the C interface functions to RTC access functions
222 * The following are the RTC access functions used by the interface
292 bsr _C_LABEL(Transfer) | and go de-write protect RTC
357 andib #0xF8,%d2 | don't touch any but RTC bits
366 bsr writebyte | write that byte to RTC too
379 bsr readbyte | read a byte from the RTC
382 bsr writebyte | write the data to the RTC
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/xen/include/xen-public/arch-x86/hvm/
H A Dsave.h475 * RTC
487 DECLARE_HVM_SAVE_TYPE(RTC, 11, struct hvm_hw_rtc);
/netbsd-6-1-5-RELEASE/sys/arch/atari/atari/
H A Dvectors.s177 VECTOR(badmfpint) | 94: RTC

Completed in 198 milliseconds