Home
last modified time | relevance | path

Searched full:modem_pipe (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/subsys/modem/
Dmodem_pipe.c14 static void pipe_set_callback(struct modem_pipe *pipe, in pipe_set_callback()
24 static void pipe_call_callback(struct modem_pipe *pipe, enum modem_pipe_event event) in pipe_call_callback()
33 static uint32_t pipe_test_events(struct modem_pipe *pipe, uint32_t events) in pipe_test_events()
38 static uint32_t pipe_await_events(struct modem_pipe *pipe, in pipe_await_events()
45 static void pipe_post_events(struct modem_pipe *pipe, uint32_t events) in pipe_post_events()
50 static void pipe_clear_events(struct modem_pipe *pipe, uint32_t events) in pipe_clear_events()
55 static void pipe_set_events(struct modem_pipe *pipe, uint32_t events) in pipe_set_events()
60 static int pipe_call_open(struct modem_pipe *pipe) in pipe_call_open()
65 static int pipe_call_transmit(struct modem_pipe *pipe, const uint8_t *buf, size_t size) in pipe_call_transmit()
70 static int pipe_call_receive(struct modem_pipe *pipe, uint8_t *buf, size_t size) in pipe_call_receive()
[all …]
DKconfig13 select MODEM_PIPE
25 select MODEM_PIPE
43 config MODEM_PIPE config
49 depends on MODEM_PIPE
54 select MODEM_PIPE
83 select MODEM_PIPE
Dmodem_pipelink.c39 struct modem_pipe *modem_pipelink_get_pipe(struct modem_pipelink *link) in modem_pipelink_get_pipe()
52 void modem_pipelink_init(struct modem_pipelink *link, struct modem_pipe *pipe) in modem_pipelink_init()
DCMakeLists.txt10 zephyr_library_sources_ifdef(CONFIG_MODEM_PIPE modem_pipe.c)
/Zephyr-latest/include/zephyr/modem/
Dpipe.h19 * @defgroup modem_pipe Modem Pipe
36 struct modem_pipe;
42 typedef void (*modem_pipe_api_callback)(struct modem_pipe *pipe, enum modem_pipe_event event,
64 struct modem_pipe { struct
80 void modem_pipe_init(struct modem_pipe *pipe, void *data, const struct modem_pipe_api *api); argument
99 int modem_pipe_open(struct modem_pipe *pipe, k_timeout_t timeout);
112 int modem_pipe_open_async(struct modem_pipe *pipe);
124 void modem_pipe_attach(struct modem_pipe *pipe, modem_pipe_api_callback callback, void *user_data);
139 int modem_pipe_transmit(struct modem_pipe *pipe, const uint8_t *buf, size_t size);
154 int modem_pipe_receive(struct modem_pipe *pipe, uint8_t *buf, size_t size);
[all …]
Dcmux.h19 * Writing to and from the CMUX instances is done using the modem_pipe API.
90 struct modem_pipe pipe;
129 struct modem_pipe *pipe;
229 struct modem_pipe *modem_cmux_dlci_init(struct modem_cmux *cmux, struct modem_cmux_dlci *dlci,
238 int modem_cmux_attach(struct modem_cmux *cmux, struct modem_pipe *pipe);
Dpipelink.h54 struct modem_pipe *pipe;
87 struct modem_pipe *modem_pipelink_get_pipe(struct modem_pipelink *link);
98 void modem_pipelink_init(struct modem_pipelink *link, struct modem_pipe *pipe);
Dppp.h90 struct modem_pipe *pipe;
134 int modem_ppp_attach(struct modem_ppp *ppp, struct modem_pipe *pipe);
Dubx.h82 struct modem_pipe *pipe;
108 int modem_ubx_attach(struct modem_ubx *ubx, struct modem_pipe *pipe);
/Zephyr-latest/tests/subsys/modem/modem_pipe/
Dtestcase.yaml5 modem.modem_pipe:
6 tags: modem_pipe
/Zephyr-latest/include/zephyr/modem/backend/
Dtty.h25 struct modem_pipe pipe;
38 struct modem_pipe *modem_backend_tty_init(struct modem_backend_tty *backend,
Duart.h46 struct modem_pipe pipe;
69 struct modem_pipe *modem_backend_uart_init(struct modem_backend_uart *backend,
/Zephyr-latest/doc/services/modem/
Dindex.rst23 A modem backend will internally contain an instance of a modem_pipe
27 The modem backend will return a pointer to its internal modem_pipe
31 .. doxygengroup:: modem_pipe
/Zephyr-latest/tests/subsys/modem/modem_pipe/src/
Dmain.c24 /* Fake modem_pipe backend */
27 struct modem_pipe pipe;
137 static struct modem_pipe *modem_backend_fake_init(struct modem_backend_fake *backend) in modem_backend_fake_init()
171 static struct modem_pipe *test_pipe;
180 static void modem_pipe_fake_handler(struct modem_pipe *pipe, enum modem_pipe_event event, in modem_pipe_fake_handler()
330 ZTEST(modem_pipe, test_async_open_close) in ZTEST() argument
341 ZTEST(modem_pipe, test_sync_open_close) in ZTEST() argument
353 ZTEST(modem_pipe, test_async_transmit) in ZTEST() argument
360 ZTEST(modem_pipe, test_sync_transmit) in ZTEST() argument
368 ZTEST(modem_pipe, test_attach) in ZTEST() argument
[all …]
/Zephyr-latest/subsys/modem/backends/
DKconfig6 select MODEM_PIPE
11 select MODEM_PIPE
Dmodem_backend_uart.c30 struct modem_pipe *modem_backend_uart_init(struct modem_backend_uart *backend, in modem_backend_uart_init()
Dmodem_backend_tty.c113 struct modem_pipe *modem_backend_tty_init(struct modem_backend_tty *backend, in modem_backend_tty_init()
/Zephyr-latest/tests/subsys/modem/mock/
Dmodem_backend_mock.h25 struct modem_pipe pipe;
50 struct modem_pipe *modem_backend_mock_init(struct modem_backend_mock *mock,
Dmodem_backend_mock.c106 struct modem_pipe *modem_backend_mock_init(struct modem_backend_mock *mock, in modem_backend_mock_init()
120 struct modem_pipe *modem_backend_mock_get_pipe(struct modem_backend_mock *mock) in modem_backend_mock_get_pipe()
/Zephyr-latest/drivers/modem/
DKconfig.at_shell8 select MODEM_PIPE
DKconfig.cellular10 select MODEM_PIPE
/Zephyr-latest/drivers/lora/
DKconfig.rylrxxx13 select MODEM_PIPE
/Zephyr-latest/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c30 static struct modem_pipe *dlci1_pipe;
31 static struct modem_pipe *dlci2_pipe;
39 static struct modem_pipe *dlci1_pipe_dce;
40 static struct modem_pipe *dlci2_pipe_dce;
53 static struct modem_pipe *bus_mock_pipe;
54 static struct modem_pipe *bus_mock_pipe_dce;
64 static void test_dlci1_pipe_cb(struct modem_pipe *pipe, enum modem_pipe_event event, in test_dlci1_pipe_cb()
85 static void test_dlci2_pipe_cb(struct modem_pipe *pipe, enum modem_pipe_event event, in test_dlci2_pipe_cb()
105 static void test_dlci1_pipe_cb_dce(struct modem_pipe *pipe, enum modem_pipe_event event, in test_dlci1_pipe_cb_dce()
126 static void test_dlci2_pipe_cb_dce(struct modem_pipe *pipe, enum modem_pipe_event event, in test_dlci2_pipe_cb_dce()
/Zephyr-latest/tests/subsys/modem/modem_pipelink/src/
Dmain.c24 static struct modem_pipe test_pipe;
/Zephyr-latest/tests/subsys/modem/backends/uart/src/
Dmain.c12 * The test suite repeats three times, opening and clsoing the modem_pipe attached to the
33 static struct modem_pipe *pipe;
47 static void modem_pipe_callback_handler(struct modem_pipe *pipe, enum modem_pipe_event event, in modem_pipe_callback_handler()

12