Lines Matching defs:port
134 struct uart_port port; member
153 #define portaddr(port, reg) ((port)->membase + (reg)) argument
154 #define portaddrl(port, reg) \ argument
157 static u32 rd_reg(struct uart_port *port, u32 reg) in rd_reg()
170 #define rd_regl(port, reg) (readl_relaxed(portaddr(port, reg))) argument
172 static void wr_reg(struct uart_port *port, u32 reg, u32 val) in wr_reg()
184 #define wr_regl(port, reg, val) writel_relaxed(val, portaddr(port, reg)) argument
188 static inline void s3c24xx_set_bit(struct uart_port *port, int idx, in s3c24xx_set_bit()
201 static inline void s3c24xx_clear_bit(struct uart_port *port, int idx, in s3c24xx_clear_bit()
214 static inline struct s3c24xx_uart_port *to_ourport(struct uart_port *port) in to_ourport()
221 static inline const char *s3c24xx_serial_portname(struct uart_port *port) in s3c24xx_serial_portname()
226 static int s3c24xx_serial_txempty_nofifo(struct uart_port *port) in s3c24xx_serial_txempty_nofifo()
236 static int s3c24xx_serial_has_interrupt_mask(struct uart_port *port) in s3c24xx_serial_has_interrupt_mask()
241 static void s3c24xx_serial_rx_enable(struct uart_port *port) in s3c24xx_serial_rx_enable()
265 static void s3c24xx_serial_rx_disable(struct uart_port *port) in s3c24xx_serial_rx_disable()
281 static void s3c24xx_serial_stop_tx(struct uart_port *port) in s3c24xx_serial_stop_tx()
323 struct uart_port *port = &ourport->port; in s3c24xx_serial_tx_dma_complete() local
352 struct uart_port *port = &ourport->port; in enable_tx_dma() local
373 struct uart_port *port = &ourport->port; in enable_tx_pio() local
406 struct uart_port *port = &ourport->port; in s3c24xx_serial_start_tx_dma() local
439 struct uart_port *port = &ourport->port; in s3c24xx_serial_start_next_tx() local
459 static void s3c24xx_serial_start_tx(struct uart_port *port) in s3c24xx_serial_start_tx()
504 static void s3c24xx_serial_stop_rx(struct uart_port *port) in s3c24xx_serial_stop_rx()
536 *s3c24xx_port_to_info(struct uart_port *port) in s3c24xx_port_to_info()
542 *s3c24xx_port_to_cfg(struct uart_port *port) in s3c24xx_port_to_cfg()
568 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_dma_complete() local
625 struct uart_port *port = &ourport->port; in enable_rx_dma() local
648 struct uart_port *port = &ourport->port; in enable_rx_pio() local
672 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_chars_dma() local
718 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_drain_fifo() local
806 struct uart_port *port = &ourport->port; in s3c24xx_serial_rx_chars_pio() local
828 struct uart_port *port = &ourport->port; in s3c24xx_serial_tx_chars() local
900 struct uart_port *port = &ourport->port; in s3c64xx_serial_handle_irq() local
915 static unsigned int s3c24xx_serial_tx_empty(struct uart_port *port) in s3c24xx_serial_tx_empty()
933 static unsigned int s3c24xx_serial_get_mctrl(struct uart_port *port) in s3c24xx_serial_get_mctrl()
943 static void s3c24xx_serial_set_mctrl(struct uart_port *port, unsigned int mctrl) in s3c24xx_serial_set_mctrl()
955 static void s3c24xx_serial_break_ctl(struct uart_port *port, int break_state) in s3c24xx_serial_break_ctl()
1092 static void s3c24xx_serial_shutdown(struct uart_port *port) in s3c24xx_serial_shutdown()
1125 static int s3c24xx_serial_startup(struct uart_port *port) in s3c24xx_serial_startup()
1167 static int s3c64xx_serial_startup(struct uart_port *port) in s3c64xx_serial_startup()
1216 static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level, in s3c24xx_serial_pm()
1262 static inline int s3c24xx_serial_getsource(struct uart_port *port) in s3c24xx_serial_getsource()
1275 static void s3c24xx_serial_setsource(struct uart_port *port, in s3c24xx_serial_setsource()
1377 static void s3c24xx_serial_set_termios(struct uart_port *port, in s3c24xx_serial_set_termios()
1532 static const char *s3c24xx_serial_type(struct uart_port *port) in s3c24xx_serial_type()
1550 static void s3c24xx_serial_release_port(struct uart_port *port) in s3c24xx_serial_release_port()
1555 static int s3c24xx_serial_request_port(struct uart_port *port) in s3c24xx_serial_request_port()
1562 static void s3c24xx_serial_config_port(struct uart_port *port, int flags) in s3c24xx_serial_config_port()
1575 s3c24xx_serial_verify_port(struct uart_port *port, struct serial_struct *ser) in s3c24xx_serial_verify_port()
1700 static void s3c24xx_serial_resetport(struct uart_port *port, in s3c24xx_serial_resetport()
1727 struct s3c24xx_uart_port *port; in s3c24xx_serial_cpufreq_transition() local
1781 s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port) in s3c24xx_serial_cpufreq_register()
1790 s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port) in s3c24xx_serial_cpufreq_deregister()
1798 s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port) in s3c24xx_serial_cpufreq_register()
1804 s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port) in s3c24xx_serial_cpufreq_deregister()
1853 struct uart_port *port = &ourport->port; in s3c24xx_serial_init_port() local
2090 struct uart_port *port = s3c24xx_dev_to_port(&dev->dev); in s3c24xx_serial_remove() local
2106 struct uart_port *port = s3c24xx_dev_to_port(dev); in s3c24xx_serial_suspend() local
2116 struct uart_port *port = s3c24xx_dev_to_port(dev); in s3c24xx_serial_resume() local
2136 struct uart_port *port = s3c24xx_dev_to_port(dev); in s3c24xx_serial_resume_noirq() local
2180 s3c24xx_serial_console_txrdy(struct uart_port *port, unsigned int ufcon) in s3c24xx_serial_console_txrdy()
2211 static int s3c24xx_serial_get_poll_char(struct uart_port *port) in s3c24xx_serial_get_poll_char()
2223 static void s3c24xx_serial_put_poll_char(struct uart_port *port, in s3c24xx_serial_put_poll_char()
2241 s3c24xx_serial_console_putchar(struct uart_port *port, int ch) in s3c24xx_serial_console_putchar()
2264 s3c24xx_serial_get_options(struct uart_port *port, int *baud, in s3c24xx_serial_get_options()
2329 struct uart_port *port; in s3c24xx_serial_console_setup() local
2621 static void wr_reg_barrier(struct uart_port *port, u32 reg, u32 val) in wr_reg_barrier()
2637 static void samsung_early_busyuart(struct uart_port *port) in samsung_early_busyuart()
2643 static void samsung_early_busyuart_fifo(struct uart_port *port) in samsung_early_busyuart_fifo()
2651 static void samsung_early_putc(struct uart_port *port, int c) in samsung_early_putc()