Lines Matching refs:rs485

1307 	if (port->rs485.delay_rts_after_send)  in pl011_rs485_tx_stop()
1308 mdelay(port->rs485.delay_rts_after_send); in pl011_rs485_tx_stop()
1312 if (port->rs485.flags & SER_RS485_RTS_AFTER_SEND) in pl011_rs485_tx_stop()
1334 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_stop_tx()
1436 if (!(port->rs485.flags & SER_RS485_RX_DURING_TX)) in pl011_rs485_tx_start()
1439 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in pl011_rs485_tx_start()
1446 if (port->rs485.delay_rts_before_send) in pl011_rs485_tx_start()
1447 mdelay(port->rs485.delay_rts_before_send); in pl011_rs485_tx_start()
1469 if ((uap->port.rs485.flags & SER_RS485_ENABLED) && in pl011_tx_chars()
1618 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_set_mctrl()
1844 if (port->rs485.flags & SER_RS485_ENABLED) { in pl011_startup()
1845 if (port->rs485.flags & SER_RS485_RTS_AFTER_SEND) in pl011_startup()
1953 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_shutdown()
2105 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_set_termios()
2230 struct serial_rs485 *rs485) in pl011_rs485_config() argument
2236 if (!(rs485->flags & SER_RS485_RTS_ON_SEND) == in pl011_rs485_config()
2237 !(rs485->flags & SER_RS485_RTS_AFTER_SEND)) { in pl011_rs485_config()
2238 rs485->flags |= SER_RS485_RTS_ON_SEND; in pl011_rs485_config()
2239 rs485->flags &= ~SER_RS485_RTS_AFTER_SEND; in pl011_rs485_config()
2242 rs485->delay_rts_before_send = min(rs485->delay_rts_before_send, 100U); in pl011_rs485_config()
2243 rs485->delay_rts_after_send = min(rs485->delay_rts_after_send, 100U); in pl011_rs485_config()
2244 memset(rs485->padding, 0, sizeof(rs485->padding)); in pl011_rs485_config()
2246 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_rs485_config()
2250 port->rs485 = *rs485; in pl011_rs485_config()
2253 if (port->rs485.flags & SER_RS485_ENABLED) { in pl011_rs485_config()
2731 struct serial_rs485 *rs485 = &port->rs485; in pl011_get_rs485_mode() local
2739 rs485->delay_rts_before_send = min(rs485->delay_rts_before_send, 100U); in pl011_get_rs485_mode()
2740 rs485->delay_rts_after_send = min(rs485->delay_rts_after_send, 100U); in pl011_get_rs485_mode()