Searched hist:"26899 ca2e2f4cbe2b26643c60891f8596c715233" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/drivers/rtc/ |
| H A D | rtc.c | 26899ca2e2f4cbe2b26643c60891f8596c715233 Mon Feb 05 16:54:44 UTC 2024 Clément Le Goffic <clement.legoffic@foss.st.com> drivers: rtc: add RTC functions and millisecond field
Add a millisecond field in the optee_rtc_time structure.
Add different APIs to manipulate optee_rtc_time structures: rtc_is_a_leap_year(): Detects if the given year is a leap year rtc_get_month_days(): Returns the number of day in the given month rtc_timecmp(): Compare two time captures rtc_diff_calendar_ms(): Returns the difference in milliseconds between two time captures rtc_diff_calendar_tick(): Returns the difference in number of ticks between two time captures
Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|
| /optee_os/core/include/drivers/ |
| H A D | rtc.h | 26899ca2e2f4cbe2b26643c60891f8596c715233 Mon Feb 05 16:54:44 UTC 2024 Clément Le Goffic <clement.legoffic@foss.st.com> drivers: rtc: add RTC functions and millisecond field
Add a millisecond field in the optee_rtc_time structure.
Add different APIs to manipulate optee_rtc_time structures: rtc_is_a_leap_year(): Detects if the given year is a leap year rtc_get_month_days(): Returns the number of day in the given month rtc_timecmp(): Compare two time captures rtc_diff_calendar_ms(): Returns the difference in milliseconds between two time captures rtc_diff_calendar_tick(): Returns the difference in number of ticks between two time captures
Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|