Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/shell/backends/
Dshell_rpmsg.c18 struct shell_rpmsg *sh_rpmsg = (struct shell_rpmsg *)transport->ctx; in rpmsg_shell_cb() local
27 if (k_msgq_put(&sh_rpmsg->rx_q, &rx, K_NO_WAIT) != 0) { in rpmsg_shell_cb()
32 sh_rpmsg->shell_handler(SHELL_TRANSPORT_EVT_RX_RDY, sh_rpmsg->shell_context); in rpmsg_shell_cb()
39 struct shell_rpmsg *sh_rpmsg = (struct shell_rpmsg *)transport->ctx; in uninit() local
41 if (!sh_rpmsg->ready) { in uninit()
45 rpmsg_destroy_ept(&sh_rpmsg->ept); in uninit()
46 sh_rpmsg->ready = false; in uninit()
56 struct shell_rpmsg *sh_rpmsg = (struct shell_rpmsg *)transport->ctx; in init() local
60 if (sh_rpmsg->ready) { in init()
69 k_msgq_init(&sh_rpmsg->rx_q, (char *)sh_rpmsg->rx_buf, sizeof(struct shell_rpmsg_rx), in init()
[all …]