Lines Matching defs:port

80 #define PSC(port) ((struct mpc52xx_psc __iomem *)((port)->membase))  argument
91 #define uart_console(port) \ argument
94 #define uart_console(port) (0) argument
138 #define FIFO_52xx(port) ((struct mpc52xx_psc_fifo __iomem *)(PSC(port)+1)) argument
139 static void mpc52xx_psc_fifo_init(struct uart_port *port) in mpc52xx_psc_fifo_init()
153 static int mpc52xx_psc_raw_rx_rdy(struct uart_port *port) in mpc52xx_psc_raw_rx_rdy()
159 static int mpc52xx_psc_raw_tx_rdy(struct uart_port *port) in mpc52xx_psc_raw_tx_rdy()
166 static int mpc52xx_psc_rx_rdy(struct uart_port *port) in mpc52xx_psc_rx_rdy()
173 static int mpc52xx_psc_tx_rdy(struct uart_port *port) in mpc52xx_psc_tx_rdy()
180 static int mpc52xx_psc_tx_empty(struct uart_port *port) in mpc52xx_psc_tx_empty()
186 static void mpc52xx_psc_start_tx(struct uart_port *port) in mpc52xx_psc_start_tx()
192 static void mpc52xx_psc_stop_tx(struct uart_port *port) in mpc52xx_psc_stop_tx()
198 static void mpc52xx_psc_stop_rx(struct uart_port *port) in mpc52xx_psc_stop_rx()
204 static void mpc52xx_psc_rx_clr_irq(struct uart_port *port) in mpc52xx_psc_rx_clr_irq()
208 static void mpc52xx_psc_tx_clr_irq(struct uart_port *port) in mpc52xx_psc_tx_clr_irq()
212 static void mpc52xx_psc_write_char(struct uart_port *port, unsigned char c) in mpc52xx_psc_write_char()
217 static unsigned char mpc52xx_psc_read_char(struct uart_port *port) in mpc52xx_psc_read_char()
222 static void mpc52xx_psc_cw_disable_ints(struct uart_port *port) in mpc52xx_psc_cw_disable_ints()
227 static void mpc52xx_psc_cw_restore_ints(struct uart_port *port) in mpc52xx_psc_cw_restore_ints()
232 static unsigned int mpc5200_psc_set_baudrate(struct uart_port *port, in mpc5200_psc_set_baudrate()
250 static unsigned int mpc5200b_psc_set_baudrate(struct uart_port *port, in mpc5200b_psc_set_baudrate()
275 static void mpc52xx_psc_get_irq(struct uart_port *port, struct device_node *np) in mpc52xx_psc_get_irq()
282 static irqreturn_t mpc52xx_psc_handle_irq(struct uart_port *port) in mpc52xx_psc_handle_irq()
332 #define FIFO_512x(port) ((struct mpc512x_psc_fifo __iomem *)(PSC(port)+1)) argument
346 static void mpc512x_psc_fifo_init(struct uart_port *port) in mpc512x_psc_fifo_init()
365 static int mpc512x_psc_raw_rx_rdy(struct uart_port *port) in mpc512x_psc_raw_rx_rdy()
370 static int mpc512x_psc_raw_tx_rdy(struct uart_port *port) in mpc512x_psc_raw_tx_rdy()
375 static int mpc512x_psc_rx_rdy(struct uart_port *port) in mpc512x_psc_rx_rdy()
382 static int mpc512x_psc_tx_rdy(struct uart_port *port) in mpc512x_psc_tx_rdy()
389 static int mpc512x_psc_tx_empty(struct uart_port *port) in mpc512x_psc_tx_empty()
395 static void mpc512x_psc_stop_rx(struct uart_port *port) in mpc512x_psc_stop_rx()
404 static void mpc512x_psc_start_tx(struct uart_port *port) in mpc512x_psc_start_tx()
413 static void mpc512x_psc_stop_tx(struct uart_port *port) in mpc512x_psc_stop_tx()
422 static void mpc512x_psc_rx_clr_irq(struct uart_port *port) in mpc512x_psc_rx_clr_irq()
427 static void mpc512x_psc_tx_clr_irq(struct uart_port *port) in mpc512x_psc_tx_clr_irq()
432 static void mpc512x_psc_write_char(struct uart_port *port, unsigned char c) in mpc512x_psc_write_char()
437 static unsigned char mpc512x_psc_read_char(struct uart_port *port) in mpc512x_psc_read_char()
442 static void mpc512x_psc_cw_disable_ints(struct uart_port *port) in mpc512x_psc_cw_disable_ints()
451 static void mpc512x_psc_cw_restore_ints(struct uart_port *port) in mpc512x_psc_cw_restore_ints()
458 static unsigned int mpc512x_psc_set_baudrate(struct uart_port *port, in mpc512x_psc_set_baudrate()
525 static irqreturn_t mpc512x_psc_handle_irq(struct uart_port *port) in mpc512x_psc_handle_irq()
542 static int mpc512x_psc_clock(struct uart_port *port, int enable) in mpc512x_psc_clock()
569 static void mpc512x_psc_get_irq(struct uart_port *port, struct device_node *np) in mpc512x_psc_get_irq()
607 mpc52xx_uart_tx_empty(struct uart_port *port) in mpc52xx_uart_tx_empty()
613 mpc52xx_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in mpc52xx_uart_set_mctrl()
622 mpc52xx_uart_get_mctrl(struct uart_port *port) in mpc52xx_uart_get_mctrl()
636 mpc52xx_uart_stop_tx(struct uart_port *port) in mpc52xx_uart_stop_tx()
643 mpc52xx_uart_start_tx(struct uart_port *port) in mpc52xx_uart_start_tx()
650 mpc52xx_uart_send_xchar(struct uart_port *port, char ch) in mpc52xx_uart_send_xchar()
666 mpc52xx_uart_stop_rx(struct uart_port *port) in mpc52xx_uart_stop_rx()
673 mpc52xx_uart_enable_ms(struct uart_port *port) in mpc52xx_uart_enable_ms()
687 mpc52xx_uart_break_ctl(struct uart_port *port, int ctl) in mpc52xx_uart_break_ctl()
701 mpc52xx_uart_startup(struct uart_port *port) in mpc52xx_uart_startup()
733 mpc52xx_uart_shutdown(struct uart_port *port) in mpc52xx_uart_shutdown()
753 mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new, in mpc52xx_uart_set_termios()
840 mpc52xx_uart_type(struct uart_port *port) in mpc52xx_uart_type()
850 mpc52xx_uart_release_port(struct uart_port *port) in mpc52xx_uart_release_port()
862 mpc52xx_uart_request_port(struct uart_port *port) in mpc52xx_uart_request_port()
885 mpc52xx_uart_config_port(struct uart_port *port, int flags) in mpc52xx_uart_config_port()
893 mpc52xx_uart_verify_port(struct uart_port *port, struct serial_struct *ser) in mpc52xx_uart_verify_port()
937 mpc52xx_uart_int_rx_chars(struct uart_port *port) in mpc52xx_uart_int_rx_chars()
1004 mpc52xx_uart_int_tx_chars(struct uart_port *port) in mpc52xx_uart_int_tx_chars()
1045 mpc5xxx_uart_process_int(struct uart_port *port) in mpc5xxx_uart_process_int()
1083 struct uart_port *port = dev_id; in mpc52xx_uart_int() local
1102 mpc52xx_console_get_options(struct uart_port *port, in mpc52xx_console_get_options()
1142 struct uart_port *port = &mpc52xx_uart_ports[co->index]; in mpc52xx_console_write() local
1176 struct uart_port *port = &mpc52xx_uart_ports[co->index]; in mpc52xx_console_setup() local
1310 struct uart_port *port = NULL; in mpc52xx_uart_of_probe() local
1377 struct uart_port *port = dev_get_drvdata(&op->dev); in mpc52xx_uart_of_remove() local
1390 struct uart_port *port = (struct uart_port *) dev_get_drvdata(&op->dev); in mpc52xx_uart_of_suspend() local
1401 struct uart_port *port = (struct uart_port *) dev_get_drvdata(&op->dev); in mpc52xx_uart_of_resume() local