Lines Matching defs:port

203 static inline u32 atmel_uart_readl(struct uart_port *port, u32 reg)  in atmel_uart_readl()
208 static inline void atmel_uart_writel(struct uart_port *port, u32 reg, u32 value) in atmel_uart_writel()
216 static inline u8 atmel_uart_read_char(struct uart_port *port) in atmel_uart_read_char()
221 static inline void atmel_uart_write_char(struct uart_port *port, u8 value) in atmel_uart_write_char()
228 static inline u8 atmel_uart_read_char(struct uart_port *port) in atmel_uart_read_char()
233 static inline void atmel_uart_write_char(struct uart_port *port, u8 value) in atmel_uart_write_char()
241 static bool atmel_use_pdc_rx(struct uart_port *port) in atmel_use_pdc_rx()
248 static bool atmel_use_pdc_tx(struct uart_port *port) in atmel_use_pdc_tx()
255 static bool atmel_use_pdc_rx(struct uart_port *port) in atmel_use_pdc_rx()
260 static bool atmel_use_pdc_tx(struct uart_port *port) in atmel_use_pdc_tx()
266 static bool atmel_use_dma_tx(struct uart_port *port) in atmel_use_dma_tx()
273 static bool atmel_use_dma_rx(struct uart_port *port) in atmel_use_dma_rx()
280 static bool atmel_use_fifo(struct uart_port *port) in atmel_use_fifo()
287 static unsigned int atmel_get_lines_status(struct uart_port *port) in atmel_get_lines_status()
332 static int atmel_config_rs485(struct uart_port *port, in atmel_config_rs485()
373 static u_int atmel_tx_empty(struct uart_port *port) in atmel_tx_empty()
383 static void atmel_set_mctrl(struct uart_port *port, u_int mctrl) in atmel_set_mctrl()
440 static u_int atmel_get_mctrl(struct uart_port *port) in atmel_get_mctrl()
465 static void atmel_stop_tx(struct uart_port *port) in atmel_stop_tx()
484 static void atmel_start_tx(struct uart_port *port) in atmel_start_tx()
508 static void atmel_start_rx(struct uart_port *port) in atmel_start_rx()
529 static void atmel_stop_rx(struct uart_port *port) in atmel_stop_rx()
547 static void atmel_enable_ms(struct uart_port *port) in atmel_enable_ms()
586 static void atmel_disable_ms(struct uart_port *port) in atmel_disable_ms()
625 static void atmel_break_ctl(struct uart_port *port, int break_state) in atmel_break_ctl()
639 atmel_buffer_rx_char(struct uart_port *port, unsigned int status, in atmel_buffer_rx_char()
663 static void atmel_pdc_rxerr(struct uart_port *port, unsigned int status) in atmel_pdc_rxerr()
684 static void atmel_rx_chars(struct uart_port *port) in atmel_rx_chars()
735 static void atmel_tx_chars(struct uart_port *port) in atmel_tx_chars()
770 struct uart_port *port = &atmel_port->uart; in atmel_complete_tx_dma() local
804 static void atmel_release_tx_dma(struct uart_port *port) in atmel_release_tx_dma()
824 static void atmel_tx_dma(struct uart_port *port) in atmel_tx_dma()
914 static int atmel_prepare_tx_dma(struct uart_port *port) in atmel_prepare_tx_dma()
981 struct uart_port *port = arg; in atmel_complete_rx_dma() local
987 static void atmel_release_rx_dma(struct uart_port *port) in atmel_release_rx_dma()
1004 static void atmel_rx_from_dma(struct uart_port *port) in atmel_rx_from_dma()
1092 static int atmel_prepare_rx_dma(struct uart_port *port) in atmel_prepare_rx_dma()
1175 struct uart_port *port = (void *)data; in atmel_uart_timer_callback() local
1186 atmel_handle_receive(struct uart_port *port, unsigned int pending) in atmel_handle_receive()
1235 atmel_handle_transmit(struct uart_port *port, unsigned int pending) in atmel_handle_transmit()
1251 atmel_handle_status(struct uart_port *port, unsigned int pending, in atmel_handle_status()
1271 struct uart_port *port = dev_id; in atmel_interrupt() local
1321 static void atmel_release_tx_pdc(struct uart_port *port) in atmel_release_tx_pdc()
1335 static void atmel_tx_pdc(struct uart_port *port) in atmel_tx_pdc()
1386 static int atmel_prepare_tx_pdc(struct uart_port *port) in atmel_prepare_tx_pdc()
1403 static void atmel_rx_from_ring(struct uart_port *port) in atmel_rx_from_ring()
1471 static void atmel_release_rx_pdc(struct uart_port *port) in atmel_release_rx_pdc()
1487 static void atmel_rx_from_pdc(struct uart_port *port) in atmel_rx_from_pdc()
1565 static int atmel_prepare_rx_pdc(struct uart_port *port) in atmel_prepare_rx_pdc()
1610 struct uart_port *port = (struct uart_port *)data; in atmel_tasklet_func() local
1685 static void atmel_init_rs485(struct uart_port *port, in atmel_init_rs485()
1714 static void atmel_set_ops(struct uart_port *port) in atmel_set_ops()
1750 static void atmel_get_ip_name(struct uart_port *port) in atmel_get_ip_name()
1788 static void atmel_free_gpio_irq(struct uart_port *port) in atmel_free_gpio_irq()
1798 static int atmel_request_gpio_irq(struct uart_port *port) in atmel_request_gpio_irq()
1830 static int atmel_startup(struct uart_port *port) in atmel_startup()
1969 static void atmel_flush_buffer(struct uart_port *port) in atmel_flush_buffer()
1982 static void atmel_shutdown(struct uart_port *port) in atmel_shutdown()
2038 static void atmel_serial_pm(struct uart_port *port, unsigned int state, in atmel_serial_pm()
2073 static void atmel_set_termios(struct uart_port *port, struct ktermios *termios, in atmel_set_termios()
2228 static void atmel_set_ldisc(struct uart_port *port, struct ktermios *termios) in atmel_set_ldisc()
2248 static const char *atmel_type(struct uart_port *port) in atmel_type()
2256 static void atmel_release_port(struct uart_port *port) in atmel_release_port()
2272 static int atmel_request_port(struct uart_port *port) in atmel_request_port()
2294 static void atmel_config_port(struct uart_port *port, int flags) in atmel_config_port()
2305 static int atmel_verify_port(struct uart_port *port, struct serial_struct *ser) in atmel_verify_port()
2326 static int atmel_poll_get_char(struct uart_port *port) in atmel_poll_get_char()
2334 static void atmel_poll_put_char(struct uart_port *port, unsigned char ch) in atmel_poll_put_char()
2376 struct uart_port *port = &atmel_port->uart; in atmel_init_port() local
2442 static void atmel_console_putchar(struct uart_port *port, int ch) in atmel_console_putchar()
2454 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_write() local
2492 static void __init atmel_console_get_options(struct uart_port *port, int *baud, in atmel_console_get_options()
2529 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_setup() local
2580 struct atmel_uart_port *port = &atmel_ports[id]; in atmel_console_init() local
2611 static inline bool atmel_is_console_port(struct uart_port *port) in atmel_is_console_port()
2619 static inline bool atmel_is_console_port(struct uart_port *port) in atmel_is_console_port()
2648 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_suspend() local
2676 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_resume() local
2721 static void atmel_serial_probe_fifos(struct atmel_uart_port *port, in atmel_serial_probe_fifos()
2765 struct atmel_uart_port *port; in atmel_serial_probe() local
2883 struct uart_port *port = platform_get_drvdata(pdev); in atmel_serial_remove() local