Lines Matching defs:port
128 struct uart_port *port; member
138 static struct mvebu_uart *to_mvuart(struct uart_port *port) in to_mvuart()
143 #define IS_EXTENDED(port) (to_mvuart(port)->data->is_ext) argument
145 #define UART_RBR(port) (to_mvuart(port)->data->regs.rbr) argument
146 #define UART_TSH(port) (to_mvuart(port)->data->regs.tsh) argument
147 #define UART_CTRL(port) (to_mvuart(port)->data->regs.ctrl) argument
148 #define UART_INTR(port) (to_mvuart(port)->data->regs.intr) argument
150 #define CTRL_TX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_tx_rdy_int) argument
151 #define CTRL_RX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_rx_rdy_int) argument
152 #define STAT_TX_RDY(port) (to_mvuart(port)->data->flags.stat_tx_rdy) argument
153 #define STAT_RX_RDY(port) (to_mvuart(port)->data->flags.stat_rx_rdy) argument
158 static unsigned int mvebu_uart_tx_empty(struct uart_port *port) in mvebu_uart_tx_empty()
170 static unsigned int mvebu_uart_get_mctrl(struct uart_port *port) in mvebu_uart_get_mctrl()
175 static void mvebu_uart_set_mctrl(struct uart_port *port, in mvebu_uart_set_mctrl()
184 static void mvebu_uart_stop_tx(struct uart_port *port) in mvebu_uart_stop_tx()
192 static void mvebu_uart_start_tx(struct uart_port *port) in mvebu_uart_start_tx()
208 static void mvebu_uart_stop_rx(struct uart_port *port) in mvebu_uart_stop_rx()
221 static void mvebu_uart_break_ctl(struct uart_port *port, int brk) in mvebu_uart_break_ctl()
236 static void mvebu_uart_rx_chars(struct uart_port *port, unsigned int status) in mvebu_uart_rx_chars()
298 static void mvebu_uart_tx_chars(struct uart_port *port, unsigned int status) in mvebu_uart_tx_chars()
338 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_isr() local
353 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_rx_isr() local
365 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_tx_isr() local
374 static int mvebu_uart_startup(struct uart_port *port) in mvebu_uart_startup()
432 static void mvebu_uart_shutdown(struct uart_port *port) in mvebu_uart_shutdown()
446 static int mvebu_uart_baud_rate_set(struct uart_port *port, unsigned int baud) in mvebu_uart_baud_rate_set()
480 static void mvebu_uart_set_termios(struct uart_port *port, in mvebu_uart_set_termios()
531 static const char *mvebu_uart_type(struct uart_port *port) in mvebu_uart_type()
536 static void mvebu_uart_release_port(struct uart_port *port) in mvebu_uart_release_port()
541 static int mvebu_uart_request_port(struct uart_port *port) in mvebu_uart_request_port()
547 static int mvebu_uart_get_poll_char(struct uart_port *port) in mvebu_uart_get_poll_char()
557 static void mvebu_uart_put_poll_char(struct uart_port *port, unsigned char c) in mvebu_uart_put_poll_char()
598 static void mvebu_uart_putc(struct uart_port *port, int c) in mvebu_uart_putc()
643 static void wait_for_xmitr(struct uart_port *port) in wait_for_xmitr()
651 static void mvebu_uart_console_putchar(struct uart_port *port, int ch) in mvebu_uart_console_putchar()
660 struct uart_port *port = &mvebu_uart_ports[co->index]; in mvebu_uart_console_write() local
694 struct uart_port *port; in mvebu_uart_console_setup() local
753 struct uart_port *port = mvuart->port; in mvebu_uart_suspend() local
773 struct uart_port *port = mvuart->port; in mvebu_uart_resume() local
804 struct uart_port *port; in mvebu_uart_probe() local