Lines Matching +full:level +full:- +full:detect
4 * SPDX-License-Identifier: Apache-2.0
42 sh_rtt->handler(SHELL_TRANSPORT_EVT_RX_RDY, sh_rtt->context); in timer_handler()
51 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in init()
53 sh_rtt->handler = evt_handler; in init()
54 sh_rtt->context = context; in init()
56 k_timer_init(&sh_rtt->timer, timer_handler, NULL); in init()
57 k_timer_user_data_set(&sh_rtt->timer, (void *)sh_rtt); in init()
58 k_timer_start(&sh_rtt->timer, K_MSEC(CONFIG_SHELL_RTT_RX_POLL_PERIOD), in init()
76 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in uninit()
78 k_timer_stop(&sh_rtt->timer); in uninit()
85 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in enable()
91 k_timer_stop(&sh_rtt->timer); in enable()
127 * must also detect situation where host is disconnected. in on_write()
131 on_failed_write(retry_cnt--); in on_write()
140 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in write()
158 retry_cnt--; in write()
164 sh_rtt->handler(SHELL_TRANSPORT_EVT_TX_RDY, sh_rtt->context); in write()
189 uint32_t level = (CONFIG_SHELL_RTT_INIT_LOG_LEVEL > LOG_LEVEL_DBG) ? in enable_shell_rtt() local
194 shell_init(&shell_rtt, NULL, cfg_flags, log_backend, level); in enable_shell_rtt()