Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rtc/
Drtc-m48t86.c47 static unsigned char m48t86_readb(struct device *dev, unsigned long addr) in m48t86_readb() function
71 reg = m48t86_readb(dev, M48T86_B); in m48t86_rtc_read_time()
75 tm->tm_sec = m48t86_readb(dev, M48T86_SEC); in m48t86_rtc_read_time()
76 tm->tm_min = m48t86_readb(dev, M48T86_MIN); in m48t86_rtc_read_time()
77 tm->tm_hour = m48t86_readb(dev, M48T86_HOUR) & 0x3f; in m48t86_rtc_read_time()
78 tm->tm_mday = m48t86_readb(dev, M48T86_DOM); in m48t86_rtc_read_time()
80 tm->tm_mon = m48t86_readb(dev, M48T86_MONTH) - 1; in m48t86_rtc_read_time()
81 tm->tm_year = m48t86_readb(dev, M48T86_YEAR) + 100; in m48t86_rtc_read_time()
82 tm->tm_wday = m48t86_readb(dev, M48T86_DOW); in m48t86_rtc_read_time()
85 tm->tm_sec = bcd2bin(m48t86_readb(dev, M48T86_SEC)); in m48t86_rtc_read_time()
[all …]