Lines Matching defs:port

149 	struct uart_port		port;  member
166 #define portaddr(port, reg) ((port)->membase + (reg)) argument
167 #define portaddrl(port, reg) \ argument
170 static u32 rd_reg(const struct uart_port *port, u32 reg) in rd_reg()
183 #define rd_regl(port, reg) (readl_relaxed(portaddr(port, reg))) argument
185 static void wr_reg(const struct uart_port *port, u32 reg, u32 val) in wr_reg()
197 #define wr_regl(port, reg, val) writel_relaxed(val, portaddr(port, reg)) argument
201 static inline void s3c24xx_set_bit(const struct uart_port *port, int idx, in s3c24xx_set_bit()
214 static inline void s3c24xx_clear_bit(const struct uart_port *port, int idx, in s3c24xx_clear_bit()
227 static inline struct s3c24xx_uart_port *to_ourport(struct uart_port *port) in to_ourport()
234 static inline const char *s3c24xx_serial_portname(const struct uart_port *port) in s3c24xx_serial_portname()
239 static int s3c24xx_serial_txempty_nofifo(const struct uart_port *port) in s3c24xx_serial_txempty_nofifo()
244 static void s3c24xx_serial_rx_enable(struct uart_port *port) in s3c24xx_serial_rx_enable()
268 static void s3c24xx_serial_rx_disable(struct uart_port *port) in s3c24xx_serial_rx_disable()
284 static void s3c24xx_serial_stop_tx(struct uart_port *port) in s3c24xx_serial_stop_tx()
332 struct uart_port *port = &ourport->port; in s3c24xx_serial_tx_dma_complete() local
361 const struct uart_port *port = &ourport->port; in enable_tx_dma() local
389 const struct uart_port *port = &ourport->port; in enable_tx_pio() local
437 struct uart_port *port = &ourport->port; in s3c24xx_serial_start_tx_dma() local
471 struct uart_port *port = &ourport->port; in s3c24xx_serial_start_next_tx() local
491 static void s3c24xx_serial_start_tx(struct uart_port *port) in s3c24xx_serial_start_tx()
536 static void s3c24xx_serial_stop_rx(struct uart_port *port) in s3c24xx_serial_stop_rx()
576 *s3c24xx_port_to_info(struct uart_port *port) in s3c24xx_port_to_info()
582 *s3c24xx_port_to_cfg(const struct uart_port *port) in s3c24xx_port_to_cfg()
608 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_dma_complete() local
665 struct uart_port *port = &ourport->port; in enable_rx_dma() local
688 struct uart_port *port = &ourport->port; in enable_rx_pio() local
716 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_chars_dma() local
761 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_drain_fifo() local
850 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_chars_pio() local
870 struct uart_port *port = &ourport->port; in s3c24xx_serial_tx_chars() local
933 struct uart_port *port = &ourport->port; in s3c24xx_serial_tx_irq() local
947 const struct uart_port *port = &ourport->port; in s3c64xx_serial_handle_irq() local
966 const struct uart_port *port = &ourport->port; in apple_serial_handle_irq() local
983 static unsigned int s3c24xx_serial_tx_empty(struct uart_port *port) in s3c24xx_serial_tx_empty()
1000 static unsigned int s3c24xx_serial_get_mctrl(struct uart_port *port) in s3c24xx_serial_get_mctrl()
1010 static void s3c24xx_serial_set_mctrl(struct uart_port *port, unsigned int mctrl) in s3c24xx_serial_set_mctrl()
1030 static void s3c24xx_serial_break_ctl(struct uart_port *port, int break_state) in s3c24xx_serial_break_ctl()
1168 static void s3c24xx_serial_shutdown(struct uart_port *port) in s3c24xx_serial_shutdown()
1191 static void s3c64xx_serial_shutdown(struct uart_port *port) in s3c64xx_serial_shutdown()
1210 static void apple_s5l_serial_shutdown(struct uart_port *port) in apple_s5l_serial_shutdown()
1236 static int s3c24xx_serial_startup(struct uart_port *port) in s3c24xx_serial_startup()
1278 static int s3c64xx_serial_startup(struct uart_port *port) in s3c64xx_serial_startup()
1323 static int apple_s5l_serial_startup(struct uart_port *port) in apple_s5l_serial_startup()
1364 static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level, in s3c24xx_serial_pm()
1409 static inline int s3c24xx_serial_getsource(struct uart_port *port) in s3c24xx_serial_getsource()
1422 static void s3c24xx_serial_setsource(struct uart_port *port, in s3c24xx_serial_setsource()
1534 static void s3c24xx_serial_set_termios(struct uart_port *port, in s3c24xx_serial_set_termios()
1689 static const char *s3c24xx_serial_type(struct uart_port *port) in s3c24xx_serial_type()
1705 static void s3c24xx_serial_config_port(struct uart_port *port, int flags) in s3c24xx_serial_config_port()
1717 s3c24xx_serial_verify_port(struct uart_port *port, struct serial_struct *ser) in s3c24xx_serial_verify_port()
1831 struct uart_port *port = &s3c24xx_serial_ports[index].port; in s3c24xx_serial_init_port_default() local
1848 static void s3c24xx_serial_resetport(struct uart_port *port, in s3c24xx_serial_resetport()
1909 struct uart_port *port = &ourport->port; in s3c24xx_serial_init_port() local
2163 struct uart_port *port = s3c24xx_dev_to_port(&dev->dev); in s3c24xx_serial_remove() local
2178 struct uart_port *port = s3c24xx_dev_to_port(dev); in s3c24xx_serial_suspend() local
2188 struct uart_port *port = s3c24xx_dev_to_port(dev); in s3c24xx_serial_resume() local
2208 struct uart_port *port = s3c24xx_dev_to_port(dev); in s3c24xx_serial_resume_noirq() local
2293 s3c24xx_serial_console_txrdy(struct uart_port *port, unsigned int ufcon) in s3c24xx_serial_console_txrdy()
2324 static int s3c24xx_serial_get_poll_char(struct uart_port *port) in s3c24xx_serial_get_poll_char()
2336 static void s3c24xx_serial_put_poll_char(struct uart_port *port, in s3c24xx_serial_put_poll_char()
2354 s3c24xx_serial_console_putchar(struct uart_port *port, unsigned char ch) in s3c24xx_serial_console_putchar()
2390 s3c24xx_serial_get_options(struct uart_port *port, int *baud, in s3c24xx_serial_get_options()
2456 struct uart_port *port; in s3c24xx_serial_console_setup() local
2756 static void wr_reg_barrier(const struct uart_port *port, u32 reg, u32 val) in wr_reg_barrier()
2773 static void samsung_early_busyuart(const struct uart_port *port) in samsung_early_busyuart()
2779 static void samsung_early_busyuart_fifo(const struct uart_port *port) in samsung_early_busyuart_fifo()
2787 static void samsung_early_putc(struct uart_port *port, unsigned char c) in samsung_early_putc()