/Zephyr-latest/include/zephyr/modem/ |
D | pipe.h | 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); 161 void modem_pipe_release(struct modem_pipe *pipe); [all …]
|
D | pipelink.h | 54 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);
|
D | cmux.h | 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);
|
D | ubx.h | 82 struct modem_pipe *pipe; 108 int modem_ubx_attach(struct modem_ubx *ubx, struct modem_pipe *pipe);
|
D | ppp.h | 90 struct modem_pipe *pipe; 134 int modem_ppp_attach(struct modem_ppp *ppp, struct modem_pipe *pipe);
|
D | chat.h | 212 struct modem_pipe *pipe; 325 int modem_chat_attach(struct modem_chat *chat, struct modem_pipe *pipe);
|
/Zephyr-latest/subsys/modem/ |
D | modem_pipe.c | 14 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 …]
|
D | modem_pipelink.c | 39 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()
|
D | CMakeLists.txt | 10 zephyr_library_sources_ifdef(CONFIG_MODEM_PIPE modem_pipe.c)
|
D | modem_ubx.c | 179 static void modem_ubx_pipe_callback(struct modem_pipe *pipe, enum modem_pipe_event event, in modem_ubx_pipe_callback() 284 int modem_ubx_attach(struct modem_ubx *ubx, struct modem_pipe *pipe) in modem_ubx_attach()
|
/Zephyr-latest/include/zephyr/modem/backend/ |
D | tty.h | 25 struct modem_pipe pipe; 38 struct modem_pipe *modem_backend_tty_init(struct modem_backend_tty *backend,
|
D | uart.h | 46 struct modem_pipe pipe; 69 struct modem_pipe *modem_backend_uart_init(struct modem_backend_uart *backend,
|
/Zephyr-latest/tests/subsys/modem/modem_pipe/src/ |
D | main.c | 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 400 ZTEST_SUITE(modem_pipe, NULL, modem_backend_fake_setup, modem_backend_fake_before,
|
/Zephyr-latest/tests/subsys/modem/mock/ |
D | modem_backend_mock.h | 25 struct modem_pipe pipe; 50 struct modem_pipe *modem_backend_mock_init(struct modem_backend_mock *mock,
|
D | modem_backend_mock.c | 106 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/tests/subsys/modem/modem_cmux_pair/src/ |
D | main.c | 30 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/doc/services/modem/ |
D | index.rst | 23 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/backends/uart/src/ |
D | main.c | 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()
|
/Zephyr-latest/subsys/modem/backends/ |
D | modem_backend_uart.c | 30 struct modem_pipe *modem_backend_uart_init(struct modem_backend_uart *backend, in modem_backend_uart_init()
|
D | modem_backend_tty.c | 113 struct modem_pipe *modem_backend_tty_init(struct modem_backend_tty *backend, in modem_backend_tty_init()
|
/Zephyr-latest/tests/subsys/modem/backends/tty/src/ |
D | main.c | 34 static struct modem_pipe *tty_pipe; 64 static void modem_pipe_callback_handler(struct modem_pipe *pipe, enum modem_pipe_event event, in modem_pipe_callback_handler()
|
/Zephyr-latest/tests/subsys/modem/modem_pipelink/src/ |
D | main.c | 24 static struct modem_pipe test_pipe;
|
/Zephyr-latest/tests/subsys/modem/modem_cmux/src/ |
D | main.c | 39 static struct modem_pipe *dlci1_pipe; 40 static struct modem_pipe *dlci2_pipe; 47 static struct modem_pipe *bus_mock_pipe; 58 static void test_modem_dlci1_pipe_callback(struct modem_pipe *pipe, enum modem_pipe_event event, in test_modem_dlci1_pipe_callback() 83 static void test_modem_dlci2_pipe_callback(struct modem_pipe *pipe, enum modem_pipe_event event, in test_modem_dlci2_pipe_callback()
|
/Zephyr-latest/drivers/gnss/ |
D | gnss_nmea_generic.c | 42 struct modem_pipe *uart_pipe;
|
/Zephyr-latest/drivers/modem/ |
D | modem_at_shell.c | 88 static void at_shell_pipe_callback(struct modem_pipe *pipe, in at_shell_pipe_callback()
|