Searched refs:port_to_up (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/tty/serial/ |
D | rp2.c | 229 static inline struct rp2_uart_port *port_to_up(struct uart_port *port) in port_to_up() function 272 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_tx_empty() 289 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_get_mctrl() 301 rp2_rmw(port_to_up(port), RP2_TXRX_CTL, in rp2_uart_set_mctrl() 310 rp2_rmw_set(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_TXIRQ_m); in rp2_uart_start_tx() 315 rp2_rmw_clr(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_TXIRQ_m); in rp2_uart_stop_tx() 320 rp2_rmw_clr(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_RXIRQ_m); in rp2_uart_stop_rx() 328 rp2_rmw(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_BREAK_m, in rp2_uart_break_ctl() 335 rp2_rmw_set(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_MSRIRQ_m); in rp2_uart_enable_ms() 378 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_set_termios() [all …]
|