Searched refs:save_ctrl_a (Results 1 – 1 of 1) sorted by relevance
79 uchar save_ctrl_a; in rtc_get() local83 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_get()86 save_ctrl_a |= RTC_CA_READ; in rtc_get()87 rtc_write(RTC_CONTROLA, save_ctrl_a); in rtc_get()98 save_ctrl_a &= ~RTC_CA_READ; in rtc_get()99 rtc_write(RTC_CONTROLA, save_ctrl_a); in rtc_get()131 uchar save_ctrl_a; in rtc_set() local138 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_set()140 save_ctrl_a |= RTC_CA_WRITE; in rtc_set()141 rtc_write(RTC_CONTROLA, save_ctrl_a); /* disables the RTC to update the regs */ in rtc_set()[all …]