Searched refs:writertc (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.2-release/sys/x86/isa/ |
H A D | atrtc.c | 87 writertc(int reg, u_char val) function 112 writertc(RTC_STATUSA, rtc_statusa); 113 writertc(RTC_STATUSB, RTCSB_24HR); 121 writertc(RTC_STATUSA, rtc_statusa); 129 writertc(RTC_STATUSB, rtc_statusb); 138 writertc(RTC_STATUSB, rtc_statusb); 148 writertc(RTC_STATUSB, RTCSB_24HR); 149 writertc(RTC_STATUSA, rtc_statusa); 150 writertc(RTC_STATUSB, rtc_statusb); 305 writertc(RTC_STATUS [all...] |
/freebsd-10.2-release/sys/i386/xen/ |
H A D | clock.c | 494 writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR); 500 writertc(RTC_SEC, bin2bcd(tm%60)); tm /= 60; /* Write back Seconds */ 501 writertc(RTC_MIN, bin2bcd(tm%60)); tm /= 60; /* Write back Minutes */ 502 writertc(RTC_HRS, bin2bcd(tm%24)); tm /= 24; /* Write back Hours */ 505 writertc(RTC_WDAY, (tm + 4) % 7 + 1); /* Write back Weekday */ 512 writertc(RTC_YEAR, bin2bcd(y%100)); /* Write back Year */ 514 writertc(RTC_CENTURY, bin2bcd(y/100)); /* ... and Century */ 527 writertc(RTC_MONTH, bin2bcd(m + 1)); /* Write back Month */ 528 writertc(RTC_DAY, bin2bcd(tm + 1)); /* Write back Month Day */ 531 writertc(RTC_STATUS [all...] |
/freebsd-10.2-release/sys/dev/nvram/ |
H A D | nvram.c | 138 writertc(nv_off, v); 144 writertc(NVRAM_FIRST + CKSUM_MSB, sum >> 8); 145 writertc(NVRAM_FIRST + CKSUM_LSB, sum);
|
/freebsd-10.2-release/sys/isa/ |
H A D | rtc.h | 119 void writertc(int reg, u_char val);
|
/freebsd-10.2-release/sys/mips/malta/ |
H A D | malta_machdep.c | 165 writertc(uint8_t addr, uint8_t val) function 240 writertc(RTC_STATUSB, (rtcin(RTC_STATUSB) | RTCSB_BCD));
|
Completed in 118 milliseconds