Home
last modified time | relevance | path

Searched refs:optee_rtc_time (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/include/drivers/
H A Drtc.h49 struct optee_rtc_time { struct
62 struct optee_rtc_time range_min; argument
63 struct optee_rtc_time range_max;
76 struct optee_rtc_time time;
106 TEE_Result (*get_time)(struct rtc *rtc, struct optee_rtc_time *tm);
107 TEE_Result (*set_time)(struct rtc *rtc, struct optee_rtc_time *tm);
151 int rtc_timecmp(struct optee_rtc_time *a, struct optee_rtc_time *b);
161 signed long long rtc_diff_calendar_ms(struct optee_rtc_time *ref1,
162 struct optee_rtc_time *ref2);
174 signed long long rtc_diff_calendar_tick(struct optee_rtc_time *ref1,
[all …]
H A Datmel_rtc.h13 TEE_Result atmel_rtc_get_tamper_timestamp(struct optee_rtc_time *tm);
16 TEE_Result atmel_rtc_get_tamper_timestamp(struct optee_rtc_time *tm __unused) in atmel_rtc_get_tamper_timestamp()
H A Dstm32_rtc.h33 TEE_Result stm32_rtc_get_timestamp(struct optee_rtc_time *tm);
54 stm32_rtc_get_timestamp(struct optee_rtc_time *tm __unused) in stm32_rtc_get_timestamp()
/optee_os/core/drivers/rtc/
H A Drtc.c23 static unsigned long long rtc_time_to_ms(struct optee_rtc_time *time) in rtc_time_to_ms()
68 int rtc_timecmp(struct optee_rtc_time *a, struct optee_rtc_time *b) in rtc_timecmp()
91 signed long long rtc_diff_calendar_ms(struct optee_rtc_time *ref1, in rtc_diff_calendar_ms()
92 struct optee_rtc_time *ref2) in rtc_diff_calendar_ms()
104 signed long long rtc_diff_calendar_tick(struct optee_rtc_time *ref1, in rtc_diff_calendar_tick()
105 struct optee_rtc_time *ref2, in rtc_diff_calendar_tick()
/optee_os/core/pta/
H A Drtc.c19 struct optee_rtc_time *optee_time) in rtc_pta_copy_time_from_optee()
30 static void rtc_pta_copy_time_to_optee(struct optee_rtc_time *optee_time, in rtc_pta_copy_time_to_optee()
64 struct optee_rtc_time time = { }; in rtc_pta_get_time()
92 struct optee_rtc_time time = { }; in rtc_pta_set_time()
268 struct optee_rtc_time range_min = { }; in rtc_pta_get_info()
269 struct optee_rtc_time range_max = { }; in rtc_pta_get_info()
/optee_os/core/drivers/
H A Datmel_rtc.c109 struct optee_rtc_time *tm) in atmel_decode_date()
133 struct optee_rtc_time *tm) in atmel_rtc_get_time()
140 TEE_Result atmel_rtc_get_tamper_timestamp(struct optee_rtc_time *tm) in atmel_rtc_get_tamper_timestamp()
151 struct optee_rtc_time *tm) in atmel_rtc_set_time()
H A Dstm32_rtc.c541 struct optee_rtc_time *tm) in stm32_rtc_to_tm()
654 struct optee_rtc_time *tm) in stm32_rtc_get_time()
692 static TEE_Result stm32_rtc_set_time(struct rtc *rtc, struct optee_rtc_time *tm) in stm32_rtc_set_time()
744 TEE_Result stm32_rtc_get_timestamp(struct optee_rtc_time *tm) in stm32_rtc_get_timestamp()
824 struct optee_rtc_time *alarm_tm = NULL; in stm32_rtc_read_alarm()
825 struct optee_rtc_time current_tm = { }; in stm32_rtc_read_alarm()
890 static void stm32_rtc_add_one_month(struct optee_rtc_time *tm) in stm32_rtc_add_one_month()
904 struct optee_rtc_time *tm) in stm32_rtc_valid_alarm_time()
906 struct optee_rtc_time current_tm = { }; in stm32_rtc_valid_alarm_time()
908 struct optee_rtc_time *max = NULL; in stm32_rtc_valid_alarm_time()
[all …]
H A Datmel_piobu.c257 struct optee_rtc_time tm = { }; in secumod_it_handler()
H A Dstm32_tamp.c1040 struct optee_rtc_time __maybe_unused tamp_ts = { }; in stm32_tamp_it_handler()
/optee_os/core/drivers/counter/
H A Dstm32_stgen.c50 struct optee_rtc_time *calendar;
123 struct optee_rtc_time cur_calendar = { }; in stm32_stgen_pm_resume()