Lines Matching defs:port
126 struct uart_port *port; member
136 static struct mvebu_uart *to_mvuart(struct uart_port *port) in to_mvuart()
141 #define IS_EXTENDED(port) (to_mvuart(port)->data->is_ext) argument
143 #define UART_RBR(port) (to_mvuart(port)->data->regs.rbr) argument
144 #define UART_TSH(port) (to_mvuart(port)->data->regs.tsh) argument
145 #define UART_CTRL(port) (to_mvuart(port)->data->regs.ctrl) argument
146 #define UART_INTR(port) (to_mvuart(port)->data->regs.intr) argument
148 #define CTRL_TX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_tx_rdy_int) argument
149 #define CTRL_RX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_rx_rdy_int) argument
150 #define STAT_TX_RDY(port) (to_mvuart(port)->data->flags.stat_tx_rdy) argument
151 #define STAT_RX_RDY(port) (to_mvuart(port)->data->flags.stat_rx_rdy) argument
156 static unsigned int mvebu_uart_tx_empty(struct uart_port *port) in mvebu_uart_tx_empty()
168 static unsigned int mvebu_uart_get_mctrl(struct uart_port *port) in mvebu_uart_get_mctrl()
173 static void mvebu_uart_set_mctrl(struct uart_port *port, in mvebu_uart_set_mctrl()
182 static void mvebu_uart_stop_tx(struct uart_port *port) in mvebu_uart_stop_tx()
190 static void mvebu_uart_start_tx(struct uart_port *port) in mvebu_uart_start_tx()
206 static void mvebu_uart_stop_rx(struct uart_port *port) in mvebu_uart_stop_rx()
219 static void mvebu_uart_break_ctl(struct uart_port *port, int brk) in mvebu_uart_break_ctl()
234 static void mvebu_uart_rx_chars(struct uart_port *port, unsigned int status) in mvebu_uart_rx_chars()
296 static void mvebu_uart_tx_chars(struct uart_port *port, unsigned int status) in mvebu_uart_tx_chars()
336 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_isr() local
351 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_rx_isr() local
363 struct uart_port *port = (struct uart_port *)dev_id; in mvebu_uart_tx_isr() local
372 static int mvebu_uart_startup(struct uart_port *port) in mvebu_uart_startup()
430 static void mvebu_uart_shutdown(struct uart_port *port) in mvebu_uart_shutdown()
444 static int mvebu_uart_baud_rate_set(struct uart_port *port, unsigned int baud) in mvebu_uart_baud_rate_set()
469 static void mvebu_uart_set_termios(struct uart_port *port, in mvebu_uart_set_termios()
520 static const char *mvebu_uart_type(struct uart_port *port) in mvebu_uart_type()
525 static void mvebu_uart_release_port(struct uart_port *port) in mvebu_uart_release_port()
530 static int mvebu_uart_request_port(struct uart_port *port) in mvebu_uart_request_port()
536 static int mvebu_uart_get_poll_char(struct uart_port *port) in mvebu_uart_get_poll_char()
546 static void mvebu_uart_put_poll_char(struct uart_port *port, unsigned char c) in mvebu_uart_put_poll_char()
587 static void mvebu_uart_putc(struct uart_port *port, int c) in mvebu_uart_putc()
632 static void wait_for_xmitr(struct uart_port *port) in wait_for_xmitr()
640 static void mvebu_uart_console_putchar(struct uart_port *port, int ch) in mvebu_uart_console_putchar()
649 struct uart_port *port = &mvebu_uart_ports[co->index]; in mvebu_uart_console_write() local
683 struct uart_port *port; in mvebu_uart_console_setup() local
742 struct uart_port *port = mvuart->port; in mvebu_uart_suspend() local
762 struct uart_port *port = mvuart->port; in mvebu_uart_resume() local
793 struct uart_port *port; in mvebu_uart_probe() local