Lines Matching refs:sh_rtt
39 const struct shell_rtt *sh_rtt = k_timer_user_data_get(timer); in timer_handler() local
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() local
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() local
78 k_timer_stop(&sh_rtt->timer); in uninit()
85 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in enable() local
91 k_timer_stop(&sh_rtt->timer); in enable()
140 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in write() local
164 sh_rtt->handler(SHELL_TRANSPORT_EVT_TX_RDY, sh_rtt->context); in write()