Searched refs:tod_data (Results 1 – 1 of 1) sorted by relevance
168 struct pdc_tod tod_data; in rtc_generic_get_time() local171 if (pdc_tod_read(&tod_data) < 0) in rtc_generic_get_time()175 rtc_time64_to_tm(tod_data.tod_sec, tm); in rtc_generic_get_time()216 static struct pdc_tod tod_data; in read_persistent_clock64() local217 if (pdc_tod_read(&tod_data) == 0) { in read_persistent_clock64()218 ts->tv_sec = tod_data.tod_sec; in read_persistent_clock64()219 ts->tv_nsec = tod_data.tod_usec * 1000; in read_persistent_clock64()