xref: /linux/drivers/tty/serial/8250/8250_dwlib.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Synopsys DesignWare 8250 library header file. */
3 
4 #include <linux/types.h>
5 
6 #include "8250.h"
7 
8 struct dw8250_port_data {
9 	/* Port properties */
10 	int			line;
11 
12 	/* DMA operations */
13 	struct uart_8250_dma	dma;
14 
15 	/* Hardware configuration */
16 	u8			dlf_size;
17 };
18 
19 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, struct ktermios *old);
20 void dw8250_setup_port(struct uart_port *p);
21