Lines Matching refs:rs485
1040 delay = (one->port.rs485.delay_rts_before_send << 4) | in max310x_rs_proc()
1041 one->port.rs485.delay_rts_after_send; in max310x_rs_proc()
1044 if (one->port.rs485.flags & SER_RS485_ENABLED) { in max310x_rs_proc()
1047 if (!(one->port.rs485.flags & SER_RS485_RX_DURING_TX)) in max310x_rs_proc()
1058 struct serial_rs485 *rs485) in max310x_rs485_config() argument
1062 if ((rs485->delay_rts_before_send > 0x0f) || in max310x_rs485_config()
1063 (rs485->delay_rts_after_send > 0x0f)) in max310x_rs485_config()
1066 port->rs485 = *rs485; in max310x_rs485_config()
1091 val = (clamp(port->rs485.delay_rts_before_send, 0U, 15U) << 4) | in max310x_startup()
1092 clamp(port->rs485.delay_rts_after_send, 0U, 15U); in max310x_startup()
1095 if (port->rs485.flags & SER_RS485_ENABLED) { in max310x_startup()
1100 if (!(port->rs485.flags & SER_RS485_RX_DURING_TX)) in max310x_startup()