Lines Matching full:mux
39 /* The UART mux contains information about the real UART. It will synchronize
48 /* GSM mux related to this UART */
49 struct gsm_mux *mux; member
51 /* Received data is routed from ISR to MUX API via ring buffer */
54 /* RX worker that passes data from RX ISR to GSM mux API */
79 /* UART Mux Driver Status Codes */
82 UART_MUX_CONFIGURED, /* UART mux configuration done */
83 UART_MUX_CONNECTED, /* UART mux connected */
84 UART_MUX_DISCONNECTED, /* UART mux connection lost */
96 /* This UART mux device */
102 /* TX worker that will mux the transmitted data */
164 /* We have now received muxed data. Push that through GSM mux API which in uart_mux_consume_ringbuf()
176 gsm_mux_recv_buf(uart_mux->mux, data, len); in uart_mux_consume_ringbuf()
250 * data from it in uart_mux_rx_work(), we push the data to GSM mux API which
296 gsm_mux_detach(dev_data->real_uart->mux); in uart_mux_disable()
339 static int init_real_uart(const struct device *mux, const struct device *uart, in init_real_uart() argument
372 real_uart->mux = gsm_mux_create(mux); in init_real_uart()
374 LOG_DBG("Initializing UART %s and GSM mux %p", in init_real_uart()
375 real_uart->uart->name, (void *)real_uart->mux); in init_real_uart()
377 if (!real_uart->mux) { in init_real_uart()
438 ret = gsm_dlci_create(real_uart->mux, in attach()
520 * mux headers. in uart_mux_fifo_fill()
530 LOG_WRN("UART mux not connected, drop %d bytes", len); in uart_mux_fifo_fill()
821 int uart_mux_recv(const struct device *mux, struct gsm_dlci *dlci, in uart_mux_recv() argument
825 struct uart_mux_dev_data *dev_data = mux->data; in uart_mux_recv()
828 LOG_DBG("%s: dlci %p data %p len %zd", mux->name, (void *)dlci, in uart_mux_recv()