Lines Matching refs:s3c24xx_uart_port
131 struct s3c24xx_uart_port { struct
157 static void s3c24xx_serial_tx_chars(struct s3c24xx_uart_port *ourport); argument
226 static inline struct s3c24xx_uart_port *to_ourport(struct uart_port *port) in to_ourport()
228 return container_of(port, struct s3c24xx_uart_port, port); in to_ourport()
245 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_rx_enable()
269 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_rx_disable()
285 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_stop_tx()
326 static void s3c24xx_serial_start_next_tx(struct s3c24xx_uart_port *ourport);
330 struct s3c24xx_uart_port *ourport = args; in s3c24xx_serial_tx_dma_complete()
358 static void enable_tx_dma(struct s3c24xx_uart_port *ourport) in enable_tx_dma()
386 static void enable_tx_pio(struct s3c24xx_uart_port *ourport) in enable_tx_pio()
427 static void s3c24xx_serial_start_tx_pio(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_start_tx_pio()
433 static int s3c24xx_serial_start_tx_dma(struct s3c24xx_uart_port *ourport, in s3c24xx_serial_start_tx_dma()
466 static void s3c24xx_serial_start_next_tx(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_start_next_tx()
490 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_start_tx()
509 static void s3c24xx_uart_copy_rx_to_tty(struct s3c24xx_uart_port *ourport, in s3c24xx_uart_copy_rx_to_tty()
536 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_stop_rx()
583 const struct s3c24xx_uart_port *ourport; in s3c24xx_port_to_cfg()
588 ourport = container_of(port, struct s3c24xx_uart_port, port); in s3c24xx_port_to_cfg()
593 s3c24xx_serial_rx_fifocnt(const struct s3c24xx_uart_port *ourport, u32 ufstat) in s3c24xx_serial_rx_fifocnt()
603 static void s3c64xx_start_rx_dma(struct s3c24xx_uart_port *ourport);
606 struct s3c24xx_uart_port *ourport = args; in s3c24xx_serial_rx_dma_complete()
636 static void s3c64xx_start_rx_dma(struct s3c24xx_uart_port *ourport) in s3c64xx_start_rx_dma()
662 static void enable_rx_dma(struct s3c24xx_uart_port *ourport) in enable_rx_dma()
685 static void enable_rx_pio(struct s3c24xx_uart_port *ourport) in enable_rx_pio()
709 static void s3c24xx_serial_rx_drain_fifo(struct s3c24xx_uart_port *ourport);
711 static irqreturn_t s3c24xx_serial_rx_chars_dma(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_rx_chars_dma()
758 static void s3c24xx_serial_rx_drain_fifo(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_rx_drain_fifo()
846 static irqreturn_t s3c24xx_serial_rx_chars_pio(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_rx_chars_pio()
857 static irqreturn_t s3c24xx_serial_rx_irq(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_rx_irq()
864 static void s3c24xx_serial_tx_chars(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_tx_chars()
928 static irqreturn_t s3c24xx_serial_tx_irq(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_tx_irq()
943 struct s3c24xx_uart_port *ourport = id; in s3c64xx_serial_handle_irq()
962 struct s3c24xx_uart_port *ourport = id; in apple_serial_handle_irq()
1048 static int s3c24xx_serial_request_dma(struct s3c24xx_uart_port *p) in s3c24xx_serial_request_dma()
1146 static void s3c24xx_serial_release_dma(struct s3c24xx_uart_port *p) in s3c24xx_serial_release_dma()
1170 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c64xx_serial_shutdown()
1189 struct s3c24xx_uart_port *ourport = to_ourport(port); in apple_s5l_serial_shutdown()
1216 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c64xx_serial_startup()
1261 struct s3c24xx_uart_port *ourport = to_ourport(port); in apple_s5l_serial_startup()
1302 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_pm()
1374 static unsigned int s3c24xx_serial_getclk(struct s3c24xx_uart_port *ourport, in s3c24xx_serial_getclk()
1474 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_set_termios()
1626 const struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_type()
1740 static struct s3c24xx_uart_port s3c24xx_serial_ports[UART_NR];
1776 static int s3c24xx_serial_enable_baudclk(struct s3c24xx_uart_port *ourport) in s3c24xx_serial_enable_baudclk()
1816 static int s3c24xx_serial_init_port(struct s3c24xx_uart_port *ourport, in s3c24xx_serial_init_port()
1954 struct s3c24xx_uart_port *ourport; in s3c24xx_serial_probe()
2088 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_resume()
2108 struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_resume_noirq()
2227 const struct s3c24xx_uart_port *ourport = to_ourport(port); in s3c24xx_serial_get_poll_char()