Home
last modified time | relevance | path

Searched refs:SYS_FOREVER_MS (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-Core-3.4.0/samples/bluetooth/mesh/src/
Dmicrobit.c74 mb_display_image(disp, MB_DISPLAY_MODE_DEFAULT, SYS_FOREVER_MS, &arrow, in board_output_number()
111 mb_display_image(disp, MB_DISPLAY_MODE_DEFAULT, SYS_FOREVER_MS, in board_led_set()
Dmain.c80 return SYS_FOREVER_MS; in model_time_decode()
88 if (ms == SYS_FOREVER_MS) { in model_time_encode()
/Zephyr-Core-3.4.0/subsys/net/lib/mqtt/
Dmqtt_transport_websocket.c99 true, true, SYS_FOREVER_MS); in mqtt_client_websocket_write()
128 true, final, SYS_FOREVER_MS); in mqtt_client_websocket_write_msg()
143 int32_t timeout = SYS_FOREVER_MS; in mqtt_client_websocket_read()
/Zephyr-Core-3.4.0/scripts/coccinelle/
Dms_timeout.cocci10 // with 0; for K_FOREVER replace with SYS_FOREVER_MS, the value of
78 + SYS_FOREVER_MS
135 + SYS_FOREVER_MS
192 + SYS_FOREVER_MS
/Zephyr-Core-3.4.0/lib/posix/
Dpthread_rwlock.c74 return read_lock_acquire(rwlock, SYS_FOREVER_MS); in pthread_rwlock_rdlock()
136 return write_lock_acquire(rwlock, SYS_FOREVER_MS); in pthread_rwlock_wrlock()
241 if (timeout != SYS_FOREVER_MS) { in write_lock_acquire()
/Zephyr-Core-3.4.0/samples/net/cloud/google_iot_mqtt/src/
Dmain.c37 rc = sntp_simple("time.google.com", SYS_FOREVER_MS, &sntp_time); in do_sntp()
/Zephyr-Core-3.4.0/subsys/console/
Dtty.c191 ((timeout != SYS_FOREVER_MS) && timeout-- == 0U)) { in tty_read_unbuf()
257 tty->rx_timeout = SYS_FOREVER_MS; in tty_init()
258 tty->tx_timeout = SYS_FOREVER_MS; in tty_init()
/Zephyr-Core-3.4.0/subsys/net/lib/sntp/
Dsntp_simple.c39 if (timeout == SYS_FOREVER_MS) { in sntp_simple()
/Zephyr-Core-3.4.0/subsys/net/lib/websocket/
Dwebsocket.c423 true, true, SYS_FOREVER_MS); in websocket_interal_disconnect()
614 if (timeout != SYS_FOREVER_MS) { in websocket_prepare_and_send()
914 return SYS_FOREVER_MS; in timeout_to_ms()
931 if (timeout != SYS_FOREVER_MS) { in websocket_recv_msg()
1102 return (ssize_t)websocket_recv(obj, buffer, count, SYS_FOREVER_MS); in websocket_read_vmeth()
1108 return (ssize_t)websocket_send(obj, buffer, count, SYS_FOREVER_MS); in websocket_write_vmeth()
1117 int32_t timeout = SYS_FOREVER_MS; in websocket_sendto_ctx()
1134 int32_t timeout = SYS_FOREVER_MS; in websocket_recvfrom_ctx()
/Zephyr-Core-3.4.0/tests/net/socket/websocket/src/
Dmain.c393 SYS_FOREVER_MS); in ZTEST()
416 SYS_FOREVER_MS); in ZTEST()
438 true, true, SYS_FOREVER_MS); in ZTEST()
/Zephyr-Core-3.4.0/drivers/modem/
Dmodem_iface_uart_async.c119 rc = uart_tx(iface->dev, buf, size, SYS_FOREVER_MS); in modem_iface_uart_async_write()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dadv_legacy.c162 adv_timeout = SYS_FOREVER_MS; in adv_thread()
Dpb_gatt_srv.c293 return bt_mesh_adv_gatt_start(&slow_adv_param, SYS_FOREVER_MS, prov_ad, in bt_mesh_pb_gatt_srv_adv_start()
Dproxy_srv.c707 int32_t remaining = SYS_FOREVER_MS; in gatt_proxy_advertise()
738 if (remaining > max_timeout || remaining == SYS_FOREVER_MS) { in gatt_proxy_advertise()
780 if (remaining == SYS_FOREVER_MS || in gatt_proxy_advertise()
Dadv_ext.c489 .timeout = (duration == SYS_FOREVER_MS) ? 0 : MAX(1, duration / 10), in bt_mesh_adv_gatt_start()
/Zephyr-Core-3.4.0/include/zephyr/sys/
Dtime_units.h24 #define SYS_FOREVER_MS (-1) macro
34 #define SYS_TIMEOUT_MS(ms) ((ms) == SYS_FOREVER_MS ? K_FOREVER : K_MSEC(ms))
/Zephyr-Core-3.4.0/drivers/display/
Dmb_display.c107 if (disp->duration != SYS_FOREVER_MS) { in update_content()
/Zephyr-Core-3.4.0/samples/net/sockets/websocket_client/src/
Dmain.c179 true, true, SYS_FOREVER_MS); in sendall_with_ws_api()
/Zephyr-Core-3.4.0/subsys/net/lib/sockets/
Dsockets_tls.c326 return SYS_FOREVER_MS; in dtls_get_remaining_timeout()
784 return SYS_FOREVER_MS; in timeout_to_ms()
1194 if (timeout_dtls != SYS_FOREVER_MS) { in tls_mbedtls_handshake()
1195 if (timeout_ms == SYS_FOREVER_MS) { in tls_mbedtls_handshake()
2350 if (timeout_dtls == SYS_FOREVER_MS || in recvfrom_dtls_common()
2351 timeout_sock == SYS_FOREVER_MS) { in recvfrom_dtls_common()
/Zephyr-Core-3.4.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c422 rc = sntp_simple(SNTP_SERVER, SYS_FOREVER_MS, &now); in sntp_sync_time()
/Zephyr-Core-3.4.0/samples/net/cloud/mqtt_azure/src/
Dmain.c313 rc = wait(SYS_FOREVER_MS); in poll_mqtt()
/Zephyr-Core-3.4.0/samples/boards/bbc_microbit/pong/src/
Dmain.c552 SYS_FOREVER_MS, &img, 1); in main()
/Zephyr-Core-3.4.0/tests/net/context/src/
Dmain.c914 tid = start_timeout_v6_thread(SYS_FOREVER_MS); in ZTEST()
945 tid = start_timeout_v4_thread(SYS_FOREVER_MS); in ZTEST()
/Zephyr-Core-3.4.0/drivers/wifi/eswifi/
Deswifi_socket_offload.c521 if (msecs == SYS_FOREVER_MS) { in eswifi_socket_poll()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/shell/
Dcfg.c60 timeout_ms = SYS_FOREVER_MS; in cmd_timeout()
69 if (timeout_ms == SYS_FOREVER_MS) { in cmd_timeout()

12