Lines Matching defs:port
143 #define UART_TO_SPORT(port) ((struct sw_uart_port *)port) argument
145 static inline unsigned char serial_in(struct uart_port *port, int offs) in serial_in()
150 static inline void serial_out(struct uart_port *port, unsigned char value, int offs) in serial_out()
155 static inline bool sw_is_console_port(struct uart_port *port) in sw_is_console_port()
169 static inline void sw_uart_enable_ier_thri(struct uart_port *port) in sw_uart_enable_ier_thri()
180 static inline void sw_uart_disable_ier_thri(struct uart_port *port) in sw_uart_disable_ier_thri()
272 static void sw_uart_stop_tx(struct uart_port *port) in sw_uart_stop_tx()
284 static void sw_uart_start_tx(struct uart_port *port) in sw_uart_start_tx()
374 struct uart_port *port = &sw_uport->port; in sw_uart_force_lcr() local
397 struct uart_port *port = &sw_uport->port; in sw_uart_force_idle() local
417 struct uart_port *port = &sw_uport->port; in sw_uart_handle_busy() local
463 struct uart_port *port = &sw_uport->port; in sw_uart_init_dma_tx() local
500 struct uart_port *port = data; in dma_tx_callback() local
521 struct uart_port *port = &sw_uport->port; in sw_uart_start_dma_tx() local
597 struct uart_port *port = &sw_uport->port; in sw_uart_init_dma_rx() local
635 struct uart_port *port = &sw_uport->port; in sw_uart_start_dma_rx() local
691 struct uart_port *port = &sw_uport->port; in sw_uart_report_dma_rx() local
723 struct uart_port *port = dev_id; in sw_uart_irq() local
787 static inline int sw_uart_check_baudset(struct uart_port *port, unsigned int baud) in sw_uart_check_baudset()
880 static void sw_uart_config_rs485(struct uart_port *port, struct serial_rs485 *rs485conf) in sw_uart_config_rs485()
906 static unsigned int sw_uart_tx_empty(struct uart_port *port) in sw_uart_tx_empty()
918 static void sw_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in sw_uart_set_mctrl()
935 static unsigned int sw_uart_get_mctrl(struct uart_port *port) in sw_uart_get_mctrl()
954 static void sw_uart_stop_rx(struct uart_port *port) in sw_uart_stop_rx()
972 static void sw_uart_enable_ms(struct uart_port *port) in sw_uart_enable_ms()
983 static void sw_uart_break_ctl(struct uart_port *port, int break_state) in sw_uart_break_ctl()
997 static int sw_uart_startup(struct uart_port *port) in sw_uart_startup()
1043 static void sw_uart_shutdown(struct uart_port *port) in sw_uart_shutdown()
1060 static void sw_uart_flush_buffer(struct uart_port *port) in sw_uart_flush_buffer()
1068 static void sw_uart_filter_lsr_err(struct uart_port *port) in sw_uart_filter_lsr_err()
1090 static void sw_uart_set_termios(struct uart_port *port, struct ktermios *termios, in sw_uart_set_termios()
1240 static const char *sw_uart_type(struct uart_port *port) in sw_uart_type()
1287 static void sw_uart_release_port(struct uart_port *port) in sw_uart_release_port()
1311 static int sw_uart_request_port(struct uart_port *port) in sw_uart_request_port()
1350 static void sw_uart_config_port(struct uart_port *port, int flags) in sw_uart_config_port()
1362 static int sw_uart_verify_port(struct uart_port *port, struct serial_struct *ser) in sw_uart_verify_port()
1371 static int sw_uart_ioctl(struct uart_port *port, unsigned int cmd, in sw_uart_ioctl()
1402 static void sw_uart_pm(struct uart_port *port, unsigned int state, in sw_uart_pm()
1433 static int sw_get_poll_char(struct uart_port *port) in sw_get_poll_char()
1446 static void sw_put_poll_char(struct uart_port *port, in sw_put_poll_char()
1477 static void sw_uart_throttle(struct uart_port *port) in sw_uart_throttle()
1489 static void sw_uart_unthrottle(struct uart_port *port) in sw_uart_unthrottle()
1592 struct uart_port *port = dev_get_drvdata(dev); in sunxi_uart_dev_info_show() local
1619 struct uart_port *port = dev_get_drvdata(dev); in sunxi_uart_status_show() local
1649 struct uart_port *port = dev_get_drvdata(dev); in sunxi_uart_loopback_show() local
1662 struct uart_port *port = dev_get_drvdata(dev); in sunxi_uart_loopback_store() local
1683 struct uart_port *port = dev_get_drvdata(dev); in sunxi_uart_ctrl_info_show() local
1729 struct uart_port *port = NULL; in sw_console_get_port() local
1742 static void sw_console_putchar(struct uart_port *port, int c) in sw_console_putchar()
1753 struct uart_port *port = NULL; in sw_console_write() local
1784 struct uart_port *port = NULL; in sw_console_setup() local
1893 static void sunxi_serial_console_putchar(struct uart_port *port, int ch) in sunxi_serial_console_putchar()
1926 struct uart_port *port; in sw_uart_probe() local
2161 #define SW_UART_NEED_SUSPEND(port) \ argument
2167 struct uart_port *port = dev_get_drvdata(dev); in sw_uart_suspend() local
2187 struct uart_port *port = dev_get_drvdata(dev); in sw_uart_resume() local