Searched refs:port_to_up (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/tty/serial/ |
D | rp2.c | 228 static inline struct rp2_uart_port *port_to_up(struct uart_port *port) in port_to_up() function 271 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_tx_empty() 288 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_get_mctrl() 300 rp2_rmw(port_to_up(port), RP2_TXRX_CTL, in rp2_uart_set_mctrl() 309 rp2_rmw_set(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_TXIRQ_m); in rp2_uart_start_tx() 314 rp2_rmw_clr(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_TXIRQ_m); in rp2_uart_stop_tx() 319 rp2_rmw_clr(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_RXIRQ_m); in rp2_uart_stop_rx() 327 rp2_rmw(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_BREAK_m, in rp2_uart_break_ctl() 334 rp2_rmw_set(port_to_up(port), RP2_TXRX_CTL, RP2_TXRX_CTL_MSRIRQ_m); in rp2_uart_enable_ms() 376 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_set_termios() [all …]
|