Lines Matching refs:rp5c01_read
70 static inline unsigned int rp5c01_read(struct rp5c01_priv *priv, in rp5c01_read() function
100 tm->tm_sec = rp5c01_read(priv, RP5C01_10_SECOND) * 10 + in rp5c01_read_time()
101 rp5c01_read(priv, RP5C01_1_SECOND); in rp5c01_read_time()
102 tm->tm_min = rp5c01_read(priv, RP5C01_10_MINUTE) * 10 + in rp5c01_read_time()
103 rp5c01_read(priv, RP5C01_1_MINUTE); in rp5c01_read_time()
104 tm->tm_hour = rp5c01_read(priv, RP5C01_10_HOUR) * 10 + in rp5c01_read_time()
105 rp5c01_read(priv, RP5C01_1_HOUR); in rp5c01_read_time()
106 tm->tm_mday = rp5c01_read(priv, RP5C01_10_DAY) * 10 + in rp5c01_read_time()
107 rp5c01_read(priv, RP5C01_1_DAY); in rp5c01_read_time()
108 tm->tm_wday = rp5c01_read(priv, RP5C01_DAY_OF_WEEK); in rp5c01_read_time()
109 tm->tm_mon = rp5c01_read(priv, RP5C01_10_MONTH) * 10 + in rp5c01_read_time()
110 rp5c01_read(priv, RP5C01_1_MONTH) - 1; in rp5c01_read_time()
111 tm->tm_year = rp5c01_read(priv, RP5C01_10_YEAR) * 10 + in rp5c01_read_time()
112 rp5c01_read(priv, RP5C01_1_YEAR); in rp5c01_read_time()
177 data = rp5c01_read(priv, pos) << 4; in rp5c01_nvram_read()
181 data |= rp5c01_read(priv, pos++); in rp5c01_nvram_read()