Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/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-Core-3.6.0/include/zephyr/
Dsys_clock.h237 k_timepoint_t sys_timepoint_calc(k_timeout_t timeout);
264 k_timepoint_t tp = sys_timepoint_calc(timeout); in sys_clock_timeout_end_calc()
296 static inline k_timepoint_t sys_timepoint_calc(k_timeout_t timeout) in sys_timepoint_calc() function
/Zephyr-Core-3.6.0/modules/thrift/src/thrift/concurrency/
DMutex.cpp44 k_timepoint_t end = sys_timepoint_calc(K_MSEC(milliseconds)); in timedlock()
/Zephyr-Core-3.6.0/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[i] = sys_timepoint_calc(K_NO_WAIT); in server_create()
/Zephyr-Core-3.6.0/subsys/net/lib/dhcpv4/
Ddhcpv4_server.c76 k_timepoint_t next = sys_timepoint_calc(K_FOREVER); in dhcpv4_server_timeout_recalc()
766 new_slot->expiry = sys_timepoint_calc(ADDRESS_PROBE_TIMEOUT); in echo_reply_handler()
831 slot->expiry = sys_timepoint_calc(ADDRESS_RESERVED_TIMEOUT); in dhcpv4_server_probe_timeout()
952 sys_timepoint_calc(ADDRESS_PROBE_TIMEOUT); in dhcpv4_handle_discover()
960 sys_timepoint_calc(ADDRESS_RESERVED_TIMEOUT); in dhcpv4_handle_discover()
1047 selected->expiry = sys_timepoint_calc( in dhcpv4_handle_request()
1095 selected->expiry = sys_timepoint_calc( in dhcpv4_handle_request()
1139 selected->expiry = sys_timepoint_calc( in dhcpv4_handle_request()
1193 slot->expiry = sys_timepoint_calc(K_FOREVER); in dhcpv4_handle_decline()
1240 slot->expiry = sys_timepoint_calc(K_FOREVER); in dhcpv4_handle_release()
/Zephyr-Core-3.6.0/kernel/
Dkheap.c68 k_timepoint_t end = sys_timepoint_calc(timeout); in k_heap_aligned_alloc()
Dtimeout.c292 k_timepoint_t sys_timepoint_calc(k_timeout_t timeout) in sys_timepoint_calc() function
/Zephyr-Core-3.6.0/drivers/input/
Dinput_kbd_matrix.c237 return sys_timepoint_calc(K_FOREVER); in input_kbd_matrix_poll_timeout()
240 return sys_timepoint_calc(K_MSEC(cfg->poll_timeout_ms)); in input_kbd_matrix_poll_timeout()
/Zephyr-Core-3.6.0/subsys/net/lib/zperf/
Dzperf_tcp_uploader.c44 k_timepoint_t end = sys_timepoint_calc(K_MSEC(duration_in_ms)); in tcp_upload()
/Zephyr-Core-3.6.0/drivers/w1/
Dw1_zephyr_serial.c86 end = sys_timepoint_calc(K_USEC(timeout)); in serial_tx_rx()
/Zephyr-Core-3.6.0/subsys/zbus/
Dzbus.c357 k_timepoint_t end_time = sys_timepoint_calc(timeout); in zbus_chan_pub()
410 k_timepoint_t end_time = sys_timepoint_calc(timeout); in zbus_chan_notify()
/Zephyr-Core-3.6.0/subsys/net/lib/sockets/
Dsockets.c804 buf_timeout = sys_timepoint_calc(K_NO_WAIT); in zsock_sendto_ctx()
807 buf_timeout = sys_timepoint_calc(MAX_WAIT_BUFS); in zsock_sendto_ctx()
809 end = sys_timepoint_calc(timeout); in zsock_sendto_ctx()
905 buf_timeout = sys_timepoint_calc(K_NO_WAIT); in zsock_sendmsg_ctx()
908 buf_timeout = sys_timepoint_calc(MAX_WAIT_BUFS); in zsock_sendmsg_ctx()
910 end = sys_timepoint_calc(timeout); in zsock_sendmsg_ctx()
1632 for (end = sys_timepoint_calc(timeout); max_len > 0; timeout = sys_timepoint_timeout(end)) { in zsock_recv_stream_timed()
2224 end = sys_timepoint_calc(timeout); in zsock_poll_internal()
2256 end = sys_timepoint_calc(timeout); in zsock_poll_internal()
Dsockets_tls.c1186 end = sys_timepoint_calc(timeout); in tls_mbedtls_handshake()
2272 end = sys_timepoint_calc(timeout); in send_tls()
2505 end = sys_timepoint_calc(timeout); in recv_tls()
2600 end = sys_timepoint_calc(timeout); in recvfrom_dtls_common()
/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_sc18im704.c71 end = sys_timepoint_calc(K_SECONDS(1)); in sc18im704_transfer()
/Zephyr-Core-3.6.0/subsys/net/
Dbuf.c234 k_timepoint_t end = sys_timepoint_calc(timeout); in net_buf_alloc_len_debug()
505 k_timepoint_t end = sys_timepoint_calc(timeout); in net_buf_clone()
/Zephyr-Core-3.6.0/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-Core-3.6.0/drivers/ethernet/
Deth_w5500.c160 k_timepoint_t end = sys_timepoint_calc(K_MSEC(100)); in w5500_command()
Deth_dwmac.c583 timeout = sys_timepoint_calc(K_MSEC(100)); in dwmac_probe()
/Zephyr-Core-3.6.0/subsys/usb/device/class/dfu/
Dusb_dfu.c946 k_timepoint_t end = sys_timepoint_calc(delay); in wait_for_usb_dfu()
/Zephyr-Core-3.6.0/include/zephyr/rtio/
Drtio.h1390 k_timepoint_t end = sys_timepoint_calc(timeout); in z_impl_rtio_cqe_copy_out()
/Zephyr-Core-3.6.0/subsys/net/ip/
Dnet_pkt.c869 k_timepoint_t end = sys_timepoint_calc(timeout);
1460 k_timepoint_t end = sys_timepoint_calc(timeout);
/Zephyr-Core-3.6.0/subsys/net/lib/websocket/
Dwebsocket.c923 end = sys_timepoint_calc(tout); in websocket_recv_msg()