/Zephyr-Core-3.6.0/drivers/console/ |
D | gsm_mux.c | 125 typedef int (*dlci_process_msg_t)(struct gsm_dlci *dlci, bool cmd, 127 typedef void (*dlci_command_cb_t)(struct gsm_dlci *dlci, bool connected); 327 static int gsm_dlci_process_data(struct gsm_dlci *dlci, bool cmd, in gsm_dlci_process_data() argument 332 LOG_DBG("[%p] DLCI %d data %s", dlci->mux, dlci->num, in gsm_dlci_process_data() 337 uart_mux_recv(dlci->uart, dlci, buf->data, buf->len); in gsm_dlci_process_data() 374 struct gsm_dlci *dlci, uint8_t frame_type, in gsm_mux_send_data_msg() argument 382 hdr[1] = (dlci->num << 2) | ((uint8_t)cmd << 1) | GSM_EA; in gsm_mux_send_data_msg() 416 hexdump_packet("Sending", dlci->num, cmd, frame_type, in gsm_mux_send_data_msg() 453 struct gsm_dlci *dlci, *next; in dlci_run_timer() local 459 dlci, next, node) { in dlci_run_timer() [all …]
|
D | gsm_mux.h | 27 typedef void (*gsm_mux_dlci_created_cb_t)(struct gsm_dlci *dlci, 36 struct gsm_dlci **dlci); 37 int gsm_dlci_send(struct gsm_dlci *dlci, const uint8_t *buf, size_t size); 38 int gsm_dlci_id(struct gsm_dlci *dlci);
|
D | uart_mux.c | 128 struct gsm_dlci *dlci; member 223 (void)gsm_dlci_send(dev_data->dlci, data, len); in uart_mux_tx_work() 316 static void dlci_created_cb(struct gsm_dlci *dlci, bool connected, in dlci_created_cb() argument 333 dlci ? gsm_dlci_id(dlci) : -1, in dlci_created_cb() 443 &dev_data->dlci); in attach() 474 (void)gsm_dlci_send(dev_data->dlci, &out_char, 1); in uart_mux_poll_out() 504 if (!k_is_in_isr() && dev_data->dlci) { in uart_mux_fifo_fill() 505 return gsm_dlci_send(dev_data->dlci, tx_data, len); in uart_mux_fifo_fill() 757 if (dev_data->dlci == NULL) { in z_impl_uart_mux_find() 761 if (gsm_dlci_id(dev_data->dlci) == dlci_address) { in z_impl_uart_mux_find() [all …]
|
D | uart_mux_internal.h | 36 int uart_mux_recv(const struct device *mux, struct gsm_dlci *dlci,
|
/Zephyr-Core-3.6.0/subsys/modem/ |
D | modem_cmux.c | 520 struct modem_cmux_dlci *dlci; in modem_cmux_find_dlci() local 523 dlci = (struct modem_cmux_dlci *)node; in modem_cmux_find_dlci() 525 if (dlci->dlci_address == cmux->frame.dlci_address) { in modem_cmux_find_dlci() 526 return dlci; in modem_cmux_find_dlci() 533 static void modem_cmux_on_dlci_frame_ua(struct modem_cmux_dlci *dlci) in modem_cmux_on_dlci_frame_ua() argument 535 switch (dlci->state) { in modem_cmux_on_dlci_frame_ua() 537 dlci->state = MODEM_CMUX_DLCI_STATE_OPEN; in modem_cmux_on_dlci_frame_ua() 538 modem_pipe_notify_opened(&dlci->pipe); in modem_cmux_on_dlci_frame_ua() 539 k_work_cancel_delayable(&dlci->open_work); in modem_cmux_on_dlci_frame_ua() 540 k_mutex_lock(&dlci->receive_rb_lock, K_FOREVER); in modem_cmux_on_dlci_frame_ua() [all …]
|
/Zephyr-Core-3.6.0/subsys/bluetooth/host/ |
D | rfcomm.c | 135 uint8_t dlci) in rfcomm_dlcs_lookup_dlci() argument 138 if (dlcs->dlci == dlci) { in rfcomm_dlcs_lookup_dlci() 147 uint8_t dlci) in rfcomm_dlcs_remove_dlci() argument 156 if (dlcs->dlci == dlci) { in rfcomm_dlcs_remove_dlci() 162 if (dlcs->dlci == dlci) { in rfcomm_dlcs_remove_dlci() 327 static int rfcomm_send_sabm(struct bt_rfcomm_session *session, uint8_t dlci) in rfcomm_send_sabm() argument 337 hdr->address = BT_RFCOMM_SET_ADDR(dlci, cr); in rfcomm_send_sabm() 347 static int rfcomm_send_disc(struct bt_rfcomm_session *session, uint8_t dlci) in rfcomm_send_disc() argument 353 LOG_DBG("dlci %d", dlci); in rfcomm_send_disc() 359 hdr->address = BT_RFCOMM_SET_ADDR(dlci, cr); in rfcomm_send_disc() [all …]
|
D | rfcomm_internal.h | 63 uint8_t dlci; member 74 uint8_t dlci; member 83 uint8_t dlci; member 89 uint8_t dlci; member 145 #define BT_RFCOMM_GET_CHANNEL(dlci) ((dlci) >> 1) argument 148 #define BT_RFCOMM_SET_ADDR(dlci, cr) ((((dlci) & 0x3f) << 2) | \ argument
|
/Zephyr-Core-3.6.0/subsys/bluetooth/shell/ |
D | rfcomm.c | 102 static void rfcomm_recv(struct bt_rfcomm_dlc *dlci, struct net_buf *buf) in rfcomm_recv() argument 104 shell_print(ctx_shell, "Incoming data dlc %p len %u", dlci, buf->len); in rfcomm_recv() 107 static void rfcomm_connected(struct bt_rfcomm_dlc *dlci) in rfcomm_connected() argument 109 shell_print(ctx_shell, "Dlc %p connected", dlci); in rfcomm_connected() 112 static void rfcomm_disconnected(struct bt_rfcomm_dlc *dlci) in rfcomm_disconnected() argument 114 shell_print(ctx_shell, "Dlc %p disconnected", dlci); in rfcomm_disconnected()
|
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/ |
D | rfcomm.h | 93 uint8_t dlci; member
|
/Zephyr-Core-3.6.0/include/zephyr/modem/ |
D | cmux.h | 211 struct modem_pipe *modem_cmux_dlci_init(struct modem_cmux *cmux, struct modem_cmux_dlci *dlci,
|
/Zephyr-Core-3.6.0/doc/releases/ |
D | release-notes-3.0.rst | 1065 * :github:`41077` - console: gsm_mux: could not send more than 128 bytes of data on dlci
|