Searched refs:MAX6900_REG_CENTURY (Results 1 – 1 of 1) sorted by relevance
32 #define MAX6900_REG_CENTURY 9 /* century */ macro79 .len = sizeof(buf[MAX6900_REG_CENTURY]), in max6900_i2c_read_regs()80 .buf = &buf[MAX6900_REG_CENTURY] in max6900_i2c_read_regs()119 i2c_century_buf[1] = buf[MAX6900_REG_CENTURY]; in max6900_i2c_write_regs()158 bcd2bin(regs[MAX6900_REG_CENTURY]) * 100 - 1900; in max6900_rtc_read_time()186 regs[MAX6900_REG_CENTURY] = bin2bcd((tm->tm_year + 1900) / 100); in max6900_rtc_set_time()