Searched refs:tod_2000 (Results 1 – 2 of 2) sorted by relevance
597 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in a2000_gettod()599 while ((tod_2000.cntrl1 & TOD2000_CNTRL1_BUSY) && cnt--) in a2000_gettod()601 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in a2000_gettod()603 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in a2000_gettod()607 printk(KERN_INFO "gettod: timed out waiting for RTC (0x%x)\n", tod_2000.cntrl1); in a2000_gettod()609 *secp = tod_2000.second1 * 10 + tod_2000.second2; in a2000_gettod()610 *minp = tod_2000.minute1 * 10 + tod_2000.minute2; in a2000_gettod()611 *hourp = (tod_2000.hour1 & 3) * 10 + tod_2000.hour2; in a2000_gettod()612 *dayp = tod_2000.day1 * 10 + tod_2000.day2; in a2000_gettod()613 *monp = tod_2000.month1 * 10 + tod_2000.month2; in a2000_gettod()[all …]
352 #define tod_2000 ((*(volatile struct tod2000 *)(zTwoBase+0xDC0000))) macro