Lines Matching defs:uart_port

106 struct uart_port {  struct
110 unsigned int (*serial_in)(struct uart_port *, int); argument
111 void (*serial_out)(struct uart_port *, int, int); argument
112 void (*set_termios)(struct uart_port *, argument
115 void (*set_ldisc)(struct uart_port *, argument
117 unsigned int (*get_mctrl)(struct uart_port *); argument
118 void (*set_mctrl)(struct uart_port *, unsigned int); argument
119 unsigned int (*get_divisor)(struct uart_port *, argument
122 void (*set_divisor)(struct uart_port *, argument
126 int (*startup)(struct uart_port *port); argument
127 void (*shutdown)(struct uart_port *port); argument
128 void (*throttle)(struct uart_port *port); argument
129 void (*unthrottle)(struct uart_port *port); argument
130 int (*handle_irq)(struct uart_port *); argument
131 void (*pm)(struct uart_port *, unsigned int state, argument
133 void (*handle_break)(struct uart_port *); argument
134 int (*rs485_config)(struct uart_port *, argument
136 int (*iso7816_config)(struct uart_port *, argument
138 unsigned int irq; /* irq number */
139 unsigned long irqflags; /* irq flags */
140 unsigned int uartclk; /* base uart clock */
141 unsigned int fifosize; /* tx fifo size */
142 unsigned char x_char; /* xon/xoff char */
143 unsigned char regshift; /* reg offset shift */
144 unsigned char iotype; /* io access style */
145 unsigned char quirks; /* internal quirks */
159 unsigned int read_status_mask; /* driver specific */
160 unsigned int ignore_status_mask; /* driver specific */
161 struct uart_state *state; /* pointer to parent state */
162 struct uart_icount icount; /* statistics */
164 struct console *cons; /* struct console, if any */
166 upf_t flags;
223 upstat_t status;
232 int hw_stopped; /* sw-assisted CTS flow state */
233 unsigned int mctrl; /* current modem ctrl settings */
234 unsigned int timeout; /* character-based timeout */
235 unsigned int type; /* port type */
236 const struct uart_ops *ops;
237 unsigned int custom_divisor;
261 static inline int serial_port_in(struct uart_port *up, int offset) in serial_port_in() argument
294 struct uart_port *uart_port; member