Lines Matching refs:mcr
531 unsigned char mcr = serial8250_in_MCR(p); in serial8250_em485_rts_after_send() local
534 mcr |= UART_MCR_RTS; in serial8250_em485_rts_after_send()
536 mcr &= ~UART_MCR_RTS; in serial8250_em485_rts_after_send()
537 serial8250_out_MCR(p, mcr); in serial8250_em485_rts_after_send()
1538 unsigned char mcr; in start_tx_rs485() local
1546 mcr = serial8250_in_MCR(up); in start_tx_rs485()
1548 !!(mcr & UART_MCR_RTS)) { in start_tx_rs485()
1550 mcr |= UART_MCR_RTS; in start_tx_rs485()
1552 mcr &= ~UART_MCR_RTS; in start_tx_rs485()
1553 serial8250_out_MCR(up, mcr); in start_tx_rs485()
1945 unsigned char mcr = 0; in serial8250_do_set_mctrl() local
1948 mcr |= UART_MCR_RTS; in serial8250_do_set_mctrl()
1950 mcr |= UART_MCR_DTR; in serial8250_do_set_mctrl()
1952 mcr |= UART_MCR_OUT1; in serial8250_do_set_mctrl()
1954 mcr |= UART_MCR_OUT2; in serial8250_do_set_mctrl()
1956 mcr |= UART_MCR_LOOP; in serial8250_do_set_mctrl()
1958 mcr = (mcr & up->mcr_mask) | up->mcr_force | up->mcr; in serial8250_do_set_mctrl()
1960 serial8250_out_MCR(up, mcr); in serial8250_do_set_mctrl()
2096 up->mcr = 0; in serial8250_do_startup()
2588 up->mcr &= ~UART_MCR_AFE; in serial8250_do_set_termios()
2590 up->mcr |= UART_MCR_AFE; in serial8250_do_set_termios()