Home
last modified time | relevance | path

Searched refs:sys_timepoint_calc (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/tests/kernel/timer/timepoints/src/
Dmain.c16 timepoint = sys_timepoint_calc(timeout); in ZTEST()
22 timepoint = sys_timepoint_calc(timeout); in ZTEST()
28 timepoint = sys_timepoint_calc(timeout); in ZTEST()
42 a = sys_timepoint_calc(K_NO_WAIT); in ZTEST()
47 a = sys_timepoint_calc(K_FOREVER); in ZTEST()
52 a = sys_timepoint_calc(K_NO_WAIT); in ZTEST()
53 b = sys_timepoint_calc(K_MSEC(1)); in ZTEST()
57 a = sys_timepoint_calc(K_MSEC(1)); in ZTEST()
58 b = sys_timepoint_calc(K_FOREVER); in ZTEST()
62 a = sys_timepoint_calc(K_MSEC(1)); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/host/conn/mocks/
Dsys_clock.h12 FAKE(sys_timepoint_calc) \
15 DECLARE_FAKE_VALUE_FUNC(k_timepoint_t, sys_timepoint_calc, k_timeout_t);
Dsys_clock.c11 DEFINE_FAKE_VALUE_FUNC(k_timepoint_t, sys_timepoint_calc, k_timeout_t);
/Zephyr-latest/samples/modules/lvgl/demos/src/
Dmain.c49 sys_timepoint_calc(K_SECONDS(CONFIG_LV_Z_DEMO_RENDER_DYNAMIC_SCENE_TIMEOUT)); in main()
77 next_scene_switch = sys_timepoint_calc( in main()
/Zephyr-latest/subsys/net/ip/
Dipv4_acd.c130 k_timepoint_t expiry = sys_timepoint_calc(K_FOREVER); in acd_timer_reschedule()
174 ifaddr->acd_timeout = sys_timepoint_calc(K_MSEC(delay)); in ipv4_acd_manage_timeout()
193 ifaddr->acd_timeout = sys_timepoint_calc( in ipv4_acd_manage_timeout()
205 ifaddr->acd_timeout = sys_timepoint_calc(K_NO_WAIT); in ipv4_acd_manage_timeout()
253 ifaddr->acd_timeout = sys_timepoint_calc(K_MSEC(delay)); in acd_start_timer()
353 ifaddr->acd_timeout = sys_timepoint_calc( in net_ipv4_acd_input()
/Zephyr-latest/modules/thrift/src/thrift/concurrency/
DMutex.cpp44 k_timepoint_t end = sys_timepoint_calc(K_MSEC(milliseconds)); in timedlock()
/Zephyr-latest/include/zephyr/
Dsys_clock.h243 k_timepoint_t sys_timepoint_calc(k_timeout_t timeout);
287 static inline k_timepoint_t sys_timepoint_calc(k_timeout_t timeout) in sys_timepoint_calc() function
/Zephyr-latest/lib/os/zvfs/
Dzvfs_poll.c36 end = sys_timepoint_calc(timeout); in zvfs_poll_internal()
65 end = sys_timepoint_calc(timeout); in zvfs_poll_internal()
/Zephyr-latest/subsys/net/lib/dns/
Ddns_cache.c28 k_timepoint_t closest_to_expiry = sys_timepoint_calc(K_FOREVER); in dns_cache_add()
67 cache->entries[index_to_replace].expiry = sys_timepoint_calc(K_SECONDS(ttl)); in dns_cache_add()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_server.c110 sys_timepoint_calc(K_SECONDS(disabled_timeout[i])); in disable_cb()
242 disabled_until[idx] = sys_timepoint_calc(timeout); in lwm2m_server_disable()
251 return sys_timepoint_calc(K_FOREVER); in lwm2m_server_get_disabled_time()
259 disabled_until[i] = sys_timepoint_calc(K_NO_WAIT); in lwm2m_server_reset_timestamps()
351 disabled_until[index] = sys_timepoint_calc(K_NO_WAIT); in server_create()
/Zephyr-latest/kernel/
Dkheap.c68 k_timepoint_t end = sys_timepoint_calc(timeout); in k_heap_aligned_alloc()
140 k_timepoint_t end = sys_timepoint_calc(timeout); in k_heap_realloc()
Dtimeout.c293 k_timepoint_t sys_timepoint_calc(k_timeout_t timeout) in sys_timepoint_calc() function
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4_server.c82 k_timepoint_t next = sys_timepoint_calc(K_FOREVER); in dhcpv4_server_timeout_recalc()
830 probe_ctx->slot->expiry = sys_timepoint_calc(ADDRESS_DECLINED_TIMEOUT); in echo_reply_handler()
856 new_slot->expiry = sys_timepoint_calc(ADDRESS_PROBE_TIMEOUT); in echo_reply_handler()
924 slot->expiry = sys_timepoint_calc(ADDRESS_RESERVED_TIMEOUT); in dhcpv4_server_probe_timeout()
1078 sys_timepoint_calc(ADDRESS_PROBE_TIMEOUT); in dhcpv4_handle_discover()
1086 sys_timepoint_calc(ADDRESS_RESERVED_TIMEOUT); in dhcpv4_handle_discover()
1174 selected->expiry = sys_timepoint_calc( in dhcpv4_handle_request()
1222 selected->expiry = sys_timepoint_calc( in dhcpv4_handle_request()
1268 selected->expiry = sys_timepoint_calc( in dhcpv4_handle_request()
1323 sys_timepoint_calc(ADDRESS_DECLINED_TIMEOUT); in dhcpv4_handle_decline()
[all …]
/Zephyr-latest/drivers/input/
Dinput_kbd_matrix.c261 return sys_timepoint_calc(K_FOREVER); in input_kbd_matrix_poll_timeout()
264 return sys_timepoint_calc(K_MSEC(cfg->poll_timeout_ms)); in input_kbd_matrix_poll_timeout()
/Zephyr-latest/subsys/net/lib/sockets/
Dgetaddrinfo.c112 new_timepoint = sys_timepoint_calc(timeout); in recalc_timeout()
125 k_timepoint_t end = sys_timepoint_calc(K_MSEC(CONFIG_NET_SOCKETS_DNS_TIMEOUT)); in exec_query()
Dsockets_inet.c607 buf_timeout = sys_timepoint_calc(K_NO_WAIT); in zsock_sendto_ctx()
610 buf_timeout = sys_timepoint_calc(MAX_WAIT_BUFS); in zsock_sendto_ctx()
612 end = sys_timepoint_calc(timeout); in zsock_sendto_ctx()
663 buf_timeout = sys_timepoint_calc(K_NO_WAIT); in zsock_sendmsg_ctx()
666 buf_timeout = sys_timepoint_calc(MAX_WAIT_BUFS); in zsock_sendmsg_ctx()
668 end = sys_timepoint_calc(timeout); in zsock_sendmsg_ctx()
1342 for (end = sys_timepoint_calc(timeout); max_len > 0; timeout = sys_timepoint_timeout(end)) { in zsock_recv_stream_timed()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_tcp_uploader.c44 k_timepoint_t end = sys_timepoint_calc(K_MSEC(duration_in_ms)); in tcp_upload()
/Zephyr-latest/drivers/w1/
Dw1_zephyr_serial.c86 end = sys_timepoint_calc(K_USEC(timeout)); in serial_tx_rx()
/Zephyr-latest/subsys/zbus/
Dzbus.c388 k_timepoint_t end_time = sys_timepoint_calc(timeout); in zbus_chan_pub()
446 k_timepoint_t end_time = sys_timepoint_calc(timeout); in zbus_chan_notify()
/Zephyr-latest/drivers/i2c/
Di2c_sc18im704.c71 end = sys_timepoint_calc(K_SECONDS(1)); in sc18im704_transfer()
/Zephyr-latest/doc/kernel/services/timing/
Dclocks.rst328 internal :c:func:`sys_timepoint_calc` and :c:func:`sys_timepoint_timeout` routines
338 k_timepoint_t end = sys_timepoint_calc(timeout);
353 Note that :c:func:`sys_timepoint_calc` accepts special values :c:macro:`K_FOREVER`
363 :c:func:`sys_timepoint_calc`. But the user expects that the time is
/Zephyr-latest/lib/net_buf/
Dbuf.c234 k_timepoint_t end = sys_timepoint_calc(timeout); in net_buf_alloc_len_debug()
512 k_timepoint_t end = sys_timepoint_calc(timeout); in net_buf_clone()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280.c128 k_timepoint_t end = sys_timepoint_calc(timeout); in bme280_wait_until_ready()
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c644 k_timepoint_t req_end_timepoint = sys_timepoint_calc(req_timeout); in websocket_prepare_and_send()
954 end = sys_timepoint_calc(tout); in websocket_recv_msg()
/Zephyr-latest/drivers/ethernet/
Deth_w5500.c160 k_timepoint_t end = sys_timepoint_calc(K_MSEC(100)); in w5500_command()

12