Home
last modified time | relevance | path

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

/arch/cris/arch-v10/drivers/
Dpcf8563.c48 #define rtc_read(x) i2c_readreg(RTC_I2C_READ, x) macro
71 unsigned char res = rtc_read(reg); in pcf8563_readreg()
112 tm->tm_sec = rtc_read(RTC_SECONDS); in get_rtc_time()
113 tm->tm_min = rtc_read(RTC_MINUTES); in get_rtc_time()
114 tm->tm_hour = rtc_read(RTC_HOURS); in get_rtc_time()
115 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH); in get_rtc_time()
116 tm->tm_wday = rtc_read(RTC_WEEKDAY); in get_rtc_time()
117 tm->tm_mon = rtc_read(RTC_MONTH); in get_rtc_time()
118 tm->tm_year = rtc_read(RTC_YEAR); in get_rtc_time()
190 if (rtc_read(RTC_SECONDS) & 0x80) { in pcf8563_init()
[all …]
/arch/cris/arch-v32/drivers/
Dpcf8563.c44 #define rtc_read(x) i2c_readreg(RTC_I2C_READ, x) macro
67 unsigned char res = rtc_read(reg); in pcf8563_readreg()
108 tm->tm_sec = rtc_read(RTC_SECONDS); in get_rtc_time()
109 tm->tm_min = rtc_read(RTC_MINUTES); in get_rtc_time()
110 tm->tm_hour = rtc_read(RTC_HOURS); in get_rtc_time()
111 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH); in get_rtc_time()
112 tm->tm_wday = rtc_read(RTC_WEEKDAY); in get_rtc_time()
113 tm->tm_mon = rtc_read(RTC_MONTH); in get_rtc_time()
114 tm->tm_year = rtc_read(RTC_YEAR); in get_rtc_time()
186 if (rtc_read(RTC_SECONDS) & 0x80) { in pcf8563_init()
[all …]
/arch/powerpc/kernel/
Dtime.c80 static cycle_t rtc_read(void);
88 .read = rtc_read,
769 static cycle_t rtc_read(void) in rtc_read() function