Home
last modified time | relevance | path

Searched defs:tm (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/lib/libc/minimal/include/
Dtime.h24 struct tm { struct
25 int tm_sec; argument
26 int tm_min; argument
27 int tm_hour; argument
28 int tm_mday; argument
29 int tm_mon; argument
30 int tm_year; argument
31 int tm_wday; argument
32 int tm_yday; argument
33 int tm_isdst; argument
/Zephyr-latest/samples/drivers/rtc/src/
Dmain.c17 struct rtc_time tm = { in set_date_time() local
37 struct rtc_time tm; in get_date_time() local
/Zephyr-latest/drivers/ptp_clock/
Dptp_clock.c12 struct net_ptp_time *tm) in z_vrfy_ptp_clock_get()
Dptp_clock_nxp_enet.c38 struct net_ptp_time *tm) in ptp_clock_nxp_enet_set()
52 struct net_ptp_time *tm) in ptp_clock_nxp_enet_get()
/Zephyr-latest/tests/unit/timeutil/
Dmain.c17 struct tm tm = *gmtime(&tp->ux); in timeutil_check() local
Dtest_gmtime.c15 struct tm tm = { in ZTEST() local
Dtimeutil_test.h16 struct tm tm; member
/Zephyr-latest/include/zephyr/drivers/
Dptp_clock.h41 struct net_ptp_time *tm) in ptp_clock_set()
60 struct net_ptp_time *tm) in z_impl_ptp_clock_get()
/Zephyr-latest/samples/posix/gettimeofday/src/
Dmain.c23 struct tm tm; in main() local
/Zephyr-latest/subsys/shell/modules/
Ddate_service.c144 struct tm tm; in cmd_date_set() local
194 struct tm tm; in cmd_date_get() local
/Zephyr-latest/samples/drivers/misc/timeaware_gpio/src/
Dmain.c30 uint64_t tm, ts, ec, ret; in main() local
/Zephyr-latest/subsys/net/lib/config/
Dinit_clock_sntp.c21 static int sntp_init_helper(struct sntp_time *tm) in sntp_init_helper()
/Zephyr-latest/tests/kernel/timer/timer_behavior/src/
Dtick_timer_train.c18 struct k_timer tm; member
29 void tm_fn(struct k_timer *tm) in tm_fn()
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_y2k.c35 struct tm *const tm[2] = { in ZTEST() local
/Zephyr-latest/lib/utils/
Dtimeutil.c45 int64_t timeutil_timegm64(const struct tm *tm) in timeutil_timegm64()
59 time_t timeutil_timegm(const struct tm *tm) in timeutil_timegm()
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c187 static int my_ptp_clock_set(const struct device *dev, struct net_ptp_time *tm) in my_ptp_clock_set()
201 static int my_ptp_clock_get(const struct device *dev, struct net_ptp_time *tm) in my_ptp_clock_get()
441 struct net_ptp_time tm = { in test_ptp_clock_iface() local
530 static ZTEST_BMEM struct net_ptp_time tm; variable
/Zephyr-latest/drivers/rtc/
Drtc_ds3231.c264 static int rtc_ds3231_rtc_time_to_buf(const struct rtc_time *tm, uint8_t *buf) in rtc_ds3231_rtc_time_to_buf()
282 static int rtc_ds3231_set_time(const struct device *dev, const struct rtc_time *tm) in rtc_ds3231_set_time()
297 static void rtc_ds3231_reset_rtc_time(struct rtc_time *tm) in rtc_ds3231_reset_rtc_time()
380 static int rtc_ds3231_rtc_time_to_alarm_buf(const struct rtc_time *tm, int id, const uint16_t mask, in rtc_ds3231_rtc_time_to_alarm_buf()
438 static int rtc_ds3231_modify_alarm_time(const struct device *dev, int id, const struct rtc_time *tm, in rtc_ds3231_modify_alarm_time()
496 static int rtc_ds3231_alarm_buf_to_rtc_time(uint8_t *buf, int id, struct rtc_time *tm, in rtc_ds3231_alarm_buf_to_rtc_time()
Drtc_ambiq.c43 static void rtc_time_to_ambiq_time_set(const struct rtc_time *tm, am_hal_rtc_time_t *atm) in rtc_time_to_ambiq_time_set()
72 static void ambiq_time_to_rtc_time_set(const am_hal_rtc_time_t *atm, struct rtc_time *tm) in ambiq_time_to_rtc_time_set()
Drtc_ds1307.c64 static int ds1307_set_time(const struct device *dev, const struct rtc_time *tm) in ds1307_set_time()
/Zephyr-latest/drivers/ethernet/
Deth_e1000.c332 struct net_ptp_time *tm) in ptp_clock_e1000_set()
343 struct net_ptp_time *tm) in ptp_clock_e1000_get()
Deth_native_tap.c554 static int ptp_clock_set_native_tap(const struct device *clk, struct net_ptp_time *tm) in ptp_clock_set_native_tap()
566 static int ptp_clock_get_native_tap(const struct device *clk, struct net_ptp_time *tm) in ptp_clock_get_native_tap()
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/
Drtio_iodev_test.h79 static void rtio_iodev_timer_fn(struct k_timer *tm) in rtio_iodev_timer_fn()
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/
Dmain.c337 struct _timeout tm; in ZTEST_USER() local
/Zephyr-latest/drivers/counter/
Dmaxim_ds3231.c328 struct tm tm = { in decode_alarm() local
376 struct tm tm; in encode_alarm() local
428 struct tm tm = { 0 }; in decode_rtc() local
883 struct tm tm; in sync_finish_write() local
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c339 struct net_ptp_time tm = {}; in gptp_get_current_time_nanosecond() local
751 struct net_ptp_time tm; in gptp_update_local_port_clock() local

12