Lines Matching refs:device
81 typedef void (*rtc_update_callback)(const struct device *dev, void *user_data);
91 typedef void (*rtc_alarm_callback)(const struct device *dev, uint16_t id, void *user_data);
103 typedef int (*rtc_api_set_time)(const struct device *dev, const struct rtc_time *timeptr);
109 typedef int (*rtc_api_get_time)(const struct device *dev, struct rtc_time *timeptr);
115 typedef int (*rtc_api_alarm_get_supported_fields)(const struct device *dev, uint16_t id,
122 typedef int (*rtc_api_alarm_set_time)(const struct device *dev, uint16_t id, uint16_t mask,
129 typedef int (*rtc_api_alarm_get_time)(const struct device *dev, uint16_t id, uint16_t *mask,
136 typedef int (*rtc_api_alarm_is_pending)(const struct device *dev, uint16_t id);
142 typedef int (*rtc_api_alarm_set_callback)(const struct device *dev, uint16_t id,
149 typedef int (*rtc_api_update_set_callback)(const struct device *dev,
156 typedef int (*rtc_api_set_calibration)(const struct device *dev, int32_t calibration);
162 typedef int (*rtc_api_get_calibration)(const struct device *dev, int32_t *calibration);
198 __syscall int rtc_set_time(const struct device *dev, const struct rtc_time *timeptr);
200 static inline int z_impl_rtc_set_time(const struct device *dev, const struct rtc_time *timeptr) in z_impl_rtc_set_time()
215 __syscall int rtc_get_time(const struct device *dev, struct rtc_time *timeptr);
217 static inline int z_impl_rtc_get_time(const struct device *dev, struct rtc_time *timeptr) in z_impl_rtc_get_time()
242 __syscall int rtc_alarm_get_supported_fields(const struct device *dev, uint16_t id,
245 static inline int z_impl_rtc_alarm_get_supported_fields(const struct device *dev, uint16_t id, in z_impl_rtc_alarm_get_supported_fields()
278 __syscall int rtc_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask,
281 static inline int z_impl_rtc_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask, in z_impl_rtc_alarm_set_time()
306 __syscall int rtc_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask,
309 static inline int z_impl_rtc_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask, in z_impl_rtc_alarm_get_time()
334 __syscall int rtc_alarm_is_pending(const struct device *dev, uint16_t id);
336 static inline int z_impl_rtc_alarm_is_pending(const struct device *dev, uint16_t id) in z_impl_rtc_alarm_is_pending()
371 __syscall int rtc_alarm_set_callback(const struct device *dev, uint16_t id,
374 static inline int z_impl_rtc_alarm_set_callback(const struct device *dev, uint16_t id, in z_impl_rtc_alarm_set_callback()
414 __syscall int rtc_update_set_callback(const struct device *dev, rtc_update_callback callback,
417 static inline int z_impl_rtc_update_set_callback(const struct device *dev, in z_impl_rtc_update_set_callback()
456 __syscall int rtc_set_calibration(const struct device *dev, int32_t calibration);
458 static inline int z_impl_rtc_set_calibration(const struct device *dev, int32_t calibration) in z_impl_rtc_set_calibration()
477 __syscall int rtc_get_calibration(const struct device *dev, int32_t *calibration);
479 static inline int z_impl_rtc_get_calibration(const struct device *dev, int32_t *calibration) in z_impl_rtc_get_calibration()