Searched refs:rp5c01_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/rtc/ |
D | rtc-rp5c01.c | 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() [all …]
|