Searched refs:rtc_time (Results 1 – 9 of 9) sorted by relevance
| /bsp/allwinner/libraries/sunxi-hal/include/hal/rtc/ |
| A D | rtc.h | 12 struct rtc_time struct 34 struct rtc_time time; /* time the alarm is set to */ argument 47 int rtc_valid_tm(struct rtc_time *tm); 48 time64_t rtc_tm_to_time64(struct rtc_time *tm); 49 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm); 54 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) in rtc_tm_sub() 68 static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) in rtc_time_to_tm() 76 static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) in rtc_tm_to_time()
|
| /bsp/efm32/ |
| A D | drv_rtc.c | 38 static rt_uint32_t rtc_time; variable 88 *(rt_uint32_t *)args = rtc_time + RTC_CounterGet(); in rt_rtc_control() 89 rtc_debug("RTC: get rtc_time %x + %x\n", rtc_time, RTC_CounterGet()); in rt_rtc_control() 94 rtc_time = *(rt_uint32_t *)args; in rt_rtc_control() 95 rtc_debug("RTC: set rtc_time %x\n", rtc_time); in rt_rtc_control() 118 rtc_time += _RTC_CNT_MASK; in rt_hw_rtc_isr() 148 rtc_time = 0UL; in rt_hw_rtc_init()
|
| /bsp/bouffalo_lab/libraries/rt_drivers/ |
| A D | drv_rtc.c | 22 static rt_uint32_t rtc_time; variable 50 *(rt_uint32_t *)args = rtc_time + BFLB_RTC_TIME2SEC(bflb_rtc_get_time(bflb_rtc)); in _rtc_control() 54 rtc_time = *(rt_uint32_t *)args; in _rtc_control()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/rtc/ |
| A D | rtc-lib.c | 50 int rtc_valid_tm(struct rtc_time *tm) in rtc_valid_tm() 113 time64_t rtc_tm_to_time64(struct rtc_time *tm) in rtc_tm_to_time64() 153 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) in rtc_time64_to_tm()
|
| A D | hal_rtc.c | 232 static int hal_rtc_day_to_ymd(struct rtc_time *rtc_tm, u32 min_year, in hal_rtc_day_to_ymd() 293 int hal_rtc_gettime(struct rtc_time *rtc_tm) in hal_rtc_gettime() 334 int hal_rtc_settime(struct rtc_time *rtc_tm) in hal_rtc_settime() 473 struct rtc_time *alrm_tm = &wkalrm->time; in hal_rtc_getalarm() 546 struct rtc_time *alrm_tm = &wkalrm->time; in hal_rtc_setalarm() 547 struct rtc_time tm_now; in hal_rtc_setalarm()
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | sunxi_hal_rtc.h | 145 int hal_rtc_gettime(struct rtc_time *rtc_tm); 146 int hal_rtc_settime(struct rtc_time *rtc_tm);
|
| /bsp/allwinner/libraries/sunxi-hal/hal/test/rtc/ |
| A D | test_rtc.c | 15 struct rtc_time rtc_tm; in cmd_test_rtc()
|
| /bsp/allwinner/libraries/drivers/ |
| A D | drv_rtc.c | 37 struct rtc_time hal_rtc_time; in rtc_control()
|
| /bsp/ESP32_C3/idf_port/ld/ |
| A D | sections.ld | 161 *esp_hw_support/rtc_time.*(.literal .literal.* .text .text.*) 390 …rtc_time.* *esp_hw_support/systimer.* *esp_rom/esp_rom_regi2c.* *esp_rom/esp_rom_spiflash.* *esp_r…
|
Completed in 19 milliseconds