Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/chrp/
A Dtime.c68 static int chrp_cmos_clock_read(int addr) in chrp_cmos_clock_read() function
95 save_control = chrp_cmos_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in chrp_set_rtc_time()
99 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time()
137 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time()
138 min = chrp_cmos_clock_read(RTC_MINUTES); in chrp_get_rtc_time()
139 hour = chrp_cmos_clock_read(RTC_HOURS); in chrp_get_rtc_time()
140 day = chrp_cmos_clock_read(RTC_DAY_OF_MONTH); in chrp_get_rtc_time()
141 mon = chrp_cmos_clock_read(RTC_MONTH); in chrp_get_rtc_time()
142 year = chrp_cmos_clock_read(RTC_YEAR); in chrp_get_rtc_time()
143 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time()
[all …]

Completed in 3 milliseconds