Searched refs:RX8025_REG_HOUR (Results 1 – 1 of 1) sorted by relevance
29 #define RX8025_REG_HOUR 0x02 macro234 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x3f); in rx8025_get_time()236 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x1f) % 12 in rx8025_get_time()237 + (date[RX8025_REG_HOUR] & 0x20 ? 12 : 0); in rx8025_get_time()262 date[RX8025_REG_HOUR] = bin2bcd(dt->tm_hour); in rx8025_set_time()264 date[RX8025_REG_HOUR] = (dt->tm_hour >= 12 ? 0x20 : 0) in rx8025_set_time()314 hour_reg = rx8025_read_reg(client, RX8025_REG_HOUR); in rx8025_init_client()