Searched refs:msm6242_read (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/rtc/ |
D | rtc-msm6242.c | 79 static inline unsigned int msm6242_read(struct msm6242_priv *priv, in msm6242_read() function 94 msm6242_write(priv, msm6242_read(priv, reg) | val, reg); in msm6242_set() 100 msm6242_write(priv, msm6242_read(priv, reg) & ~val, reg); in msm6242_clear() 109 while ((msm6242_read(priv, MSM6242_CD) & MSM6242_CD_BUSY) && cnt) { in msm6242_lock() 118 msm6242_read(priv, MSM6242_CD)); in msm6242_lock() 132 tm->tm_sec = msm6242_read(priv, MSM6242_SECOND10) * 10 + in msm6242_read_time() 133 msm6242_read(priv, MSM6242_SECOND1); in msm6242_read_time() 134 tm->tm_min = msm6242_read(priv, MSM6242_MINUTE10) * 10 + in msm6242_read_time() 135 msm6242_read(priv, MSM6242_MINUTE1); in msm6242_read_time() 136 tm->tm_hour = (msm6242_read(priv, MSM6242_HOUR10 & 3)) * 10 + in msm6242_read_time() [all …]
|