Searched refs:msm6242_read (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-msm6242.c | 78 static inline unsigned int msm6242_read(struct msm6242_priv *priv, msm6242_read() 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() 108 while ((msm6242_read(priv, MSM6242_CD) & MSM6242_CD_BUSY) && cnt) { msm6242_lock() 117 msm6242_read(priv, MSM6242_CD)); msm6242_lock() 131 tm->tm_sec = msm6242_read(priv, MSM6242_SECOND10) * 10 + msm6242_read_time() 132 msm6242_read(priv, MSM6242_SECOND1); msm6242_read_time() 133 tm->tm_min = msm6242_read(priv, MSM6242_MINUTE10) * 10 + msm6242_read_time() 134 msm6242_read(priv, MSM6242_MINUTE1); msm6242_read_time() 135 tm->tm_hour = (msm6242_read(priv, MSM6242_HOUR10 & 3)) * 10 + msm6242_read_time() 136 msm6242_read(priv, MSM6242_HOUR1); msm6242_read_time() 137 tm->tm_mday = msm6242_read(priv, MSM6242_DAY10) * 10 + msm6242_read_time() 138 msm6242_read(priv, MSM6242_DAY1); msm6242_read_time() 139 tm->tm_wday = msm6242_read(priv, MSM6242_WEEK); msm6242_read_time() 140 tm->tm_mon = msm6242_read(priv, MSM6242_MONTH10) * 10 + msm6242_read_time() 141 msm6242_read(priv, MSM6242_MONTH1) - 1; msm6242_read_time() 142 tm->tm_year = msm6242_read(priv, MSM6242_YEAR10) * 10 + msm6242_read_time() 143 msm6242_read(priv, MSM6242_YEAR1); msm6242_read_time() 147 if (!(msm6242_read(priv, MSM6242_CF) & MSM6242_CF_24H)) { msm6242_read_time() 148 unsigned int pm = msm6242_read(priv, MSM6242_HOUR10) & msm6242_read_time() 171 if (msm6242_read(priv, MSM6242_CF) & MSM6242_CF_24H) msm6242_set_time()
|
Completed in 29 milliseconds