Lines Matching defs:uart_port
428 struct uart_port { struct
432 unsigned int (*serial_in)(struct uart_port *, int); argument
433 void (*serial_out)(struct uart_port *, int, int); argument
434 void (*set_termios)(struct uart_port *, argument
437 void (*set_ldisc)(struct uart_port *, argument
439 unsigned int (*get_mctrl)(struct uart_port *); argument
440 void (*set_mctrl)(struct uart_port *, unsigned int); argument
441 unsigned int (*get_divisor)(struct uart_port *, argument
444 void (*set_divisor)(struct uart_port *, argument
448 int (*startup)(struct uart_port *port); argument
449 void (*shutdown)(struct uart_port *port); argument
450 void (*throttle)(struct uart_port *port); argument
451 void (*unthrottle)(struct uart_port *port); argument
452 int (*handle_irq)(struct uart_port *); argument
453 void (*pm)(struct uart_port *, unsigned int state, argument
455 void (*handle_break)(struct uart_port *); argument
456 int (*rs485_config)(struct uart_port *, argument
459 int (*iso7816_config)(struct uart_port *, argument
461 unsigned int irq; /* irq number */
462 unsigned long irqflags; /* irq flags */
463 unsigned int uartclk; /* base uart clock */
464 unsigned int fifosize; /* tx fifo size */
465 unsigned char x_char; /* xon/xoff char */
466 unsigned char regshift; /* reg offset shift */
467 unsigned char iotype; /* io access style */
468 unsigned char quirks; /* internal quirks */
482 unsigned int read_status_mask; /* driver specific */
483 unsigned int ignore_status_mask; /* driver specific */
484 struct uart_state *state; /* pointer to parent state */
485 struct uart_icount icount; /* statistics */
487 struct console *cons; /* struct console, if any */
489 upf_t flags;
547 upstat_t status;
556 int hw_stopped; /* sw-assisted CTS flow state */
557 unsigned int mctrl; /* current modem ctrl settings */
558 unsigned int frame_time; /* frame timing in ns */
559 unsigned int type; /* port type */
560 const struct uart_ops *ops;
561 unsigned int custom_divisor;
562 unsigned int line; /* port index */
563 unsigned int minor;
587 static inline int serial_port_in(struct uart_port *up, int offset) in serial_port_in() argument
620 struct uart_port *uart_port; member