Searched refs:calalr (Results 1 – 1 of 1) sorted by relevance
252 uint32_t calalr = RTC_CALALR_MONTH(1) | RTC_CALALR_DATE(1); in rtc_atmel_calalr_from_tm() local255 calalr |= RTC_CALALR_MTHEN; in rtc_atmel_calalr_from_tm()256 calalr |= RTC_CALALR_MONTH(bin2bcd(timeptr->tm_mon + 1)); in rtc_atmel_calalr_from_tm()260 calalr |= RTC_CALALR_DATEEN; in rtc_atmel_calalr_from_tm()261 calalr |= RTC_CALALR_DATE(bin2bcd(timeptr->tm_mday)); in rtc_atmel_calalr_from_tm()264 return calalr; in rtc_atmel_calalr_from_tm()286 static uint32_t rtc_sam_alarm_mask_from_calalr(uint32_t calalr) in rtc_sam_alarm_mask_from_calalr() argument290 if (calalr & RTC_CALALR_MTHEN) { in rtc_sam_alarm_mask_from_calalr()294 if (calalr & RTC_CALALR_DATEEN) { in rtc_sam_alarm_mask_from_calalr()302 uint32_t timalr, uint32_t calalr) in rtc_sam_tm_from_timalr_calalr() argument[all …]