Lines Matching refs:rp5c01_write

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()
136 rp5c01_write(priv, tm->tm_mday % 10, RP5C01_1_DAY); in rp5c01_set_time()
138 rp5c01_write(priv, tm->tm_wday, RP5C01_DAY_OF_WEEK); in rp5c01_set_time()
139 rp5c01_write(priv, (tm->tm_mon + 1) / 10, RP5C01_10_MONTH); in rp5c01_set_time()
140 rp5c01_write(priv, (tm->tm_mon + 1) % 10, RP5C01_1_MONTH); in rp5c01_set_time()
143 rp5c01_write(priv, tm->tm_year / 10, RP5C01_10_YEAR); in rp5c01_set_time()
144 rp5c01_write(priv, tm->tm_year % 10, RP5C01_1_YEAR); in rp5c01_set_time()
174 rp5c01_write(priv, in rp5c01_nvram_read()
178 rp5c01_write(priv, in rp5c01_nvram_read()
182 rp5c01_write(priv, RP5C01_MODE_TIMER_EN | RP5C01_MODE_MODE01, in rp5c01_nvram_read()
202 rp5c01_write(priv, in rp5c01_nvram_write()
205 rp5c01_write(priv, data >> 4, pos); in rp5c01_nvram_write()
206 rp5c01_write(priv, in rp5c01_nvram_write()
209 rp5c01_write(priv, data & 0xf, pos++); in rp5c01_nvram_write()
210 rp5c01_write(priv, RP5C01_MODE_TIMER_EN | RP5C01_MODE_MODE01, in rp5c01_nvram_write()