Searched refs:k_uptime_seconds (Results 1 – 8 of 8) sorted by relevance
50 if (k_uptime_seconds() > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()63 if (k_uptime_seconds() > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()75 if (k_uptime_seconds() > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()
74 uint32_t device_time = k_uptime_seconds() + ctx.time_offset; in clock_sync_serialize_device_time()224 *gps_time = k_uptime_seconds() + ctx.time_offset; in lorawan_clock_sync_get()
84 zassert_within((int)device_time, k_uptime_seconds(), 1); in ZTEST()93 zassert_within(gps_time, k_uptime_seconds() + 1000, 1); in ZTEST()
81 on_time_value[i] = k_uptime_seconds() - on_time_offset[i]; in on_time_read_cb()111 on_time_offset[i] = k_uptime_seconds(); in on_time_post_write_cb()
179 time_temp = time_offset + k_uptime_seconds(); in current_time_read_cb()198 time_offset = *(uint32_t *)data - k_uptime_seconds(); in current_time_post_write_cb()201 time_offset = *(time_t *)data - (time_t)k_uptime_seconds(); in current_time_post_write_cb()
196 addr_age = k_uptime_seconds() - ipv6->unicast[i].addr_create_time; in ipv6_pe_prefix_update_lifetimes()409 ifaddr->addr_create_time = k_uptime_seconds(); in net_ipv6_pe_start()701 diff = (int32_t)(ipv6->unicast[i].addr_create_time - k_uptime_seconds()); in renewal_cb()
1891 static inline uint32_t k_uptime_seconds(void) in k_uptime_seconds() function
273 * Added :c:func:`k_uptime_seconds` function to simplify ``k_uptime_get() / 1000`` usage.