Searched refs:rp5c01_write (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/rtc/ |
H A D | rtc-rp5c01.c | 76 static inline void rp5c01_write(struct rp5c01_priv *priv, unsigned int val, in rp5c01_write() function 84 rp5c01_write(priv, RP5C01_MODE_MODE00, RP5C01_MODE); in rp5c01_lock() 89 rp5c01_write(priv, RP5C01_MODE_TIMER_EN | RP5C01_MODE_MODE01, in rp5c01_unlock() 129 rp5c01_write(priv, tm->tm_sec / 10, RP5C01_10_SECOND); in rp5c01_set_time() 130 rp5c01_write(priv, tm->tm_sec % 10, RP5C01_1_SECOND); in rp5c01_set_time() 131 rp5c01_write(priv, tm->tm_min / 10, RP5C01_10_MINUTE); in rp5c01_set_time() 132 rp5c01_write(priv, tm->tm_min % 10, RP5C01_1_MINUTE); in rp5c01_set_time() 133 rp5c01_write(priv, tm->tm_hour / 10, RP5C01_10_HOUR); in rp5c01_set_time() 134 rp5c01_write(priv, tm->tm_hour % 10, RP5C01_1_HOUR); in rp5c01_set_time() 135 rp5c01_write(priv, tm->tm_mday / 10, RP5C01_10_DAY); in rp5c01_set_time() [all …]
|