Home
last modified time | relevance | path

Searched refs:retry_cnt (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/shell/backends/
Dshell_rtt.c108 static void on_failed_write(int retry_cnt) in on_failed_write() argument
110 if (retry_cnt == 0) { in on_failed_write()
120 static void on_write(int retry_cnt) in on_write() argument
131 on_failed_write(retry_cnt--); in on_write()
142 int retry_cnt = CONFIG_SHELL_BACKEND_RTT_RETRY_CNT; in write() local
156 on_write(retry_cnt); in write()
158 retry_cnt--; in write()
159 on_failed_write(retry_cnt); in write()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_rtt.c174 static void on_failed_write(int retry_cnt) in on_failed_write() argument
176 if (retry_cnt == 0) { in on_failed_write()
186 static void on_write(int retry_cnt) in on_write() argument
197 on_failed_write(retry_cnt--); in on_write()
208 int retry_cnt = IS_ENABLED(CONFIG_LOG_BACKEND_RTT_MODE_BLOCK) ? in data_out_block_mode() local
223 on_write(retry_cnt); in data_out_block_mode()
225 retry_cnt--; in data_out_block_mode()
226 on_failed_write(retry_cnt); in data_out_block_mode()
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c34 int retry_cnt; member
109 } else if (entry->retry_cnt) { in smp_client_transport_work_fn()
112 entry->retry_cnt--; in smp_client_transport_work_fn()
319 cmd_req->retry_cnt = timeout_in_sec * (1000 / CONFIG_SMP_CMD_RETRY_TIME); in smp_client_send_cmd()