Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/modem/
Dcmux.h44 struct modem_cmux;
51 typedef void (*modem_cmux_callback)(struct modem_cmux *cmux, enum modem_cmux_event event,
94 struct modem_cmux *cmux;
124 struct modem_cmux *cmux;
127 struct modem_cmux { struct
208 void modem_cmux_init(struct modem_cmux *cmux, const struct modem_cmux_config *config);
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);
250 int modem_cmux_connect(struct modem_cmux *cmux);
262 int modem_cmux_connect_async(struct modem_cmux *cmux);
[all …]
/Zephyr-latest/subsys/modem/
Dmodem_cmux.c8 LOG_MODULE_REGISTER(modem_cmux, CONFIG_MODEM_CMUX_LOG_LEVEL);
148 static uint32_t modem_cmux_get_receive_buf_length(struct modem_cmux *cmux) in modem_cmux_get_receive_buf_length()
153 static uint32_t modem_cmux_get_receive_buf_size(struct modem_cmux *cmux) in modem_cmux_get_receive_buf_size()
158 static uint32_t modem_cmux_get_transmit_buf_length(struct modem_cmux *cmux) in modem_cmux_get_transmit_buf_length()
163 static uint32_t modem_cmux_get_transmit_buf_size(struct modem_cmux *cmux) in modem_cmux_get_transmit_buf_size()
168 static void modem_cmux_init_buf_stats(struct modem_cmux *cmux) in modem_cmux_init_buf_stats()
178 static void modem_cmux_advertise_transmit_buf_stats(struct modem_cmux *cmux) in modem_cmux_advertise_transmit_buf_stats()
186 static void modem_cmux_advertise_receive_buf_stats(struct modem_cmux *cmux) in modem_cmux_advertise_receive_buf_stats()
238 static void modem_cmux_raise_event(struct modem_cmux *cmux, enum modem_cmux_event event) in modem_cmux_raise_event()
250 struct modem_cmux *cmux = (struct modem_cmux *)user_data; in modem_cmux_bus_callback()
[all …]
DCMakeLists.txt9 zephyr_library_sources_ifdef(CONFIG_MODEM_CMUX modem_cmux.c)
DKconfig38 module-str = modem_cmux
/Zephyr-latest/tests/subsys/modem/modem_cmux/src/
Dmain.c34 static struct modem_cmux cmux;
240 static void test_modem_cmux_callback(struct modem_cmux *cmux, enum modem_cmux_event event, in test_modem_cmux_callback()
328 ZTEST(modem_cmux, test_modem_cmux_receive_dlci2_at) in ZTEST() argument
360 ZTEST(modem_cmux, test_modem_cmux_receive_dlci1_at) in ZTEST() argument
390 ZTEST(modem_cmux, test_modem_cmux_receive_dlci2_ppp) in ZTEST() argument
419 ZTEST(modem_cmux, test_modem_cmux_transmit_dlci2_ppp) in ZTEST() argument
447 ZTEST(modem_cmux, test_modem_cmux_resync) in ZTEST() argument
475 ZTEST(modem_cmux, test_modem_cmux_flow_control_dlci2) in ZTEST() argument
529 ZTEST(modem_cmux, test_modem_cmux_msc_cmd_ack) in ZTEST() argument
547 ZTEST(modem_cmux, test_modem_cmux_dlci1_close_open) in ZTEST() argument
[all …]
/Zephyr-latest/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c25 static struct modem_cmux cmux_dte;
34 static struct modem_cmux cmux_dce;
176 static void test_cmux_ctrl_cb(struct modem_cmux *cmux, enum modem_cmux_event event, void *user_data) in test_cmux_ctrl_cb()
189 static void test_cmux_ctrl_cb_dce(struct modem_cmux *cmux, enum modem_cmux_event event, in test_cmux_ctrl_cb_dce()
/Zephyr-latest/doc/services/modem/
Dindex.rst53 .. doxygengroup:: modem_cmux
/Zephyr-latest/drivers/modem/
Dmodem_cellular.c92 struct modem_cmux cmux;
1483 static void modem_cellular_cmux_handler(struct modem_cmux *cmux, enum modem_cmux_event event, in modem_cellular_cmux_handler()
/Zephyr-latest/doc/releases/
Drelease-notes-3.6.rst1082 * Extended ``modem_cmux`` module to support acting both as DTE (user application) and DCE (modem).
1084 respective ``modem_cmux`` instances.