Lines Matching defs:uart_port
110 struct uart_port { struct
114 unsigned int (*serial_in)(struct uart_port *, int); argument
115 void (*serial_out)(struct uart_port *, int, int); argument
116 void (*set_termios)(struct uart_port *, argument
119 void (*set_ldisc)(struct uart_port *, argument
121 unsigned int (*get_mctrl)(struct uart_port *); argument
122 void (*set_mctrl)(struct uart_port *, unsigned int); argument
123 unsigned int (*get_divisor)(struct uart_port *, argument
126 void (*set_divisor)(struct uart_port *, argument
130 int (*startup)(struct uart_port *port); argument
131 void (*shutdown)(struct uart_port *port); argument
132 void (*throttle)(struct uart_port *port); argument
133 void (*unthrottle)(struct uart_port *port); argument
134 int (*handle_irq)(struct uart_port *); argument
135 void (*pm)(struct uart_port *, unsigned int state, argument
137 void (*handle_break)(struct uart_port *); argument
138 int (*rs485_config)(struct uart_port *, argument
140 int (*iso7816_config)(struct uart_port *, argument
142 unsigned int irq; /* irq number */
143 unsigned long irqflags; /* irq flags */
144 unsigned int uartclk; /* base uart clock */
145 unsigned int fifosize; /* tx fifo size */
146 unsigned char x_char; /* xon/xoff char */
147 unsigned char regshift; /* reg offset shift */
148 unsigned char iotype; /* io access style */
149 unsigned char quirks; /* internal quirks */
163 unsigned int read_status_mask; /* driver specific */
164 unsigned int ignore_status_mask; /* driver specific */
165 struct uart_state *state; /* pointer to parent state */
166 struct uart_icount icount; /* statistics */
168 struct console *cons; /* struct console, if any */
170 upf_t flags;
228 upstat_t status;
237 int hw_stopped; /* sw-assisted CTS flow state */
238 unsigned int mctrl; /* current modem ctrl settings */
239 unsigned int timeout; /* character-based timeout */
240 unsigned int type; /* port type */
241 const struct uart_ops *ops;
242 unsigned int custom_divisor;
243 unsigned int line; /* port index */
244 unsigned int minor;
245 resource_size_t mapbase; /* for ioremap */
246 resource_size_t mapsize;
270 static inline int serial_port_in(struct uart_port *up, int offset) in serial_port_in() argument
303 struct uart_port *uart_port; member