Lines Matching refs:rtc7301_write
74 static void rtc7301_write(struct rtc7301_priv *priv, u8 val, unsigned int reg) in rtc7301_write() function
175 rtc7301_write(priv, tm->tm_sec % 10, RTC7301_1_SEC); in rtc7301_write_time()
176 rtc7301_write(priv, tm->tm_sec / 10, RTC7301_10_SEC); in rtc7301_write_time()
178 rtc7301_write(priv, tm->tm_min % 10, RTC7301_1_MIN); in rtc7301_write_time()
179 rtc7301_write(priv, tm->tm_min / 10, RTC7301_10_MIN); in rtc7301_write_time()
181 rtc7301_write(priv, tm->tm_hour % 10, RTC7301_1_HOUR); in rtc7301_write_time()
182 rtc7301_write(priv, tm->tm_hour / 10, RTC7301_10_HOUR); in rtc7301_write_time()
184 rtc7301_write(priv, tm->tm_mday % 10, RTC7301_1_DAY); in rtc7301_write_time()
185 rtc7301_write(priv, tm->tm_mday / 10, RTC7301_10_DAY); in rtc7301_write_time()
188 rtc7301_write(priv, alarm ? RTC7301_AE : tm->tm_wday, in rtc7301_write_time()
194 rtc7301_write(priv, (tm->tm_mon + 1) % 10, RTC7301_1_MONTH); in rtc7301_write_time()
195 rtc7301_write(priv, (tm->tm_mon + 1) / 10, RTC7301_10_MONTH); in rtc7301_write_time()
199 rtc7301_write(priv, year % 10, RTC7301_1_YEAR); in rtc7301_write_time()
200 rtc7301_write(priv, (year / 10) % 10, RTC7301_10_YEAR); in rtc7301_write_time()
201 rtc7301_write(priv, (year / 100) % 10, RTC7301_100_YEAR); in rtc7301_write_time()
202 rtc7301_write(priv, year / 1000, RTC7301_1000_YEAR); in rtc7301_write_time()
349 rtc7301_write(priv, 0, RTC7301_TIMER_CONTROL); in rtc7301_init()