Searched refs:rtc7301_write (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/rtc/ |
D | rtc-r7301.c | 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() [all …]
|