Lines Matching defs:uart_port

430 struct uart_port {  struct
434 unsigned int (*serial_in)(struct uart_port *, int); argument
435 void (*serial_out)(struct uart_port *, int, int); argument
436 void (*set_termios)(struct uart_port *, argument
439 void (*set_ldisc)(struct uart_port *, argument
441 unsigned int (*get_mctrl)(struct uart_port *); argument
442 void (*set_mctrl)(struct uart_port *, unsigned int); argument
443 unsigned int (*get_divisor)(struct uart_port *, argument
446 void (*set_divisor)(struct uart_port *, argument
450 int (*startup)(struct uart_port *port); argument
451 void (*shutdown)(struct uart_port *port); argument
452 void (*throttle)(struct uart_port *port); argument
453 void (*unthrottle)(struct uart_port *port); argument
454 int (*handle_irq)(struct uart_port *); argument
455 void (*pm)(struct uart_port *, unsigned int state, argument
457 void (*handle_break)(struct uart_port *); argument
458 int (*rs485_config)(struct uart_port *, argument
461 int (*iso7816_config)(struct uart_port *, argument
463 unsigned int ctrl_id; /* optional serial core controller id */
464 unsigned int port_id; /* optional serial core port id */
465 unsigned int irq; /* irq number */
466 unsigned long irqflags; /* irq flags */
467 unsigned int uartclk; /* base uart clock */
468 unsigned int fifosize; /* tx fifo size */
469 unsigned char x_char; /* xon/xoff char */
470 unsigned char regshift; /* reg offset shift */
472 unsigned char iotype; /* io access style */
484 unsigned char quirks; /* internal quirks */
489 unsigned int read_status_mask; /* driver specific */
490 unsigned int ignore_status_mask; /* driver specific */
491 struct uart_state *state; /* pointer to parent state */
492 struct uart_icount icount; /* statistics */
494 struct console *cons; /* struct console, if any */
496 upf_t flags;
558 upstat_t status;
567 bool hw_stopped; /* sw-assisted CTS flow state */
568 unsigned int mctrl; /* current modem ctrl settings */
569 unsigned int frame_time; /* frame timing in ns */
570 unsigned int type; /* port type */
571 const struct uart_ops *ops;
572 unsigned int custom_divisor;
573 unsigned int line; /* port index */
574 unsigned int minor;
575 resource_size_t mapbase; /* for ioremap */
576 resource_size_t mapsize;
577 struct device *dev; /* serial port physical parent device */
578 struct serial_port_device *port_dev; /* serial core port device */
603 static inline void __uart_port_lock_irqsave(struct uart_port *up, unsigned long *flags) in __uart_port_lock_irqsave() argument
821 struct uart_port *uart_port; member