Lines Matching defs:port

128 	struct uart_port *port;  member
137 static struct mvebu_uart *to_mvuart(struct uart_port *port) in to_mvuart()
142 #define IS_EXTENDED(port) (to_mvuart(port)->data->is_ext) argument
144 #define UART_RBR(port) (to_mvuart(port)->data->regs.rbr) argument
145 #define UART_TSH(port) (to_mvuart(port)->data->regs.tsh) argument
146 #define UART_CTRL(port) (to_mvuart(port)->data->regs.ctrl) argument
147 #define UART_INTR(port) (to_mvuart(port)->data->regs.intr) argument
149 #define CTRL_TX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_tx_rdy_int) argument
150 #define CTRL_RX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_rx_rdy_int) argument
151 #define STAT_TX_RDY(port) (to_mvuart(port)->data->flags.stat_tx_rdy) argument
152 #define STAT_RX_RDY(port) (to_mvuart(port)->data->flags.stat_rx_rdy) argument
157 static unsigned int mvebu_uart_tx_empty(struct uart_port *port) in mvebu_uart_tx_empty()
169 static unsigned int mvebu_uart_get_mctrl(struct uart_port *port) in mvebu_uart_get_mctrl()
174 static void mvebu_uart_set_mctrl(struct uart_port *port, in mvebu_uart_set_mctrl()
183 static void mvebu_uart_stop_tx(struct uart_port *port) in mvebu_uart_stop_tx()
191 static void mvebu_uart_start_tx(struct uart_port *port) in mvebu_uart_start_tx()
207 static void mvebu_uart_stop_rx(struct uart_port *port) in mvebu_uart_stop_rx()
220 static void mvebu_uart_break_ctl(struct uart_port *port, int brk) in mvebu_uart_break_ctl()
235 static void mvebu_uart_rx_chars(struct uart_port *port, unsigned int status) in mvebu_uart_rx_chars()
297 static void mvebu_uart_tx_chars(struct uart_port *port, unsigned int status) in mvebu_uart_tx_chars()
337 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_isr() local
352 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_rx_isr() local
364 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_tx_isr() local
373 static int mvebu_uart_startup(struct uart_port *port) in mvebu_uart_startup()
431 static void mvebu_uart_shutdown(struct uart_port *port) in mvebu_uart_shutdown()
445 static int mvebu_uart_baud_rate_set(struct uart_port *port, unsigned int baud) in mvebu_uart_baud_rate_set()
478 static void mvebu_uart_set_termios(struct uart_port *port, in mvebu_uart_set_termios()
534 static const char *mvebu_uart_type(struct uart_port *port) in mvebu_uart_type()
539 static void mvebu_uart_release_port(struct uart_port *port) in mvebu_uart_release_port()
544 static int mvebu_uart_request_port(struct uart_port *port) in mvebu_uart_request_port()
550 static int mvebu_uart_get_poll_char(struct uart_port *port) in mvebu_uart_get_poll_char()
560 static void mvebu_uart_put_poll_char(struct uart_port *port, unsigned char c) in mvebu_uart_put_poll_char()
601 static void mvebu_uart_putc(struct uart_port *port, int c) in mvebu_uart_putc()
646 static void wait_for_xmitr(struct uart_port *port) in wait_for_xmitr()
654 static void wait_for_xmite(struct uart_port *port) in wait_for_xmite()
662 static void mvebu_uart_console_putchar(struct uart_port *port, int ch) in mvebu_uart_console_putchar()
671 struct uart_port *port = &mvebu_uart_ports[co->index]; in mvebu_uart_console_write() local
705 struct uart_port *port; in mvebu_uart_console_setup() local
764 struct uart_port *port = mvuart->port; in mvebu_uart_suspend() local
784 struct uart_port *port = mvuart->port; in mvebu_uart_resume() local
815 struct uart_port *port; in mvebu_uart_probe() local