Searched refs:msm6242_write (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-msm6242.c84 static inline void msm6242_write(struct msm6242_priv *priv, unsigned int val, msm6242_write() function
93 msm6242_write(priv, msm6242_read(priv, reg) | val, reg); msm6242_set()
99 msm6242_write(priv, msm6242_read(priv, reg) & ~val, reg); msm6242_clear()
167 msm6242_write(priv, tm->tm_sec / 10, MSM6242_SECOND10); msm6242_set_time()
168 msm6242_write(priv, tm->tm_sec % 10, MSM6242_SECOND1); msm6242_set_time()
169 msm6242_write(priv, tm->tm_min / 10, MSM6242_MINUTE10); msm6242_set_time()
170 msm6242_write(priv, tm->tm_min % 10, MSM6242_MINUTE1); msm6242_set_time()
172 msm6242_write(priv, tm->tm_hour / 10, MSM6242_HOUR10); msm6242_set_time()
174 msm6242_write(priv, MSM6242_HOUR10_PM + (tm->tm_hour - 12) / 10, msm6242_set_time()
177 msm6242_write(priv, tm->tm_hour / 10, MSM6242_HOUR10); msm6242_set_time()
178 msm6242_write(priv, tm->tm_hour % 10, MSM6242_HOUR1); msm6242_set_time()
179 msm6242_write(priv, tm->tm_mday / 10, MSM6242_DAY10); msm6242_set_time()
180 msm6242_write(priv, tm->tm_mday % 10, MSM6242_DAY1); msm6242_set_time()
182 msm6242_write(priv, tm->tm_wday, MSM6242_WEEK); msm6242_set_time()
183 msm6242_write(priv, (tm->tm_mon + 1) / 10, MSM6242_MONTH10); msm6242_set_time()
184 msm6242_write(priv, (tm->tm_mon + 1) % 10, MSM6242_MONTH1); msm6242_set_time()
187 msm6242_write(priv, tm->tm_year / 10, MSM6242_YEAR10); msm6242_set_time()
188 msm6242_write(priv, tm->tm_year % 10, MSM6242_YEAR1); msm6242_set_time()

Completed in 35 milliseconds