Searched refs:msm6242_read (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/rtc/ |
D | rtc-msm6242.c | 78 static inline unsigned int msm6242_read(struct msm6242_priv *priv, in msm6242_read() function 93 msm6242_write(priv, msm6242_read(priv, reg) | val, reg); in msm6242_set() 99 msm6242_write(priv, msm6242_read(priv, reg) & ~val, reg); in msm6242_clear() 108 while ((msm6242_read(priv, MSM6242_CD) & MSM6242_CD_BUSY) && cnt) { in msm6242_lock() 117 msm6242_read(priv, MSM6242_CD)); in msm6242_lock() 131 tm->tm_sec = msm6242_read(priv, MSM6242_SECOND10) * 10 + in msm6242_read_time() 132 msm6242_read(priv, MSM6242_SECOND1); in msm6242_read_time() 133 tm->tm_min = msm6242_read(priv, MSM6242_MINUTE10) * 10 + in msm6242_read_time() 134 msm6242_read(priv, MSM6242_MINUTE1); in msm6242_read_time() 135 tm->tm_hour = (msm6242_read(priv, MSM6242_HOUR10) & in msm6242_read_time() [all …]
|