Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rtc/
Drtc-m48t86.c28 #define M48T86_MONTH 0x08 /* 1 - 12 */ macro
80 tm->tm_mon = m48t86_readb(dev, M48T86_MONTH) - 1; in m48t86_rtc_read_time()
91 tm->tm_mon = bcd2bin(m48t86_readb(dev, M48T86_MONTH)) - 1; in m48t86_rtc_read_time()
120 m48t86_writeb(dev, tm->tm_mon + 1, M48T86_MONTH); in m48t86_rtc_set_time()
129 m48t86_writeb(dev, bin2bcd(tm->tm_mon + 1), M48T86_MONTH); in m48t86_rtc_set_time()