Lines Matching refs:uart_port

63 static void atmel_start_rx(struct uart_port *port);
64 static void atmel_stop_rx(struct uart_port *port);
117 struct uart_port uart; /* uart */
188 int (*prepare_rx)(struct uart_port *port);
189 int (*prepare_tx)(struct uart_port *port);
190 void (*schedule_rx)(struct uart_port *port);
191 void (*schedule_tx)(struct uart_port *port);
192 void (*release_rx)(struct uart_port *port);
193 void (*release_tx)(struct uart_port *port);
211 to_atmel_uart_port(struct uart_port *uart) in to_atmel_uart_port()
216 static inline u32 atmel_uart_readl(struct uart_port *port, u32 reg) in atmel_uart_readl()
221 static inline void atmel_uart_writel(struct uart_port *port, u32 reg, u32 value) in atmel_uart_writel()
226 static inline u8 atmel_uart_read_char(struct uart_port *port) in atmel_uart_read_char()
231 static inline void atmel_uart_write_char(struct uart_port *port, u8 value) in atmel_uart_write_char()
236 static inline int atmel_uart_is_half_duplex(struct uart_port *port) in atmel_uart_is_half_duplex()
244 static bool atmel_use_pdc_rx(struct uart_port *port) in atmel_use_pdc_rx()
251 static bool atmel_use_pdc_tx(struct uart_port *port) in atmel_use_pdc_tx()
258 static bool atmel_use_pdc_rx(struct uart_port *port) in atmel_use_pdc_rx()
263 static bool atmel_use_pdc_tx(struct uart_port *port) in atmel_use_pdc_tx()
269 static bool atmel_use_dma_tx(struct uart_port *port) in atmel_use_dma_tx()
276 static bool atmel_use_dma_rx(struct uart_port *port) in atmel_use_dma_rx()
283 static bool atmel_use_fifo(struct uart_port *port) in atmel_use_fifo()
298 static int atmel_config_rs485(struct uart_port *port, in atmel_config_rs485()
336 static unsigned int atmel_calc_cd(struct uart_port *port, in atmel_calc_cd()
349 static unsigned int atmel_calc_fidi(struct uart_port *port, in atmel_calc_fidi()
363 static int atmel_config_iso7816(struct uart_port *port, in atmel_config_iso7816()
460 static u_int atmel_tx_empty(struct uart_port *port) in atmel_tx_empty()
474 static void atmel_set_mctrl(struct uart_port *port, u_int mctrl) in atmel_set_mctrl()
531 static u_int atmel_get_mctrl(struct uart_port *port) in atmel_get_mctrl()
556 static void atmel_stop_tx(struct uart_port *port) in atmel_stop_tx()
584 static void atmel_start_tx(struct uart_port *port) in atmel_start_tx()
613 static void atmel_start_rx(struct uart_port *port) in atmel_start_rx()
634 static void atmel_stop_rx(struct uart_port *port) in atmel_stop_rx()
652 static void atmel_enable_ms(struct uart_port *port) in atmel_enable_ms()
685 static void atmel_disable_ms(struct uart_port *port) in atmel_disable_ms()
718 static void atmel_break_ctl(struct uart_port *port, int break_state) in atmel_break_ctl()
732 atmel_buffer_rx_char(struct uart_port *port, unsigned int status, in atmel_buffer_rx_char()
756 static void atmel_pdc_rxerr(struct uart_port *port, unsigned int status) in atmel_pdc_rxerr()
777 static void atmel_rx_chars(struct uart_port *port) in atmel_rx_chars()
828 static void atmel_tx_chars(struct uart_port *port) in atmel_tx_chars()
863 struct uart_port *port = &atmel_port->uart; in atmel_complete_tx_dma()
906 static void atmel_release_tx_dma(struct uart_port *port) in atmel_release_tx_dma()
926 static void atmel_tx_dma(struct uart_port *port) in atmel_tx_dma()
1010 static int atmel_prepare_tx_dma(struct uart_port *port) in atmel_prepare_tx_dma()
1078 struct uart_port *port = arg; in atmel_complete_rx_dma()
1084 static void atmel_release_rx_dma(struct uart_port *port) in atmel_release_rx_dma()
1101 static void atmel_rx_from_dma(struct uart_port *port) in atmel_rx_from_dma()
1189 static int atmel_prepare_rx_dma(struct uart_port *port) in atmel_prepare_rx_dma()
1279 struct uart_port *port = &atmel_port->uart; in atmel_uart_timer_callback()
1292 atmel_handle_receive(struct uart_port *port, unsigned int pending) in atmel_handle_receive()
1343 atmel_handle_transmit(struct uart_port *port, unsigned int pending) in atmel_handle_transmit()
1369 atmel_handle_status(struct uart_port *port, unsigned int pending, in atmel_handle_status()
1405 struct uart_port *port = dev_id; in atmel_interrupt()
1436 static void atmel_release_tx_pdc(struct uart_port *port) in atmel_release_tx_pdc()
1450 static void atmel_tx_pdc(struct uart_port *port) in atmel_tx_pdc()
1500 static int atmel_prepare_tx_pdc(struct uart_port *port) in atmel_prepare_tx_pdc()
1517 static void atmel_rx_from_ring(struct uart_port *port) in atmel_rx_from_ring()
1585 static void atmel_release_rx_pdc(struct uart_port *port) in atmel_release_rx_pdc()
1601 static void atmel_rx_from_pdc(struct uart_port *port) in atmel_rx_from_pdc()
1679 static int atmel_prepare_rx_pdc(struct uart_port *port) in atmel_prepare_rx_pdc()
1724 struct uart_port *port = (struct uart_port *)data; in atmel_tasklet_rx_func()
1735 struct uart_port *port = (struct uart_port *)data; in atmel_tasklet_tx_func()
1777 static void atmel_set_ops(struct uart_port *port) in atmel_set_ops()
1813 static void atmel_get_ip_name(struct uart_port *port) in atmel_get_ip_name()
1885 static int atmel_startup(struct uart_port *port) in atmel_startup()
2015 static void atmel_flush_buffer(struct uart_port *port) in atmel_flush_buffer()
2033 static void atmel_shutdown(struct uart_port *port) in atmel_shutdown()
2096 static void atmel_serial_pm(struct uart_port *port, unsigned int state, in atmel_serial_pm()
2131 static void atmel_set_termios(struct uart_port *port, struct ktermios *termios, in atmel_set_termios()
2336 static void atmel_set_ldisc(struct uart_port *port, struct ktermios *termios) in atmel_set_ldisc()
2356 static const char *atmel_type(struct uart_port *port) in atmel_type()
2364 static void atmel_release_port(struct uart_port *port) in atmel_release_port()
2380 static int atmel_request_port(struct uart_port *port) in atmel_request_port()
2402 static void atmel_config_port(struct uart_port *port, int flags) in atmel_config_port()
2413 static int atmel_verify_port(struct uart_port *port, struct serial_struct *ser) in atmel_verify_port()
2434 static int atmel_poll_get_char(struct uart_port *port) in atmel_poll_get_char()
2442 static void atmel_poll_put_char(struct uart_port *port, unsigned char ch) in atmel_poll_put_char()
2484 struct uart_port *port = &atmel_port->uart; in atmel_init_port()
2542 static void atmel_console_putchar(struct uart_port *port, int ch) in atmel_console_putchar()
2554 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_write()
2596 static void __init atmel_console_get_options(struct uart_port *port, int *baud, in atmel_console_get_options()
2633 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_setup()
2676 static inline bool atmel_is_console_port(struct uart_port *port) in atmel_is_console_port()
2684 static inline bool atmel_is_console_port(struct uart_port *port) in atmel_is_console_port()
2713 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_suspend()
2755 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_resume()
2976 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_remove()