Searched refs:regb (Results 1 – 3 of 3) sorted by relevance
270 uint8_t regb; in write_rtc_time() local276 regb = RTC_GET8(RTC_B); in write_rtc_time()277 RTC_PUT8(RTC_B, (regb | RTC_SET)); in write_rtc_time()317 RTC_PUT8(RTC_B, regb); in write_rtc_time()337 uint8_t regb; in todm5819_set_power_alarm() local346 regb = RTC_GET8(RTC_B); in todm5819_set_power_alarm()347 RTC_PUT8(RTC_B, (regb & ~RTC_AIE)); in todm5819_set_power_alarm()359 RTC_PUT8(RTC_B, (regb | RTC_AIE)); in todm5819_set_power_alarm()368 uint8_t regb; in todm5819_clear_power_alarm() local371 regb = RTC_GET8(RTC_B); in todm5819_clear_power_alarm()[all …]
287 uint8_t regb; in write_rtc_time() local294 regb = M5819P_DATA_REG; in write_rtc_time()295 M5819P_DATA_REG = (regb | RTC_SET); in write_rtc_time()341 M5819P_DATA_REG = regb; in write_rtc_time()365 uint8_t regb; in todm5819p_rmc_set_power_alarm() local375 regb = M5819P_DATA_REG; in todm5819p_rmc_set_power_alarm()376 M5819P_DATA_REG = regb & ~RTC_AIE; in todm5819p_rmc_set_power_alarm()391 M5819P_DATA_REG = regb | RTC_AIE; in todm5819p_rmc_set_power_alarm()400 uint8_t regb; in todm5819p_rmc_clear_power_alarm() local405 regb = M5819P_DATA_REG; in todm5819p_rmc_clear_power_alarm()[all …]
864 uint8_t regb; in read_rtc() local875 regb = DS1287_DATA_REG; in read_rtc()876 if (regb != 0xc8) { in read_rtc()880 "incorrect (exp 0xc8, obs %x)", regb); in read_rtc()890 regb = DS1287_DATA_REG; in read_rtc()891 DS1287_DATA_REG = (regb | RTC_SET); in read_rtc()939 DS1287_DATA_REG = regb; in read_rtc()976 uint8_t regb; in write_rtc_time() local987 regb = DS1287_DATA_REG; in write_rtc_time()988 if (regb != 0xc8) { in write_rtc_time()[all …]