Searched refs:CMOS_OFFSET_MRC_SEED_CHK (Results 1 – 1 of 1) sorted by relevance
42 #define CMOS_OFFSET_MRC_SEED_CHK 160 macro96 seed_checksum = rtc_read8(dev, CMOS_OFFSET_MRC_SEED_CHK); in read_seed_from_cmos()97 seed_checksum |= rtc_read8(dev, CMOS_OFFSET_MRC_SEED_CHK + 1) << 8; in read_seed_from_cmos()162 rtc_write8(dev, CMOS_OFFSET_MRC_SEED_CHK, checksum & 0xff); in write_seeds_to_cmos()163 rtc_write8(dev, CMOS_OFFSET_MRC_SEED_CHK + 1, (checksum >> 8) & 0xff); in write_seeds_to_cmos()