Home
last modified time | relevance | path

Searched refs:M48T86_HOUR (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/rtc/
Drtc-m48t86.c24 #define M48T86_HOUR 0x04 macro
77 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()