Searched refs:M48T86_SEC (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-m48t86.c | 19 #define M48T86_SEC 0x00 macro 74 tm->tm_sec = m48t86_readb(dev, M48T86_SEC); in m48t86_rtc_read_time() 84 tm->tm_sec = bcd2bin(m48t86_readb(dev, M48T86_SEC)); in m48t86_rtc_read_time() 115 m48t86_writeb(dev, tm->tm_sec, M48T86_SEC); in m48t86_rtc_set_time() 124 m48t86_writeb(dev, bin2bcd(tm->tm_sec), M48T86_SEC); in m48t86_rtc_set_time()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-m48t86.c | 20 #define M48T86_SEC 0x00 macro 75 tm->tm_sec = m48t86_readb(dev, M48T86_SEC); in m48t86_rtc_read_time() 85 tm->tm_sec = bcd2bin(m48t86_readb(dev, M48T86_SEC)); in m48t86_rtc_read_time() 116 m48t86_writeb(dev, tm->tm_sec, M48T86_SEC); in m48t86_rtc_set_time() 125 m48t86_writeb(dev, bin2bcd(tm->tm_sec), M48T86_SEC); in m48t86_rtc_set_time()
|
Completed in 2 milliseconds