Searched refs:M48T86_REG_HOUR (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-m48t86.c26 #define M48T86_REG_HOUR 0x04 macro
57 tm->tm_hour = ops->readbyte(M48T86_REG_HOUR) & 0x3F; m48t86_rtc_read_time()
67 tm->tm_hour = bcd2bin(ops->readbyte(M48T86_REG_HOUR) & 0x3F); m48t86_rtc_read_time()
77 if (ops->readbyte(M48T86_REG_HOUR) & 0x80) m48t86_rtc_read_time()
99 ops->writebyte(tm->tm_hour, M48T86_REG_HOUR); m48t86_rtc_set_time()
108 ops->writebyte(bin2bcd(tm->tm_hour), M48T86_REG_HOUR); m48t86_rtc_set_time()

Completed in 36 milliseconds