Searched refs:NVRAM_FIRST (Results 1 – 1 of 1) sorted by relevance
55 #define NVRAM_FIRST RTC_DIAG /* 14 */ macro98 nv_off = uio->uio_offset + NVRAM_FIRST; in nvram_read()99 if (nv_off < NVRAM_FIRST || nv_off >= NVRAM_LAST) in nvram_read()121 sum = rtcin(NVRAM_FIRST + CKSUM_MSB) << 8 | in nvram_write()122 rtcin(NVRAM_FIRST + CKSUM_LSB); in nvram_write()124 sum -= rtcin(NVRAM_FIRST + i); in nvram_write()131 nv_off = uio->uio_offset + NVRAM_FIRST; in nvram_write()132 if (nv_off < NVRAM_FIRST || nv_off >= NVRAM_LAST) { in nvram_write()143 sum += rtcin(NVRAM_FIRST + i); in nvram_write()144 writertc(NVRAM_FIRST + CKSUM_MSB, sum >> 8); in nvram_write()[all …]