Home
last modified time | relevance | path

Searched refs:rtc_read (Results 1 – 2 of 2) sorted by relevance

/arch/cris/arch-v10/drivers/
Dpcf8563.c47 #define rtc_read(x) i2c_readreg(RTC_I2C_READ, x) macro
72 unsigned char res = rtc_read(reg); in pcf8563_readreg()
113 tm->tm_sec = rtc_read(RTC_SECONDS); in get_rtc_time()
114 tm->tm_min = rtc_read(RTC_MINUTES); in get_rtc_time()
115 tm->tm_hour = rtc_read(RTC_HOURS); in get_rtc_time()
116 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH); in get_rtc_time()
117 tm->tm_wday = rtc_read(RTC_WEEKDAY); in get_rtc_time()
118 tm->tm_mon = rtc_read(RTC_MONTH); in get_rtc_time()
119 tm->tm_year = rtc_read(RTC_YEAR); in get_rtc_time()
191 if (rtc_read(RTC_SECONDS) & 0x80) { in pcf8563_init()
[all …]
/arch/powerpc/kernel/
Dtime.c78 static cycle_t rtc_read(struct clocksource *);
84 .read = rtc_read,
695 static cycle_t rtc_read(struct clocksource *cs) in rtc_read() function