Lines Matching refs:uart_8250_port
15 struct uart_8250_port;
23 * @dl_read: ``u32 ()(struct uart_8250_port *up)``
27 * @dl_write: ``void ()(struct uart_8250_port *up, u32 value)``
51 u32 (*dl_read)(struct uart_8250_port *up);
52 void (*dl_write)(struct uart_8250_port *up, u32 value);
84 struct uart_8250_port;
95 int (*setup_irq)(struct uart_8250_port *);
96 void (*release_irq)(struct uart_8250_port *);
97 void (*setup_timer)(struct uart_8250_port *);
104 struct uart_8250_port *port; /* for hrtimer callbacks */
114 * @dl_read: ``u32 ()(struct uart_8250_port *port)``
118 * @dl_write: ``void ()(struct uart_8250_port *port, u32 value)``
124 struct uart_8250_port {
160 u32 (*dl_read)(struct uart_8250_port *up);
161 void (*dl_write)(struct uart_8250_port *up, u32 value);
164 void (*rs485_start_tx)(struct uart_8250_port *);
165 void (*rs485_stop_tx)(struct uart_8250_port *);
172 static inline struct uart_8250_port *up_to_u8250p(struct uart_port *up)
174 return container_of(up, struct uart_8250_port, port);
177 int serial8250_register_8250_port(const struct uart_8250_port *);
199 u16 serial8250_rx_chars(struct uart_8250_port *up, u16 lsr);
200 void serial8250_read_char(struct uart_8250_port *up, u16 lsr);
201 void serial8250_tx_chars(struct uart_8250_port *up);
202 unsigned int serial8250_modem_status(struct uart_8250_port *up);
203 void serial8250_init_port(struct uart_8250_port *up);
204 void serial8250_set_defaults(struct uart_8250_port *up);
205 void serial8250_console_write(struct uart_8250_port *up, const char *s,