Lines Matching defs:port

75 #define PSC(port) ((struct mpc52xx_psc __iomem *)((port)->membase))  argument
133 static u16 mpc52xx_psc_get_status(struct uart_port *port) in mpc52xx_psc_get_status()
138 static u8 mpc52xx_psc_get_ipcr(struct uart_port *port) in mpc52xx_psc_get_ipcr()
143 static void mpc52xx_psc_command(struct uart_port *port, u8 cmd) in mpc52xx_psc_command()
148 static void mpc52xx_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) in mpc52xx_psc_set_mode()
155 static void mpc52xx_psc_set_rts(struct uart_port *port, int state) in mpc52xx_psc_set_rts()
163 static void mpc52xx_psc_enable_ms(struct uart_port *port) in mpc52xx_psc_enable_ms()
176 static void mpc52xx_psc_set_sicr(struct uart_port *port, u32 val) in mpc52xx_psc_set_sicr()
181 static void mpc52xx_psc_set_imr(struct uart_port *port, u16 val) in mpc52xx_psc_set_imr()
186 static u8 mpc52xx_psc_get_mr1(struct uart_port *port) in mpc52xx_psc_get_mr1()
193 #define FIFO_52xx(port) ((struct mpc52xx_psc_fifo __iomem *)(PSC(port)+1)) argument
194 static void mpc52xx_psc_fifo_init(struct uart_port *port) in mpc52xx_psc_fifo_init()
208 static unsigned int mpc52xx_psc_raw_rx_rdy(struct uart_port *port) in mpc52xx_psc_raw_rx_rdy()
214 static unsigned int mpc52xx_psc_raw_tx_rdy(struct uart_port *port) in mpc52xx_psc_raw_tx_rdy()
221 static unsigned int mpc52xx_psc_rx_rdy(struct uart_port *port) in mpc52xx_psc_rx_rdy()
228 static unsigned int mpc52xx_psc_tx_rdy(struct uart_port *port) in mpc52xx_psc_tx_rdy()
235 static unsigned int mpc52xx_psc_tx_empty(struct uart_port *port) in mpc52xx_psc_tx_empty()
242 static void mpc52xx_psc_start_tx(struct uart_port *port) in mpc52xx_psc_start_tx()
248 static void mpc52xx_psc_stop_tx(struct uart_port *port) in mpc52xx_psc_stop_tx()
254 static void mpc52xx_psc_stop_rx(struct uart_port *port) in mpc52xx_psc_stop_rx()
260 static void mpc52xx_psc_rx_clr_irq(struct uart_port *port) in mpc52xx_psc_rx_clr_irq()
264 static void mpc52xx_psc_tx_clr_irq(struct uart_port *port) in mpc52xx_psc_tx_clr_irq()
268 static void mpc52xx_psc_write_char(struct uart_port *port, unsigned char c) in mpc52xx_psc_write_char()
273 static unsigned char mpc52xx_psc_read_char(struct uart_port *port) in mpc52xx_psc_read_char()
278 static void mpc52xx_psc_cw_disable_ints(struct uart_port *port) in mpc52xx_psc_cw_disable_ints()
283 static void mpc52xx_psc_cw_restore_ints(struct uart_port *port) in mpc52xx_psc_cw_restore_ints()
288 static unsigned int mpc5200_psc_set_baudrate(struct uart_port *port, in mpc5200_psc_set_baudrate()
306 static unsigned int mpc5200b_psc_set_baudrate(struct uart_port *port, in mpc5200b_psc_set_baudrate()
332 static void mpc52xx_psc_get_irq(struct uart_port *port, struct device_node *np) in mpc52xx_psc_get_irq()
339 static irqreturn_t mpc52xx_psc_handle_irq(struct uart_port *port) in mpc52xx_psc_handle_irq()
407 #define FIFO_512x(port) ((struct mpc512x_psc_fifo __iomem *)(PSC(port)+1)) argument
422 static void mpc512x_psc_fifo_init(struct uart_port *port) in mpc512x_psc_fifo_init()
441 static unsigned int mpc512x_psc_raw_rx_rdy(struct uart_port *port) in mpc512x_psc_raw_rx_rdy()
446 static unsigned int mpc512x_psc_raw_tx_rdy(struct uart_port *port) in mpc512x_psc_raw_tx_rdy()
451 static unsigned int mpc512x_psc_rx_rdy(struct uart_port *port) in mpc512x_psc_rx_rdy()
458 static unsigned int mpc512x_psc_tx_rdy(struct uart_port *port) in mpc512x_psc_tx_rdy()
465 static unsigned int mpc512x_psc_tx_empty(struct uart_port *port) in mpc512x_psc_tx_empty()
471 static void mpc512x_psc_stop_rx(struct uart_port *port) in mpc512x_psc_stop_rx()
480 static void mpc512x_psc_start_tx(struct uart_port *port) in mpc512x_psc_start_tx()
489 static void mpc512x_psc_stop_tx(struct uart_port *port) in mpc512x_psc_stop_tx()
498 static void mpc512x_psc_rx_clr_irq(struct uart_port *port) in mpc512x_psc_rx_clr_irq()
503 static void mpc512x_psc_tx_clr_irq(struct uart_port *port) in mpc512x_psc_tx_clr_irq()
508 static void mpc512x_psc_write_char(struct uart_port *port, unsigned char c) in mpc512x_psc_write_char()
513 static unsigned char mpc512x_psc_read_char(struct uart_port *port) in mpc512x_psc_read_char()
518 static void mpc512x_psc_cw_disable_ints(struct uart_port *port) in mpc512x_psc_cw_disable_ints()
527 static void mpc512x_psc_cw_restore_ints(struct uart_port *port) in mpc512x_psc_cw_restore_ints()
534 static unsigned int mpc512x_psc_set_baudrate(struct uart_port *port, in mpc512x_psc_set_baudrate()
638 static irqreturn_t mpc512x_psc_handle_irq(struct uart_port *port) in mpc512x_psc_handle_irq()
659 static int mpc512x_psc_alloc_clock(struct uart_port *port) in mpc512x_psc_alloc_clock()
708 static void mpc512x_psc_relse_clock(struct uart_port *port) in mpc512x_psc_relse_clock()
726 static int mpc512x_psc_endis_clock(struct uart_port *port, int enable) in mpc512x_psc_endis_clock()
754 static void mpc512x_psc_get_irq(struct uart_port *port, struct device_node *np) in mpc512x_psc_get_irq()
760 #define PSC_5125(port) ((struct mpc5125_psc __iomem *)((port)->membase)) argument
761 #define FIFO_5125(port) ((struct mpc512x_psc_fifo __iomem *)(PSC_5125(port)+1)) argument
763 static void mpc5125_psc_fifo_init(struct uart_port *port) in mpc5125_psc_fifo_init()
782 static unsigned int mpc5125_psc_raw_rx_rdy(struct uart_port *port) in mpc5125_psc_raw_rx_rdy()
787 static unsigned int mpc5125_psc_raw_tx_rdy(struct uart_port *port) in mpc5125_psc_raw_tx_rdy()
792 static unsigned int mpc5125_psc_rx_rdy(struct uart_port *port) in mpc5125_psc_rx_rdy()
798 static unsigned int mpc5125_psc_tx_rdy(struct uart_port *port) in mpc5125_psc_tx_rdy()
804 static unsigned int mpc5125_psc_tx_empty(struct uart_port *port) in mpc5125_psc_tx_empty()
809 static void mpc5125_psc_stop_rx(struct uart_port *port) in mpc5125_psc_stop_rx()
818 static void mpc5125_psc_start_tx(struct uart_port *port) in mpc5125_psc_start_tx()
827 static void mpc5125_psc_stop_tx(struct uart_port *port) in mpc5125_psc_stop_tx()
836 static void mpc5125_psc_rx_clr_irq(struct uart_port *port) in mpc5125_psc_rx_clr_irq()
841 static void mpc5125_psc_tx_clr_irq(struct uart_port *port) in mpc5125_psc_tx_clr_irq()
846 static void mpc5125_psc_write_char(struct uart_port *port, unsigned char c) in mpc5125_psc_write_char()
851 static unsigned char mpc5125_psc_read_char(struct uart_port *port) in mpc5125_psc_read_char()
856 static void mpc5125_psc_cw_disable_ints(struct uart_port *port) in mpc5125_psc_cw_disable_ints()
865 static void mpc5125_psc_cw_restore_ints(struct uart_port *port) in mpc5125_psc_cw_restore_ints()
881 static unsigned int mpc5125_psc_set_baudrate(struct uart_port *port, in mpc5125_psc_set_baudrate()
907 static u16 mpc5125_psc_get_status(struct uart_port *port) in mpc5125_psc_get_status()
912 static u8 mpc5125_psc_get_ipcr(struct uart_port *port) in mpc5125_psc_get_ipcr()
917 static void mpc5125_psc_command(struct uart_port *port, u8 cmd) in mpc5125_psc_command()
922 static void mpc5125_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) in mpc5125_psc_set_mode()
928 static void mpc5125_psc_set_rts(struct uart_port *port, int state) in mpc5125_psc_set_rts()
936 static void mpc5125_psc_enable_ms(struct uart_port *port) in mpc5125_psc_enable_ms()
949 static void mpc5125_psc_set_sicr(struct uart_port *port, u32 val) in mpc5125_psc_set_sicr()
954 static void mpc5125_psc_set_imr(struct uart_port *port, u16 val) in mpc5125_psc_set_imr()
959 static u8 mpc5125_psc_get_mr1(struct uart_port *port) in mpc5125_psc_get_mr1()
1043 mpc52xx_uart_tx_empty(struct uart_port *port) in mpc52xx_uart_tx_empty()
1049 mpc52xx_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in mpc52xx_uart_set_mctrl()
1055 mpc52xx_uart_get_mctrl(struct uart_port *port) in mpc52xx_uart_get_mctrl()
1069 mpc52xx_uart_stop_tx(struct uart_port *port) in mpc52xx_uart_stop_tx()
1076 mpc52xx_uart_start_tx(struct uart_port *port) in mpc52xx_uart_start_tx()
1083 mpc52xx_uart_stop_rx(struct uart_port *port) in mpc52xx_uart_stop_rx()
1090 mpc52xx_uart_enable_ms(struct uart_port *port) in mpc52xx_uart_enable_ms()
1096 mpc52xx_uart_break_ctl(struct uart_port *port, int ctl) in mpc52xx_uart_break_ctl()
1110 mpc52xx_uart_startup(struct uart_port *port) in mpc52xx_uart_startup()
1148 mpc52xx_uart_shutdown(struct uart_port *port) in mpc52xx_uart_shutdown()
1169 mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new, in mpc52xx_uart_set_termios()
1257 mpc52xx_uart_type(struct uart_port *port) in mpc52xx_uart_type()
1267 mpc52xx_uart_release_port(struct uart_port *port) in mpc52xx_uart_release_port()
1282 mpc52xx_uart_request_port(struct uart_port *port) in mpc52xx_uart_request_port()
1318 mpc52xx_uart_config_port(struct uart_port *port, int flags) in mpc52xx_uart_config_port()
1326 mpc52xx_uart_verify_port(struct uart_port *port, struct serial_struct *ser) in mpc52xx_uart_verify_port()
1368 mpc52xx_uart_int_rx_chars(struct uart_port *port) in mpc52xx_uart_int_rx_chars()
1429 mpc52xx_uart_int_tx_chars(struct uart_port *port) in mpc52xx_uart_int_tx_chars()
1439 mpc5xxx_uart_process_int(struct uart_port *port) in mpc5xxx_uart_process_int()
1477 struct uart_port *port = dev_id; in mpc52xx_uart_int() local
1496 mpc52xx_console_get_options(struct uart_port *port, in mpc52xx_console_get_options()
1534 struct uart_port *port = &mpc52xx_uart_ports[co->index]; in mpc52xx_console_write() local
1568 struct uart_port *port = &mpc52xx_uart_ports[co->index]; in mpc52xx_console_setup() local
1703 struct uart_port *port = NULL; in mpc52xx_uart_of_probe() local
1771 struct uart_port *port = platform_get_drvdata(op); in mpc52xx_uart_of_remove() local
1783 struct uart_port *port = platform_get_drvdata(op); in mpc52xx_uart_of_suspend() local
1794 struct uart_port *port = platform_get_drvdata(op); in mpc52xx_uart_of_resume() local