Searched refs:timalr (Results 1 – 1 of 1) sorted by relevance
259 uint32_t timalr = 0; in rtc_atmel_timalr_from_tm() local262 timalr |= RTC_TIMALR_SECEN; in rtc_atmel_timalr_from_tm()263 timalr |= RTC_TIMALR_SEC(bin2bcd(timeptr->tm_sec)); in rtc_atmel_timalr_from_tm()267 timalr |= RTC_TIMALR_MINEN; in rtc_atmel_timalr_from_tm()268 timalr |= RTC_TIMALR_MIN(bin2bcd(timeptr->tm_min)); in rtc_atmel_timalr_from_tm()272 timalr |= RTC_TIMALR_HOUREN; in rtc_atmel_timalr_from_tm()273 timalr |= RTC_TIMALR_HOUR(bin2bcd(timeptr->tm_hour)); in rtc_atmel_timalr_from_tm()276 return timalr; in rtc_atmel_timalr_from_tm()296 static uint32_t rtc_sam_alarm_mask_from_timalr(uint32_t timalr) in rtc_sam_alarm_mask_from_timalr() argument300 if (timalr & RTC_TIMALR_SECEN) { in rtc_sam_alarm_mask_from_timalr()[all …]