Searched refs:tm_nsec (Results 1 – 25 of 25) sorted by relevance
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/ |
D | test_time.c | 31 datetime_set.tm_nsec = 0; in ZTEST() 63 zassert_true((datetime_get.tm_nsec > -1) && (datetime_get.tm_nsec < 1000000000), in ZTEST()
|
D | test_alarm.c | 32 .tm_nsec = 0, 46 .tm_nsec = 0, 58 .tm_nsec = INT32_MAX, 172 zassert_equal(alarm_time_get.tm_nsec, test_alarm_time_set.tm_nsec, in ZTEST()
|
D | test_y2k.c | 32 {.tm_isdst = -1, .tm_nsec = 0}, in ZTEST() 33 {.tm_isdst = -1, .tm_nsec = 0}, in ZTEST()
|
D | test_time_incrementing.c | 33 datetime_set.tm_nsec = 0; in ZTEST()
|
D | test_alarm_callback.c | 36 .tm_nsec = 0, 50 .tm_nsec = 0,
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_utils.c | 53 (timeptr->tm_nsec < 0 || timeptr->tm_nsec > 999999999)) { in rtc_utils_validate_rtc_time()
|
D | rtc_ambiq.c | 62 atm->ui32Hundredths = tm->tm_nsec / 10000000; in rtc_time_to_ambiq_time_set() 96 tm->tm_nsec = atm->ui32Hundredths * 10000000; in ambiq_time_to_rtc_time_set()
|
D | rtc_smartbond.c | 193 timeptr->tm_nsec = 0; /*Unknown*/ in bcd_to_rtc_time() 225 if ((timeptr->tm_yday != -1) || (timeptr->tm_isdst != -1) || (timeptr->tm_nsec != 0)) { in rtc_smartbond_set_time() 354 timeptr->tm_nsec = 0; in bcd_to_alarm_time()
|
D | rtc_ds1307.c | 100 timeptr->tm_nsec = 0; in ds1307_get_time()
|
D | rtc_shell.c | 215 rtctime.tm_sec, rtctime.tm_nsec / 1000000); in cmd_get()
|
D | rtc_xmc4xxx.c | 67 timeptr->tm_nsec = 0; in rtc_xmc4xxx_get_time()
|
D | rtc_ifx_cat1.c | 142 z_time->tm_nsec = 0; in _ifx_cat1_rtc_from_pdl_time()
|
D | rtc_rpi_pico.c | 153 timeptr->tm_nsec = 0; in rtc_rpi_pico_get_time()
|
D | rtc_emul.c | 247 data->datetime.tm_nsec = 0; in rtc_emul_set_time()
|
D | rtc_nxp_irtc.c | 123 timeptr->tm_nsec = 0; in nxp_irtc_get_time()
|
D | rtc_pcf8563.c | 169 timeptr->tm_nsec = 0; in pcf8563_get_time()
|
D | rtc_numaker.c | 121 timeptr->tm_nsec = 0; in rtc_numaker_get_time()
|
D | rtc_ll_stm32.c | 547 timeptr->tm_nsec = temp / (cfg->sync_prescaler + 1); in rtc_stm32_get_time() 549 timeptr->tm_nsec = 0; in rtc_stm32_get_time()
|
D | rtc_mc146818.c | 252 timeptr->tm_nsec = 0; in rtc_mc146818_get_time()
|
D | rtc_sam.c | 180 timeptr->tm_nsec = 0; in rtc_sam_get_time()
|
D | rtc_rv8263.c | 258 timeptr->tm_nsec = 0; in rv8263c8_time_get()
|
/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/ |
D | test_rtc_utils.c | 23 .tm_nsec = INT32_MAX, in ZTEST()
|
/Zephyr-latest/samples/boards/nuvoton/numaker/system_off/src/ |
D | main.c | 34 time_set.tm_nsec = 0; in set_alarm_10s()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 884 , (uint16_t)(current_time.tm_nsec / RTC_DATETIME_MS_TO_NS) in os_mgmt_datetime_read() 914 .tm_nsec = 0, in os_mgmt_datetime_write() 1002 new_time.tm_nsec = strtol(pos, &new_pos, RTC_DATETIME_NUMERIC_BASE); in os_mgmt_datetime_write() 1004 if (new_time.tm_nsec < RTC_DATETIME_MILLISECOND_MIN || in os_mgmt_datetime_write() 1005 new_time.tm_nsec > RTC_DATETIME_MILLISECOND_MAX) { in os_mgmt_datetime_write() 1009 new_time.tm_nsec *= RTC_DATETIME_MS_TO_NS; in os_mgmt_datetime_write()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | rtc.h | 71 int tm_nsec; /**< Nanoseconds [0, 999999999] (Unknown = 0) */ member
|