Lines Matching defs:port

73 #define PSC(port) ((struct mpc52xx_psc __iomem *)((port)->membase))  argument
131 static u16 mpc52xx_psc_get_status(struct uart_port *port) in mpc52xx_psc_get_status()
136 static u8 mpc52xx_psc_get_ipcr(struct uart_port *port) in mpc52xx_psc_get_ipcr()
141 static void mpc52xx_psc_command(struct uart_port *port, u8 cmd) in mpc52xx_psc_command()
146 static void mpc52xx_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) in mpc52xx_psc_set_mode()
153 static void mpc52xx_psc_set_rts(struct uart_port *port, int state) in mpc52xx_psc_set_rts()
161 static void mpc52xx_psc_enable_ms(struct uart_port *port) in mpc52xx_psc_enable_ms()
174 static void mpc52xx_psc_set_sicr(struct uart_port *port, u32 val) in mpc52xx_psc_set_sicr()
179 static void mpc52xx_psc_set_imr(struct uart_port *port, u16 val) in mpc52xx_psc_set_imr()
184 static u8 mpc52xx_psc_get_mr1(struct uart_port *port) in mpc52xx_psc_get_mr1()
191 #define FIFO_52xx(port) ((struct mpc52xx_psc_fifo __iomem *)(PSC(port)+1)) argument
192 static void mpc52xx_psc_fifo_init(struct uart_port *port) in mpc52xx_psc_fifo_init()
206 static int mpc52xx_psc_raw_rx_rdy(struct uart_port *port) in mpc52xx_psc_raw_rx_rdy()
212 static int mpc52xx_psc_raw_tx_rdy(struct uart_port *port) in mpc52xx_psc_raw_tx_rdy()
219 static int mpc52xx_psc_rx_rdy(struct uart_port *port) in mpc52xx_psc_rx_rdy()
226 static int mpc52xx_psc_tx_rdy(struct uart_port *port) in mpc52xx_psc_tx_rdy()
233 static int mpc52xx_psc_tx_empty(struct uart_port *port) in mpc52xx_psc_tx_empty()
240 static void mpc52xx_psc_start_tx(struct uart_port *port) in mpc52xx_psc_start_tx()
246 static void mpc52xx_psc_stop_tx(struct uart_port *port) in mpc52xx_psc_stop_tx()
252 static void mpc52xx_psc_stop_rx(struct uart_port *port) in mpc52xx_psc_stop_rx()
258 static void mpc52xx_psc_rx_clr_irq(struct uart_port *port) in mpc52xx_psc_rx_clr_irq()
262 static void mpc52xx_psc_tx_clr_irq(struct uart_port *port) in mpc52xx_psc_tx_clr_irq()
266 static void mpc52xx_psc_write_char(struct uart_port *port, unsigned char c) in mpc52xx_psc_write_char()
271 static unsigned char mpc52xx_psc_read_char(struct uart_port *port) in mpc52xx_psc_read_char()
276 static void mpc52xx_psc_cw_disable_ints(struct uart_port *port) in mpc52xx_psc_cw_disable_ints()
281 static void mpc52xx_psc_cw_restore_ints(struct uart_port *port) in mpc52xx_psc_cw_restore_ints()
286 static unsigned int mpc5200_psc_set_baudrate(struct uart_port *port, in mpc5200_psc_set_baudrate()
304 static unsigned int mpc5200b_psc_set_baudrate(struct uart_port *port, in mpc5200b_psc_set_baudrate()
330 static void mpc52xx_psc_get_irq(struct uart_port *port, struct device_node *np) in mpc52xx_psc_get_irq()
337 static irqreturn_t mpc52xx_psc_handle_irq(struct uart_port *port) in mpc52xx_psc_handle_irq()
405 #define FIFO_512x(port) ((struct mpc512x_psc_fifo __iomem *)(PSC(port)+1)) argument
420 static void mpc512x_psc_fifo_init(struct uart_port *port) in mpc512x_psc_fifo_init()
439 static int mpc512x_psc_raw_rx_rdy(struct uart_port *port) in mpc512x_psc_raw_rx_rdy()
444 static int mpc512x_psc_raw_tx_rdy(struct uart_port *port) in mpc512x_psc_raw_tx_rdy()
449 static int mpc512x_psc_rx_rdy(struct uart_port *port) in mpc512x_psc_rx_rdy()
456 static int mpc512x_psc_tx_rdy(struct uart_port *port) in mpc512x_psc_tx_rdy()
463 static int mpc512x_psc_tx_empty(struct uart_port *port) in mpc512x_psc_tx_empty()
469 static void mpc512x_psc_stop_rx(struct uart_port *port) in mpc512x_psc_stop_rx()
478 static void mpc512x_psc_start_tx(struct uart_port *port) in mpc512x_psc_start_tx()
487 static void mpc512x_psc_stop_tx(struct uart_port *port) in mpc512x_psc_stop_tx()
496 static void mpc512x_psc_rx_clr_irq(struct uart_port *port) in mpc512x_psc_rx_clr_irq()
501 static void mpc512x_psc_tx_clr_irq(struct uart_port *port) in mpc512x_psc_tx_clr_irq()
506 static void mpc512x_psc_write_char(struct uart_port *port, unsigned char c) in mpc512x_psc_write_char()
511 static unsigned char mpc512x_psc_read_char(struct uart_port *port) in mpc512x_psc_read_char()
516 static void mpc512x_psc_cw_disable_ints(struct uart_port *port) in mpc512x_psc_cw_disable_ints()
525 static void mpc512x_psc_cw_restore_ints(struct uart_port *port) in mpc512x_psc_cw_restore_ints()
532 static unsigned int mpc512x_psc_set_baudrate(struct uart_port *port, in mpc512x_psc_set_baudrate()
636 static irqreturn_t mpc512x_psc_handle_irq(struct uart_port *port) in mpc512x_psc_handle_irq()
657 static int mpc512x_psc_alloc_clock(struct uart_port *port) in mpc512x_psc_alloc_clock()
706 static void mpc512x_psc_relse_clock(struct uart_port *port) in mpc512x_psc_relse_clock()
724 static int mpc512x_psc_endis_clock(struct uart_port *port, int enable) in mpc512x_psc_endis_clock()
752 static void mpc512x_psc_get_irq(struct uart_port *port, struct device_node *np) in mpc512x_psc_get_irq()
761 #define PSC_5125(port) ((struct mpc5125_psc __iomem *)((port)->membase)) argument
762 #define FIFO_5125(port) ((struct mpc512x_psc_fifo __iomem *)(PSC_5125(port)+1)) argument
764 static void mpc5125_psc_fifo_init(struct uart_port *port) in mpc5125_psc_fifo_init()
783 static int mpc5125_psc_raw_rx_rdy(struct uart_port *port) in mpc5125_psc_raw_rx_rdy()
788 static int mpc5125_psc_raw_tx_rdy(struct uart_port *port) in mpc5125_psc_raw_tx_rdy()
793 static int mpc5125_psc_rx_rdy(struct uart_port *port) in mpc5125_psc_rx_rdy()
799 static int mpc5125_psc_tx_rdy(struct uart_port *port) in mpc5125_psc_tx_rdy()
805 static int mpc5125_psc_tx_empty(struct uart_port *port) in mpc5125_psc_tx_empty()
810 static void mpc5125_psc_stop_rx(struct uart_port *port) in mpc5125_psc_stop_rx()
819 static void mpc5125_psc_start_tx(struct uart_port *port) in mpc5125_psc_start_tx()
828 static void mpc5125_psc_stop_tx(struct uart_port *port) in mpc5125_psc_stop_tx()
837 static void mpc5125_psc_rx_clr_irq(struct uart_port *port) in mpc5125_psc_rx_clr_irq()
842 static void mpc5125_psc_tx_clr_irq(struct uart_port *port) in mpc5125_psc_tx_clr_irq()
847 static void mpc5125_psc_write_char(struct uart_port *port, unsigned char c) in mpc5125_psc_write_char()
852 static unsigned char mpc5125_psc_read_char(struct uart_port *port) in mpc5125_psc_read_char()
857 static void mpc5125_psc_cw_disable_ints(struct uart_port *port) in mpc5125_psc_cw_disable_ints()
866 static void mpc5125_psc_cw_restore_ints(struct uart_port *port) in mpc5125_psc_cw_restore_ints()
882 static unsigned int mpc5125_psc_set_baudrate(struct uart_port *port, in mpc5125_psc_set_baudrate()
908 static u16 mpc5125_psc_get_status(struct uart_port *port) in mpc5125_psc_get_status()
913 static u8 mpc5125_psc_get_ipcr(struct uart_port *port) in mpc5125_psc_get_ipcr()
918 static void mpc5125_psc_command(struct uart_port *port, u8 cmd) in mpc5125_psc_command()
923 static void mpc5125_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) in mpc5125_psc_set_mode()
929 static void mpc5125_psc_set_rts(struct uart_port *port, int state) in mpc5125_psc_set_rts()
937 static void mpc5125_psc_enable_ms(struct uart_port *port) in mpc5125_psc_enable_ms()
950 static void mpc5125_psc_set_sicr(struct uart_port *port, u32 val) in mpc5125_psc_set_sicr()
955 static void mpc5125_psc_set_imr(struct uart_port *port, u16 val) in mpc5125_psc_set_imr()
960 static u8 mpc5125_psc_get_mr1(struct uart_port *port) in mpc5125_psc_get_mr1()
1044 mpc52xx_uart_tx_empty(struct uart_port *port) in mpc52xx_uart_tx_empty()
1050 mpc52xx_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in mpc52xx_uart_set_mctrl()
1056 mpc52xx_uart_get_mctrl(struct uart_port *port) in mpc52xx_uart_get_mctrl()
1070 mpc52xx_uart_stop_tx(struct uart_port *port) in mpc52xx_uart_stop_tx()
1077 mpc52xx_uart_start_tx(struct uart_port *port) in mpc52xx_uart_start_tx()
1084 mpc52xx_uart_stop_rx(struct uart_port *port) in mpc52xx_uart_stop_rx()
1091 mpc52xx_uart_enable_ms(struct uart_port *port) in mpc52xx_uart_enable_ms()
1097 mpc52xx_uart_break_ctl(struct uart_port *port, int ctl) in mpc52xx_uart_break_ctl()
1111 mpc52xx_uart_startup(struct uart_port *port) in mpc52xx_uart_startup()
1149 mpc52xx_uart_shutdown(struct uart_port *port) in mpc52xx_uart_shutdown()
1170 mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new, in mpc52xx_uart_set_termios()
1258 mpc52xx_uart_type(struct uart_port *port) in mpc52xx_uart_type()
1268 mpc52xx_uart_release_port(struct uart_port *port) in mpc52xx_uart_release_port()
1283 mpc52xx_uart_request_port(struct uart_port *port) in mpc52xx_uart_request_port()
1319 mpc52xx_uart_config_port(struct uart_port *port, int flags) in mpc52xx_uart_config_port()
1327 mpc52xx_uart_verify_port(struct uart_port *port, struct serial_struct *ser) in mpc52xx_uart_verify_port()
1369 mpc52xx_uart_int_rx_chars(struct uart_port *port) in mpc52xx_uart_int_rx_chars()
1430 mpc52xx_uart_int_tx_chars(struct uart_port *port) in mpc52xx_uart_int_tx_chars()
1471 mpc5xxx_uart_process_int(struct uart_port *port) in mpc5xxx_uart_process_int()
1509 struct uart_port *port = dev_id; in mpc52xx_uart_int() local
1528 mpc52xx_console_get_options(struct uart_port *port, in mpc52xx_console_get_options()
1566 struct uart_port *port = &mpc52xx_uart_ports[co->index]; in mpc52xx_console_write() local
1600 struct uart_port *port = &mpc52xx_uart_ports[co->index]; in mpc52xx_console_setup() local
1735 struct uart_port *port = NULL; in mpc52xx_uart_of_probe() local
1803 struct uart_port *port = platform_get_drvdata(op); in mpc52xx_uart_of_remove() local
1815 struct uart_port *port = platform_get_drvdata(op); in mpc52xx_uart_of_suspend() local
1826 struct uart_port *port = platform_get_drvdata(op); in mpc52xx_uart_of_resume() local