Lines Matching full:device
22 #include <device.h>
37 * @param mux UART mux device
42 typedef void (*uart_mux_attach_cb_t)(const struct device *mux,
59 int (*attach)(const struct device *mux, const struct device *uart,
65 * @brief Attach physical/real UART to UART muxing device.
67 * @param mux UART mux device structure.
68 * @param uart Real UART device structure.
76 static inline int uart_mux_attach(const struct device *mux, in uart_mux_attach()
77 const struct device *uart, in uart_mux_attach()
92 * @return UART device if found, NULL otherwise
94 __syscall const struct device *uart_mux_find(int dlci_address);
97 * @brief Allocate muxing UART device.
100 * data when read or written. This device corresponds to one DLCI channel.
104 * @retval device New UART device that will automatically mux data sent to it.
107 const struct device *uart_mux_alloc(void);
113 * @param uart Pointer to UART device where the mux is running
114 * @param dev Pointer to UART mux device
118 typedef void (*uart_mux_cb_t)(const struct device *uart,
119 const struct device *dev,
137 * @param dev UART mux device pointer
139 void uart_mux_disable(const struct device *dev);
146 * @param dev UART mux device pointer
148 void uart_mux_enable(const struct device *dev);