Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/shell/backends/
Dshell_dummy.c16 static int init(const struct shell_transport *transport, in init()
32 static int uninit(const struct shell_transport *transport) in uninit()
45 static int enable(const struct shell_transport *transport, bool blocking) in enable()
56 static int write(const struct shell_transport *transport, in write()
79 static int read(const struct shell_transport *transport, in read()
Dshell_rpmsg.c17 const struct shell_transport *transport = (const struct shell_transport *)priv; in rpmsg_shell_cb()
37 static int uninit(const struct shell_transport *transport) in uninit()
51 static int init(const struct shell_transport *transport, in init()
88 static int enable(const struct shell_transport *transport, bool blocking) in enable()
101 static int write(const struct shell_transport *transport, in write()
131 static int read(const struct shell_transport *transport, in read()
Dshell_adsp_memory_window.c40 static int init(const struct shell_transport *transport, in init()
76 static int uninit(const struct shell_transport *transport) in uninit()
86 static int enable(const struct shell_transport *transport, bool blocking) in enable()
91 static int write(const struct shell_transport *transport, in write()
103 static int read(const struct shell_transport *transport, in read()
Dshell_rtt.c46 static int init(const struct shell_transport *transport, in init()
74 static int uninit(const struct shell_transport *transport) in uninit()
83 static int enable(const struct shell_transport *transport, bool blocking) in enable()
137 static int write(const struct shell_transport *transport, in write()
170 static int read(const struct shell_transport *transport, in read()
Dshell_websocket.c231 static int init(const struct shell_transport *transport, in init()
254 static int uninit(const struct shell_transport *transport) in uninit()
261 static int enable(const struct shell_transport *transport, bool blocking) in enable()
269 static int sh_write(const struct shell_transport *transport, in sh_write()
331 static int sh_read(const struct shell_transport *transport, in sh_read()
Dshell_uart.c287 static int init(const struct shell_transport *transport, in init()
332 static int uninit(const struct shell_transport *transport) in uninit()
345 static int enable(const struct shell_transport *transport, bool blocking_tx) in enable()
406 static int write_uart(const struct shell_transport *transport, in write_uart()
483 static int read_uart(const struct shell_transport *transport, in read_uart()
496 static void update(const struct shell_transport *transport) in update()
Dshell_mqtt.c644 static int init(const struct shell_transport *transport, const void *config, in init()
698 static int uninit(const struct shell_transport *transport) in uninit()
710 static int enable(const struct shell_transport *transport, bool blocking) in enable()
727 static int write_data(const struct shell_transport *transport, const void *data, size_t length, in write_data()
787 static int read_data(const struct shell_transport *transport, void *data, size_t length, in read_data()
Dshell_telnet.c616 static int init(const struct shell_transport *transport, in init()
644 static int uninit(const struct shell_transport *transport) in uninit()
653 static int enable(const struct shell_transport *transport, bool blocking) in enable()
662 static int telnet_write(const struct shell_transport *transport, in telnet_write()
735 static int telnet_read(const struct shell_transport *transport, in telnet_read()
/Zephyr-latest/include/zephyr/shell/
Dshell.h662 struct shell_transport;
680 int (*init)(const struct shell_transport *transport,
692 int (*uninit)(const struct shell_transport *transport);
706 int (*enable)(const struct shell_transport *transport,
719 int (*write)(const struct shell_transport *transport,
732 int (*read)(const struct shell_transport *transport,
742 void (*update)(const struct shell_transport *transport);
746 struct shell_transport { struct
915 const struct shell_transport *iface; /*!< Transport interface.*/
Dshell_rtt.h26 struct shell_transport _name = { \
Dshell_adsp_memory_window.h43 struct shell_transport _name = { \
Dshell_dummy.h32 struct shell_transport _name = { \
Dshell_rpmsg.h60 struct shell_transport _name = { \
Dshell_telnet.h69 struct shell_transport _name = { \
Dshell_uart.h92 struct shell_transport _name = { \
Dshell_mqtt.h109 struct shell_transport _name = { .api = &shell_mqtt_transport_api, \
Dshell_websocket.h75 static struct shell_transport GET_WS_TRANSPORT_NAME(_service) = { \
/Zephyr-latest/drivers/misc/coresight/
Dnrf_etr.c828 static int etr_shell_write(const struct shell_transport *transport, const void *data, size_t length, in etr_shell_write()
852 static int etr_shell_read(const struct shell_transport *transport, void *data, size_t length, in etr_shell_read()
886 static int etr_shell_enable(const struct shell_transport *transport, bool blocking_tx) in etr_shell_enable()
891 static int etr_shell_uninit(const struct shell_transport *transport) in etr_shell_uninit()
896 static int etr_shell_init(const struct shell_transport *transport, const void *config, in etr_shell_init()
920 static void etr_shell_update(const struct shell_transport *transport) in etr_shell_update()
936 static struct shell_transport transport = {