Lines Matching refs:rs485
290 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_stop_tx()
301 res = (port->rs485.flags & SER_RS485_RTS_AFTER_SEND) ? in serial_omap_stop_tx()
304 if (port->rs485.delay_rts_after_send > 0) in serial_omap_stop_tx()
306 port->rs485.delay_rts_after_send); in serial_omap_stop_tx()
343 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_put_char()
344 !(up->port.rs485.flags & SER_RS485_RX_DURING_TX)) in serial_omap_put_char()
372 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_start_tx()
378 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx()
381 if (port->rs485.delay_rts_before_send > 0) in serial_omap_start_tx()
382 mdelay(port->rs485.delay_rts_before_send); in serial_omap_start_tx()
386 if ((port->rs485.flags & SER_RS485_ENABLED) && in serial_omap_start_tx()
387 !(port->rs485.flags & SER_RS485_RX_DURING_TX)) in serial_omap_start_tx()
453 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rlsi()
454 !(up->port.rs485.flags & SER_RS485_RX_DURING_TX) && in serial_omap_rlsi()
508 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rdi()
509 !(up->port.rs485.flags & SER_RS485_RX_DURING_TX) && in serial_omap_rdi()
1307 struct serial_rs485 *rs485) in serial_omap_config_rs485() argument
1319 val = (rs485->flags & SER_RS485_ENABLED) ? in serial_omap_config_rs485()
1321 val = (rs485->flags & val) ? 1 : 0; in serial_omap_config_rs485()
1331 if (!(rs485->flags & SER_RS485_ENABLED) && in serial_omap_config_rs485()
1496 struct serial_rs485 *rs485conf = &up->port.rs485; in serial_omap_probe_rs485()