Lines Matching defs:port
115 static inline struct stm32_port *to_stm32_port(struct uart_port *port) in to_stm32_port()
120 static void stm32_usart_set_bits(struct uart_port *port, u32 reg, u32 bits) in stm32_usart_set_bits()
129 static void stm32_usart_clr_bits(struct uart_port *port, u32 reg, u32 bits) in stm32_usart_clr_bits()
138 static unsigned int stm32_usart_tx_empty(struct uart_port *port) in stm32_usart_tx_empty()
149 static void stm32_usart_rs485_rts_enable(struct uart_port *port) in stm32_usart_rs485_rts_enable()
167 static void stm32_usart_rs485_rts_disable(struct uart_port *port) in stm32_usart_rs485_rts_disable()
222 static int stm32_usart_config_rs485(struct uart_port *port, struct ktermios *termios, in stm32_usart_config_rs485()
279 static int stm32_usart_init_rs485(struct uart_port *port, in stm32_usart_init_rs485()
312 struct uart_port *port = &stm32_port->port; in stm32_usart_dma_pause_resume() local
348 static bool stm32_usart_pending_rx_pio(struct uart_port *port, u32 *sr) in stm32_usart_pending_rx_pio()
368 static u8 stm32_usart_get_char_pio(struct uart_port *port) in stm32_usart_get_char_pio()
381 static unsigned int stm32_usart_receive_chars_pio(struct uart_port *port) in stm32_usart_receive_chars_pio()
447 static void stm32_usart_push_buffer_dma(struct uart_port *port, unsigned int dma_size) in stm32_usart_push_buffer_dma()
474 static unsigned int stm32_usart_receive_chars_dma(struct uart_port *port) in stm32_usart_receive_chars_dma()
494 static unsigned int stm32_usart_receive_chars(struct uart_port *port, bool force_dma_flush) in stm32_usart_receive_chars()
537 struct uart_port *port = arg; in stm32_usart_rx_dma_complete() local
549 static int stm32_usart_rx_dma_start_or_resume(struct uart_port *port) in stm32_usart_rx_dma_start_or_resume()
641 struct uart_port *port = arg; in stm32_usart_tx_dma_complete() local
653 static void stm32_usart_tx_interrupt_enable(struct uart_port *port) in stm32_usart_tx_interrupt_enable()
668 static void stm32_usart_tc_interrupt_enable(struct uart_port *port) in stm32_usart_tc_interrupt_enable()
676 static void stm32_usart_tx_interrupt_disable(struct uart_port *port) in stm32_usart_tx_interrupt_disable()
687 static void stm32_usart_tc_interrupt_disable(struct uart_port *port) in stm32_usart_tc_interrupt_disable()
695 static void stm32_usart_transmit_chars_pio(struct uart_port *port) in stm32_usart_transmit_chars_pio()
721 static void stm32_usart_transmit_chars_dma(struct uart_port *port) in stm32_usart_transmit_chars_dma()
779 static void stm32_usart_transmit_chars(struct uart_port *port) in stm32_usart_transmit_chars()
846 struct uart_port *port = ptr; in stm32_usart_interrupt() local
916 static void stm32_usart_set_mctrl(struct uart_port *port, unsigned int mctrl) in stm32_usart_set_mctrl()
929 static unsigned int stm32_usart_get_mctrl(struct uart_port *port) in stm32_usart_get_mctrl()
940 static void stm32_usart_enable_ms(struct uart_port *port) in stm32_usart_enable_ms()
945 static void stm32_usart_disable_ms(struct uart_port *port) in stm32_usart_disable_ms()
951 static void stm32_usart_stop_tx(struct uart_port *port) in stm32_usart_stop_tx()
964 static void stm32_usart_start_tx(struct uart_port *port) in stm32_usart_start_tx()
979 static void stm32_usart_flush_buffer(struct uart_port *port) in stm32_usart_flush_buffer()
988 static void stm32_usart_throttle(struct uart_port *port) in stm32_usart_throttle()
1011 static void stm32_usart_unthrottle(struct uart_port *port) in stm32_usart_unthrottle()
1035 static void stm32_usart_stop_rx(struct uart_port *port) in stm32_usart_stop_rx()
1048 static void stm32_usart_break_ctl(struct uart_port *port, int break_state) in stm32_usart_break_ctl()
1064 static int stm32_usart_startup(struct uart_port *port) in stm32_usart_startup()
1104 static void stm32_usart_shutdown(struct uart_port *port) in stm32_usart_shutdown()
1153 static void stm32_usart_set_termios(struct uart_port *port, in stm32_usart_set_termios()
1396 static const char *stm32_usart_type(struct uart_port *port) in stm32_usart_type()
1401 static void stm32_usart_release_port(struct uart_port *port) in stm32_usart_release_port()
1405 static int stm32_usart_request_port(struct uart_port *port) in stm32_usart_request_port()
1410 static void stm32_usart_config_port(struct uart_port *port, int flags) in stm32_usart_config_port()
1417 stm32_usart_verify_port(struct uart_port *port, struct serial_struct *ser) in stm32_usart_verify_port()
1423 static void stm32_usart_pm(struct uart_port *port, unsigned int state, in stm32_usart_pm()
1448 static int stm32_usart_poll_init(struct uart_port *port) in stm32_usart_poll_init()
1455 static int stm32_usart_poll_get_char(struct uart_port *port) in stm32_usart_poll_get_char()
1466 static void stm32_usart_poll_put_char(struct uart_port *port, unsigned char ch) in stm32_usart_poll_put_char()
1568 struct uart_port *port = &stm32port->port; in stm32_usart_init_port() local
1703 struct uart_port *port = &stm32port->port; in stm32_usart_of_dma_rx_probe() local
1741 struct uart_port *port = &stm32port->port; in stm32_usart_of_dma_tx_probe() local
1871 struct uart_port *port = platform_get_drvdata(pdev); in stm32_usart_serial_remove() local
1910 static void __maybe_unused stm32_usart_console_putchar(struct uart_port *port, unsigned char ch) in stm32_usart_console_putchar()
1931 struct uart_port *port = &stm32_ports[co->index].port; in stm32_usart_console_write() local
2004 static void early_stm32_usart_console_putchar(struct uart_port *port, unsigned char ch) in early_stm32_usart_console_putchar()
2017 struct uart_port *port = &device->port; in early_stm32_serial_write() local
2063 static int __maybe_unused stm32_usart_serial_en_wakeup(struct uart_port *port, in stm32_usart_serial_en_wakeup()
2119 struct uart_port *port = dev_get_drvdata(dev); in stm32_usart_serial_suspend() local
2148 struct uart_port *port = dev_get_drvdata(dev); in stm32_usart_serial_resume() local
2164 struct uart_port *port = dev_get_drvdata(dev); in stm32_usart_runtime_suspend() local
2175 struct uart_port *port = dev_get_drvdata(dev); in stm32_usart_runtime_resume() local