Searched refs:RV8803_SEC (Results 1 – 1 of 1) sorted by relevance
24 #define RV8803_SEC 0x00 macro257 ret = rv8803_read_regs(rv8803->client, RV8803_SEC, 7, date); in rv8803_get_time()261 if ((date1[RV8803_SEC] & 0x7f) == bin2bcd(59)) { in rv8803_get_time()262 ret = rv8803_read_regs(rv8803->client, RV8803_SEC, 7, date2); in rv8803_get_time()266 if ((date2[RV8803_SEC] & 0x7f) != bin2bcd(59)) in rv8803_get_time()270 tm->tm_sec = bcd2bin(date[RV8803_SEC] & 0x7f); in rv8803_get_time()297 date[RV8803_SEC] = bin2bcd(tm->tm_sec); in rv8803_set_time()305 ret = rv8803_write_regs(rv8803->client, RV8803_SEC, 7, date); in rv8803_set_time()