Searched refs:rp5c01_read (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/rtc/ |
D | rtc-rp5c01.c | 69 static inline unsigned int rp5c01_read(struct rp5c01_priv *priv, in rp5c01_read() function 99 tm->tm_sec = rp5c01_read(priv, RP5C01_10_SECOND) * 10 + in rp5c01_read_time() 100 rp5c01_read(priv, RP5C01_1_SECOND); in rp5c01_read_time() 101 tm->tm_min = rp5c01_read(priv, RP5C01_10_MINUTE) * 10 + in rp5c01_read_time() 102 rp5c01_read(priv, RP5C01_1_MINUTE); in rp5c01_read_time() 103 tm->tm_hour = rp5c01_read(priv, RP5C01_10_HOUR) * 10 + in rp5c01_read_time() 104 rp5c01_read(priv, RP5C01_1_HOUR); in rp5c01_read_time() 105 tm->tm_mday = rp5c01_read(priv, RP5C01_10_DAY) * 10 + in rp5c01_read_time() 106 rp5c01_read(priv, RP5C01_1_DAY); in rp5c01_read_time() 107 tm->tm_wday = rp5c01_read(priv, RP5C01_DAY_OF_WEEK); in rp5c01_read_time() [all …]
|