Lines Matching refs:rs485conf
3622 struct serial_rs485 *rs485conf = &port->rs485; in uart_get_rs485_mode() local
3635 rs485conf->delay_rts_before_send = rs485_delay[0]; in uart_get_rs485_mode()
3636 rs485conf->delay_rts_after_send = rs485_delay[1]; in uart_get_rs485_mode()
3638 rs485conf->delay_rts_before_send = 0; in uart_get_rs485_mode()
3639 rs485conf->delay_rts_after_send = 0; in uart_get_rs485_mode()
3642 uart_sanitize_serial_rs485_delays(port, rs485conf); in uart_get_rs485_mode()
3648 rs485conf->flags &= ~(SER_RS485_RX_DURING_TX | SER_RS485_ENABLED | in uart_get_rs485_mode()
3651 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3654 rs485conf->flags |= SER_RS485_RX_DURING_TX; in uart_get_rs485_mode()
3657 rs485conf->flags |= SER_RS485_ENABLED; in uart_get_rs485_mode()
3660 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3661 rs485conf->flags |= SER_RS485_RTS_AFTER_SEND; in uart_get_rs485_mode()
3676 dflags = (rs485conf->flags & SER_RS485_RX_DURING_TX) ? in uart_get_rs485_mode()