Searched refs:tm_mon (Results 1 – 9 of 9) sorted by relevance
| /optee_os/core/drivers/rtc/ |
| H A D | rtc.c | 42 for (n = 0; n < time->tm_mon; n++) in rtc_time_to_ms() 74 SHIFT_U64(a->tm_mon, RTC_CMP_MONTH_SHIFT) + in rtc_timecmp() 81 SHIFT_U64(b->tm_mon, RTC_CMP_MONTH_SHIFT) + in rtc_timecmp()
|
| /optee_os/core/include/drivers/ |
| H A D | rtc.h | 28 .tm_mon = (mon), \ 51 uint32_t tm_mon; member 212 if (tm->tm_mon >= 12 || in rtc_set_time() 213 tm->tm_mday > rtc_get_month_days(tm->tm_mon, tm->tm_year) || in rtc_set_time()
|
| /optee_os/core/drivers/ |
| H A D | stm32_rtc.c | 563 tm->tm_mon = ((dr & RTC_DR_MT_MASK) >> RTC_DR_MT_SHIFT) * 10 + in stm32_rtc_to_tm() 717 (SHIFT_U32((tm->tm_mon + 1) % 10, RTC_DR_MU_SHIFT) & in stm32_rtc_set_time() 719 (SHIFT_U32((tm->tm_mon + 1) / 10, RTC_DR_MT_SHIFT) & in stm32_rtc_set_time() 839 alarm_tm->tm_mon = current_tm.tm_mon; in stm32_rtc_read_alarm() 858 if (current_tm.tm_mon == 11) { in stm32_rtc_read_alarm() 859 alarm_tm->tm_mon = 0; in stm32_rtc_read_alarm() 862 alarm_tm->tm_mon += 1; in stm32_rtc_read_alarm() 892 tm->tm_mon++; in stm32_rtc_add_one_month() 893 if (tm->tm_mon > 11) { in stm32_rtc_add_one_month() 894 tm->tm_mon = 0; in stm32_rtc_add_one_month() [all …]
|
| H A D | atmel_rtc.c | 123 tm->tm_mon = bcd_decode(RTC_VAL(CAL_MONTH, date)) - 1; in atmel_decode_date() 180 RTC_SET_VAL(CAL_MONTH, bcd_encode(tm->tm_mon + 1)) | in atmel_rtc_set_time()
|
| H A D | atmel_piobu.c | 275 tm.tm_mday, tm.tm_mon, tm.tm_year); in secumod_it_handler()
|
| H A D | stm32_tamp.c | 1058 tamp_ts.tm_mday, tamp_ts.tm_mon, tamp_ts.tm_hour, in stm32_tamp_it_handler()
|
| /optee_os/lib/libutee/include/ |
| H A D | pta_rtc.h | 41 uint32_t tm_mon; member
|
| /optee_os/core/pta/ |
| H A D | rtc.c | 25 pta_time->tm_mon = optee_time->tm_mon; in rtc_pta_copy_time_from_optee() 37 optee_time->tm_mon = pta_time->tm_mon; in rtc_pta_copy_time_to_optee()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | x509.c | 1062 now->mon = tm.tm_mon + 1; in mbedtls_x509_time_gmtime()
|