Searched refs:RTC_READ (Results 1 – 8 of 8) sorted by relevance
85 #define RTC_READ(reg) \ macro132 while (!(RTC_READ(RTC_FREQ_SELECT) & RTC_UIP)) ; in atari_tt_gettod()133 while (RTC_READ(RTC_FREQ_SELECT) & RTC_UIP) ; in atari_tt_gettod()135 *secp = RTC_READ(RTC_SECONDS); in atari_tt_gettod()136 *minp = RTC_READ(RTC_MINUTES); in atari_tt_gettod()137 hour = RTC_READ(RTC_HOURS); in atari_tt_gettod()138 *dayp = RTC_READ(RTC_DAY_OF_MONTH); in atari_tt_gettod()139 *monp = RTC_READ(RTC_MONTH); in atari_tt_gettod()140 *yearp = RTC_READ(RTC_YEAR); in atari_tt_gettod()144 ctrl = RTC_READ(RTC_CONTROL); in atari_tt_gettod()[all …]
71 #define RTC_READ 0x40 macro111 CMOS_WRITE(RTC_READ, RTC_CONTROL); in rtc_ds1742_get_time()133 CMOS_WRITE(RTC_READ, RTC_CONTROL); in rtc_ds1742_set_time()205 CMOS_WRITE(RTC_READ, RTC_CONTROL); in rtc_ds1742_init()
43 #define RTC_READ 0x40 macro
56 #define RTC_READ 0x40 macro
17 #define RTC_READ 0x40 macro
54 rtc->ctrl = RTC_READ; in rtc_ioctl()
281 rtc->ctrl = RTC_READ; in mvme16x_gettod()
174 m147_rtc->ctrl = RTC_READ; in mvme147_gettod()