Lines Matching refs:mcr
566 unsigned char mcr = serial8250_in_MCR(p); in serial8250_em485_rts_after_send() local
569 mcr |= UART_MCR_RTS; in serial8250_em485_rts_after_send()
571 mcr &= ~UART_MCR_RTS; in serial8250_em485_rts_after_send()
572 serial8250_out_MCR(p, mcr); in serial8250_em485_rts_after_send()
1588 unsigned char mcr; in start_tx_rs485() local
1597 mcr = serial8250_in_MCR(up); in start_tx_rs485()
1599 !!(mcr & UART_MCR_RTS)) { in start_tx_rs485()
1601 mcr |= UART_MCR_RTS; in start_tx_rs485()
1603 mcr &= ~UART_MCR_RTS; in start_tx_rs485()
1604 serial8250_out_MCR(up, mcr); in start_tx_rs485()
1980 unsigned char mcr = 0; in serial8250_do_set_mctrl() local
1983 mcr |= UART_MCR_RTS; in serial8250_do_set_mctrl()
1985 mcr |= UART_MCR_DTR; in serial8250_do_set_mctrl()
1987 mcr |= UART_MCR_OUT1; in serial8250_do_set_mctrl()
1989 mcr |= UART_MCR_OUT2; in serial8250_do_set_mctrl()
1991 mcr |= UART_MCR_LOOP; in serial8250_do_set_mctrl()
1993 mcr = (mcr & up->mcr_mask) | up->mcr_force | up->mcr; in serial8250_do_set_mctrl()
1995 serial8250_out_MCR(up, mcr); in serial8250_do_set_mctrl()
2131 up->mcr = 0; in serial8250_do_startup()
2670 up->mcr &= ~UART_MCR_AFE; in serial8250_do_set_termios()
2672 up->mcr |= UART_MCR_AFE; in serial8250_do_set_termios()