Home
last modified time | relevance | path

Searched defs:timeptr (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.6.0/drivers/rtc/
Drtc_handlers.c10 static inline int z_vrfy_rtc_set_time(const struct device *dev, const struct rtc_time *timeptr) in z_vrfy_rtc_set_time()
18 static inline int z_vrfy_rtc_get_time(const struct device *dev, struct rtc_time *timeptr) in z_vrfy_rtc_get_time()
37 const struct rtc_time *timeptr) in z_vrfy_rtc_alarm_set_time()
46 struct rtc_time *timeptr) in z_vrfy_rtc_alarm_get_time()
Drtc_smartbond.c154 static uint32_t rtc_time_to_bcd(const struct rtc_time *timeptr) in rtc_time_to_bcd()
165 static uint32_t rtc_calendar_to_bcd(const struct rtc_time *timeptr) in rtc_calendar_to_bcd()
184 static void bcd_to_rtc_time(struct rtc_time *timeptr) in bcd_to_rtc_time()
195 static void bcd_to_rtc_calendar(struct rtc_time *timeptr) in bcd_to_rtc_calendar()
208 static int rtc_smartbond_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_smartbond_set_time()
259 static int rtc_smartbond_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_smartbond_get_time()
290 static uint32_t alarm_calendar_to_bcd(const struct rtc_time *timeptr, uint16_t mask) in alarm_calendar_to_bcd()
308 static inline uint32_t alarm_time_to_bcd(const struct rtc_time *timeptr) in alarm_time_to_bcd()
319 static void bcd_to_alarm_calendar(struct rtc_time *timeptr) in bcd_to_alarm_calendar()
329 static void bcd_to_alarm_time(struct rtc_time *timeptr) in bcd_to_alarm_time()
[all …]
Drtc_sam.c61 static bool rtc_sam_validate_tm(const struct rtc_time *timeptr, uint32_t mask) in rtc_sam_validate_tm()
96 static uint32_t rtc_sam_timr_from_tm(const struct rtc_time *timeptr) in rtc_sam_timr_from_tm()
107 static uint32_t rtc_sam_calr_from_tm(const struct rtc_time *timeptr) in rtc_sam_calr_from_tm()
123 static int rtc_sam_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_sam_set_time()
169 static int rtc_sam_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_sam_get_time()
257 static uint32_t rtc_atmel_timalr_from_tm(const struct rtc_time *timeptr, uint32_t mask) in rtc_atmel_timalr_from_tm()
279 static uint32_t rtc_atmel_calalr_from_tm(const struct rtc_time *timeptr, uint32_t mask) in rtc_atmel_calalr_from_tm()
330 static void rtc_sam_tm_from_timalr_calalr(struct rtc_time *timeptr, uint32_t mask, in rtc_sam_tm_from_timalr_calalr()
367 const struct rtc_time *timeptr) in rtc_sam_alarm_set_time()
418 struct rtc_time *timeptr) in rtc_sam_alarm_get_time()
Drtc_mc146818.c146 static bool rtc_mc146818_validate_time(const struct rtc_time *timeptr) in rtc_mc146818_validate_time()
172 static int rtc_mc146818_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_mc146818_set_time()
216 static int rtc_mc146818_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_mc146818_get_time()
268 static bool rtc_mc146818_validate_alarm(const struct rtc_time *timeptr, uint32_t mask) in rtc_mc146818_validate_alarm()
305 const struct rtc_time *timeptr) in rtc_mc146818_alarm_set_time()
353 struct rtc_time *timeptr) in rtc_mc146818_alarm_get_time()
Drtc_emul.c71 static bool rtc_emul_validate_alarm_time(const struct rtc_time *timeptr, uint32_t mask) in rtc_emul_validate_alarm_time()
269 static int rtc_emul_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_emul_set_time()
290 static int rtc_emul_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_emul_get_time()
336 const struct rtc_time *timeptr) in rtc_emul_alarm_set_time()
367 struct rtc_time *timeptr) in rtc_emul_alarm_get_time()
Drtc_ll_stm32.c167 static int rtc_stm32_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_stm32_set_time()
238 static int rtc_stm32_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_stm32_get_time()
Drtc_pcf8563.c211 const struct rtc_time *timeptr) in pcf8563_alarm_set_time()
273 struct rtc_time *timeptr) in pcf8563_alarm_get_time()
Drtc_am1805.c161 static int am1805_get_time(const struct device *dev, struct rtc_time *timeptr) in am1805_get_time()
320 struct rtc_time *timeptr) in am1805_alarm_get_time()
361 const struct rtc_time *timeptr) in am1805_alarm_set_time()
Drtc_ds1307.c75 static int ds1307_get_time(const struct device *dev, struct rtc_time *timeptr) in ds1307_get_time()
Drtc_pcf8523.c345 static int pcf8523_set_time(const struct device *dev, const struct rtc_time *timeptr) in pcf8523_set_time()
395 static int pcf8523_get_time(const struct device *dev, struct rtc_time *timeptr) in pcf8523_get_time()
451 const struct rtc_time *timeptr) in pcf8523_alarm_set_time()
498 struct rtc_time *timeptr) in pcf8523_alarm_get_time()
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Drtc.h198 static inline int z_impl_rtc_set_time(const struct device *dev, const struct rtc_time *timeptr) in z_impl_rtc_set_time()
217 static inline int z_impl_rtc_get_time(const struct device *dev, struct rtc_time *timeptr) in z_impl_rtc_get_time()
286 const struct rtc_time *timeptr) in z_impl_rtc_alarm_set_time()
316 struct rtc_time *timeptr) in z_impl_rtc_alarm_get_time()
523 static inline struct tm *rtc_time_to_tm(struct rtc_time *timeptr) in rtc_time_to_tm()