Searched refs:tod (Results 1 – 3 of 3) sorted by relevance
565 volatile struct tod3000 *tod = TOD_3000; in a3000_gettod() local567 tod->cntrl1 = TOD3000_CNTRL1_HOLD; in a3000_gettod()569 *secp = tod->second1 * 10 + tod->second2; in a3000_gettod()570 *minp = tod->minute1 * 10 + tod->minute2; in a3000_gettod()571 *hourp = tod->hour1 * 10 + tod->hour2; in a3000_gettod()572 *dayp = tod->day1 * 10 + tod->day2; in a3000_gettod()573 *monp = tod->month1 * 10 + tod->month2; in a3000_gettod()574 *yearp = tod->year1 * 10 + tod->year2; in a3000_gettod()576 tod->cntrl1 = TOD3000_CNTRL1_FREE; in a3000_gettod()582 volatile struct tod2000 *tod = TOD_2000; in a2000_gettod() local[all …]
652 int pdc_tod_read(struct pdc_tod *tod) in pdc_tod_read() argument659 memcpy(tod, pdc_result, sizeof(*tod)); in pdc_tod_read()
942 int pdc_tod_read(struct pdc_tod *tod);