Searched refs:MAX6900_REG_CENTURY (Results 1 – 1 of 1) sorted by relevance
30 #define MAX6900_REG_CENTURY 9 /* century */ macro77 .len = sizeof(buf[MAX6900_REG_CENTURY]), in max6900_i2c_read_regs()78 .buf = &buf[MAX6900_REG_CENTURY] in max6900_i2c_read_regs()117 i2c_century_buf[1] = buf[MAX6900_REG_CENTURY]; in max6900_i2c_write_regs()156 bcd2bin(regs[MAX6900_REG_CENTURY]) * 100 - 1900; in max6900_rtc_read_time()184 regs[MAX6900_REG_CENTURY] = bin2bcd((tm->tm_year + 1900) / 100); in max6900_rtc_set_time()