Searched refs:M48T86_HOUR (Results 1 – 1 of 1) sorted by relevance
24 #define M48T86_HOUR 0x04 macro77 tm->tm_hour = m48t86_readb(dev, M48T86_HOUR) & 0x3f; in m48t86_rtc_read_time()87 tm->tm_hour = bcd2bin(m48t86_readb(dev, M48T86_HOUR) & in m48t86_rtc_read_time()98 if (m48t86_readb(dev, M48T86_HOUR) & 0x80) in m48t86_rtc_read_time()118 m48t86_writeb(dev, tm->tm_hour, M48T86_HOUR); in m48t86_rtc_set_time()127 m48t86_writeb(dev, bin2bcd(tm->tm_hour), M48T86_HOUR); in m48t86_rtc_set_time()