Lines Matching refs:uart_port

67 static void atmel_start_rx(struct uart_port *port);
68 static void atmel_stop_rx(struct uart_port *port);
140 struct uart_port uart; /* uart */
183 int (*prepare_rx)(struct uart_port *port);
184 int (*prepare_tx)(struct uart_port *port);
185 void (*schedule_rx)(struct uart_port *port);
186 void (*schedule_tx)(struct uart_port *port);
187 void (*release_rx)(struct uart_port *port);
188 void (*release_tx)(struct uart_port *port);
209 to_atmel_uart_port(struct uart_port *uart) in to_atmel_uart_port()
215 static bool atmel_use_pdc_rx(struct uart_port *port) in atmel_use_pdc_rx()
222 static bool atmel_use_pdc_tx(struct uart_port *port) in atmel_use_pdc_tx()
229 static bool atmel_use_pdc_rx(struct uart_port *port) in atmel_use_pdc_rx()
234 static bool atmel_use_pdc_tx(struct uart_port *port) in atmel_use_pdc_tx()
240 static bool atmel_use_dma_tx(struct uart_port *port) in atmel_use_dma_tx()
247 static bool atmel_use_dma_rx(struct uart_port *port) in atmel_use_dma_rx()
254 static unsigned int atmel_get_lines_status(struct uart_port *port) in atmel_get_lines_status()
299 static int atmel_config_rs485(struct uart_port *port, in atmel_config_rs485()
339 static u_int atmel_tx_empty(struct uart_port *port) in atmel_tx_empty()
347 static void atmel_set_mctrl(struct uart_port *port, u_int mctrl) in atmel_set_mctrl()
403 static u_int atmel_get_mctrl(struct uart_port *port) in atmel_get_mctrl()
428 static void atmel_stop_tx(struct uart_port *port) in atmel_stop_tx()
447 static void atmel_start_tx(struct uart_port *port) in atmel_start_tx()
471 static void atmel_start_rx(struct uart_port *port) in atmel_start_rx()
490 static void atmel_stop_rx(struct uart_port *port) in atmel_stop_rx()
507 static void atmel_enable_ms(struct uart_port *port) in atmel_enable_ms()
546 static void atmel_disable_ms(struct uart_port *port) in atmel_disable_ms()
585 static void atmel_break_ctl(struct uart_port *port, int break_state) in atmel_break_ctl()
597 atmel_buffer_rx_char(struct uart_port *port, unsigned int status, in atmel_buffer_rx_char()
621 static void atmel_pdc_rxerr(struct uart_port *port, unsigned int status) in atmel_pdc_rxerr()
642 static void atmel_rx_chars(struct uart_port *port) in atmel_rx_chars()
691 static void atmel_tx_chars(struct uart_port *port) in atmel_tx_chars()
723 struct uart_port *port = &atmel_port->uart; in atmel_complete_tx_dma()
757 static void atmel_release_tx_dma(struct uart_port *port) in atmel_release_tx_dma()
777 static void atmel_tx_dma(struct uart_port *port) in atmel_tx_dma()
837 static int atmel_prepare_tx_dma(struct uart_port *port) in atmel_prepare_tx_dma()
902 struct uart_port *port = arg; in atmel_complete_rx_dma()
908 static void atmel_release_rx_dma(struct uart_port *port) in atmel_release_rx_dma()
925 static void atmel_rx_from_dma(struct uart_port *port) in atmel_rx_from_dma()
1013 static int atmel_prepare_rx_dma(struct uart_port *port) in atmel_prepare_rx_dma()
1096 struct uart_port *port = (void *)data; in atmel_uart_timer_callback()
1107 atmel_handle_receive(struct uart_port *port, unsigned int pending) in atmel_handle_receive()
1155 atmel_handle_transmit(struct uart_port *port, unsigned int pending) in atmel_handle_transmit()
1170 atmel_handle_status(struct uart_port *port, unsigned int pending, in atmel_handle_status()
1187 struct uart_port *port = dev_id; in atmel_interrupt()
1237 static void atmel_release_tx_pdc(struct uart_port *port) in atmel_release_tx_pdc()
1251 static void atmel_tx_pdc(struct uart_port *port) in atmel_tx_pdc()
1300 static int atmel_prepare_tx_pdc(struct uart_port *port) in atmel_prepare_tx_pdc()
1317 static void atmel_rx_from_ring(struct uart_port *port) in atmel_rx_from_ring()
1385 static void atmel_release_rx_pdc(struct uart_port *port) in atmel_release_rx_pdc()
1401 static void atmel_rx_from_pdc(struct uart_port *port) in atmel_rx_from_pdc()
1478 static int atmel_prepare_rx_pdc(struct uart_port *port) in atmel_prepare_rx_pdc()
1522 struct uart_port *port = (struct uart_port *)data; in atmel_tasklet_func()
1600 static void atmel_init_rs485(struct uart_port *port, in atmel_init_rs485()
1630 static void atmel_set_ops(struct uart_port *port) in atmel_set_ops()
1666 static void atmel_get_ip_name(struct uart_port *port) in atmel_get_ip_name()
1704 static void atmel_free_gpio_irq(struct uart_port *port) in atmel_free_gpio_irq()
1714 static int atmel_request_gpio_irq(struct uart_port *port) in atmel_request_gpio_irq()
1746 static int atmel_startup(struct uart_port *port) in atmel_startup()
1857 static void atmel_flush_buffer(struct uart_port *port) in atmel_flush_buffer()
1870 static void atmel_shutdown(struct uart_port *port) in atmel_shutdown()
1926 static void atmel_serial_pm(struct uart_port *port, unsigned int state, in atmel_serial_pm()
1961 static void atmel_set_termios(struct uart_port *port, struct ktermios *termios, in atmel_set_termios()
2110 static void atmel_set_ldisc(struct uart_port *port, struct ktermios *termios) in atmel_set_ldisc()
2130 static const char *atmel_type(struct uart_port *port) in atmel_type()
2138 static void atmel_release_port(struct uart_port *port) in atmel_release_port()
2154 static int atmel_request_port(struct uart_port *port) in atmel_request_port()
2176 static void atmel_config_port(struct uart_port *port, int flags) in atmel_config_port()
2187 static int atmel_verify_port(struct uart_port *port, struct serial_struct *ser) in atmel_verify_port()
2208 static int atmel_poll_get_char(struct uart_port *port) in atmel_poll_get_char()
2216 static void atmel_poll_put_char(struct uart_port *port, unsigned char ch) in atmel_poll_put_char()
2258 struct uart_port *port = &atmel_port->uart; in atmel_init_port()
2324 static void atmel_console_putchar(struct uart_port *port, int ch) in atmel_console_putchar()
2336 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_write()
2373 static void __init atmel_console_get_options(struct uart_port *port, int *baud, in atmel_console_get_options()
2410 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_setup()
2492 static inline bool atmel_is_console_port(struct uart_port *port) in atmel_is_console_port()
2500 static inline bool atmel_is_console_port(struct uart_port *port) in atmel_is_console_port()
2529 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_suspend()
2556 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_resume()
2719 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_remove()