Searched refs:m147_rtc (Results 1 – 2 of 2) sorted by relevance
175 m147_rtc->ctrl = RTC_READ; in mvme147_hwclk()176 t->tm_year = bcd2int (m147_rtc->bcd_year); in mvme147_hwclk()177 t->tm_mon = bcd2int(m147_rtc->bcd_mth) - 1; in mvme147_hwclk()178 t->tm_mday = bcd2int (m147_rtc->bcd_dom); in mvme147_hwclk()179 t->tm_hour = bcd2int (m147_rtc->bcd_hr); in mvme147_hwclk()180 t->tm_min = bcd2int (m147_rtc->bcd_min); in mvme147_hwclk()181 t->tm_sec = bcd2int (m147_rtc->bcd_sec); in mvme147_hwclk()182 m147_rtc->ctrl = 0; in mvme147_hwclk()
23 #define m147_rtc ((MK48T02 * volatile)0xfffe07f8) macro