Lines Matching refs:rtc_time
155 static uint32_t rtc_time_to_bcd(const struct rtc_time *timeptr) in rtc_time_to_bcd()
166 static uint32_t rtc_calendar_to_bcd(const struct rtc_time *timeptr) in rtc_calendar_to_bcd()
185 static void bcd_to_rtc_time(struct rtc_time *timeptr) in bcd_to_rtc_time()
196 static void bcd_to_rtc_calendar(struct rtc_time *timeptr) in bcd_to_rtc_calendar()
209 static int rtc_smartbond_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_smartbond_set_time()
260 static int rtc_smartbond_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_smartbond_get_time()
293 static uint32_t alarm_calendar_to_bcd(const struct rtc_time *timeptr, uint16_t mask) in alarm_calendar_to_bcd()
314 static inline uint32_t alarm_time_to_bcd(const struct rtc_time *timeptr, uint16_t mask) in alarm_time_to_bcd()
336 static void bcd_to_alarm_calendar(struct rtc_time *timeptr) in bcd_to_alarm_calendar()
346 static void bcd_to_alarm_time(struct rtc_time *timeptr) in bcd_to_alarm_time()
404 const struct rtc_time *timeptr) in rtc_smartbond_alarm_set_time()
473 struct rtc_time *timeptr) in rtc_smartbond_alarm_get_time()