Searched refs:NVRAM_FIRST (Results 1 – 1 of 1) sorted by relevance
57 #define NVRAM_FIRST RTC_DIAG /* 14 */ macro100 nv_off = uio->uio_offset + NVRAM_FIRST; in nvram_read()101 if (nv_off < NVRAM_FIRST || nv_off >= NVRAM_LAST) in nvram_read()123 sum = rtcin(NVRAM_FIRST + CKSUM_MSB) << 8 | in nvram_write()124 rtcin(NVRAM_FIRST + CKSUM_LSB); in nvram_write()126 sum -= rtcin(NVRAM_FIRST + i); in nvram_write()133 nv_off = uio->uio_offset + NVRAM_FIRST; in nvram_write()134 if (nv_off < NVRAM_FIRST || nv_off >= NVRAM_LAST) { in nvram_write()145 sum += rtcin(NVRAM_FIRST + i); in nvram_write()146 writertc(NVRAM_FIRST + CKSUM_MSB, sum >> 8); in nvram_write()[all …]