Searched refs:m48t86_writeb (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-m48t86.c | 57 static void m48t86_writeb(struct device *dev, in m48t86_writeb() function 111 m48t86_writeb(dev, reg, M48T86_B); in m48t86_rtc_set_time() 115 m48t86_writeb(dev, tm->tm_sec, M48T86_SEC); in m48t86_rtc_set_time() 116 m48t86_writeb(dev, tm->tm_min, M48T86_MIN); in m48t86_rtc_set_time() 117 m48t86_writeb(dev, tm->tm_hour, M48T86_HOUR); in m48t86_rtc_set_time() 118 m48t86_writeb(dev, tm->tm_mday, M48T86_DOM); in m48t86_rtc_set_time() 119 m48t86_writeb(dev, tm->tm_mon + 1, M48T86_MONTH); in m48t86_rtc_set_time() 120 m48t86_writeb(dev, tm->tm_year % 100, M48T86_YEAR); in m48t86_rtc_set_time() 121 m48t86_writeb(dev, tm->tm_wday, M48T86_DOW); in m48t86_rtc_set_time() 124 m48t86_writeb(dev, bin2bcd(tm->tm_sec), M48T86_SEC); in m48t86_rtc_set_time() [all …]
|