Searched refs:SD3078_REG_HR (Results 1 – 1 of 1) sorted by relevance
16 #define SD3078_REG_HR 0x02 macro106 hour = rtc_data[SD3078_REG_HR]; in sd3078_rtc_read_time()108 tm->tm_hour = bcd2bin(rtc_data[SD3078_REG_HR] & 0x3F); in sd3078_rtc_read_time()110 tm->tm_hour = bcd2bin(rtc_data[SD3078_REG_HR] & 0x1F) + 12; in sd3078_rtc_read_time()112 tm->tm_hour = bcd2bin(rtc_data[SD3078_REG_HR] & 0x1F); in sd3078_rtc_read_time()131 rtc_data[SD3078_REG_HR] = bin2bcd(tm->tm_hour) | 0x80; in sd3078_rtc_set_time()