Searched refs:rs485conf (Results 1 – 3 of 3) sorted by relevance
1551 struct serial_rs485 *rs485conf = &up->port.rs485; in serial_omap_probe_rs485() local1556 rs485conf->flags = 0; in serial_omap_probe_rs485()1563 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()1565 rs485conf->flags |= SER_RS485_RTS_AFTER_SEND; in serial_omap_probe_rs485()1585 rs485conf->delay_rts_before_send = rs485_delay[0]; in serial_omap_probe_rs485()1586 rs485conf->delay_rts_after_send = rs485_delay[1]; in serial_omap_probe_rs485()1590 rs485conf->flags |= SER_RS485_RX_DURING_TX; in serial_omap_probe_rs485()1593 rs485conf->flags |= SER_RS485_ENABLED; in serial_omap_probe_rs485()
341 struct serial_rs485 *rs485conf) in atmel_config_rs485() argument354 port->rs485 = *rs485conf; in atmel_config_rs485()356 if (rs485conf->flags & SER_RS485_ENABLED) { in atmel_config_rs485()360 rs485conf->delay_rts_after_send); in atmel_config_rs485()1742 struct serial_rs485 *rs485conf = &port->rs485; in atmel_init_rs485() local1747 rs485conf->delay_rts_before_send = rs485_delay[0]; in atmel_init_rs485()1748 rs485conf->delay_rts_after_send = rs485_delay[1]; in atmel_init_rs485()1749 rs485conf->flags = 0; in atmel_init_rs485()1753 rs485conf->flags |= SER_RS485_RX_DURING_TX; in atmel_init_rs485()1757 rs485conf->flags |= SER_RS485_ENABLED; in atmel_init_rs485()
1553 struct serial_rs485 *rs485conf) in imx_rs485_config() argument1558 rs485conf->delay_rts_before_send = 0; in imx_rs485_config()1559 rs485conf->delay_rts_after_send = 0; in imx_rs485_config()1560 rs485conf->flags |= SER_RS485_RX_DURING_TX; in imx_rs485_config()1564 rs485conf->flags &= ~SER_RS485_ENABLED; in imx_rs485_config()1566 if (rs485conf->flags & SER_RS485_ENABLED) { in imx_rs485_config()1572 if (rs485conf->flags & SER_RS485_RTS_AFTER_SEND) in imx_rs485_config()1579 port->rs485 = *rs485conf; in imx_rs485_config()