Home
last modified time | relevance | path

Searched refs:SER_RS485_RTS_ON_SEND (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/tty/serial/8250/
D8250_fintek.c201 if (!(rs485->flags & SER_RS485_RTS_ON_SEND) == in fintek_8250_rs485_config()
212 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | in fintek_8250_rs485_config()
231 if (rs485->flags & SER_RS485_RTS_ON_SEND) in fintek_8250_rs485_config()
D8250_lpc18xx.c48 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | in lpc18xx_rs485_config()
55 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in lpc18xx_rs485_config()
D8250_pci.c801 (rs485->flags & SER_RS485_RTS_ON_SEND)) { in pci_ni8431_config_rs485()
813 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_ni8431_config_rs485()
1594 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND; in pci_fintek_rs485_config()
1600 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config()
D8250_port.c1544 if (!!(up->port.rs485.flags & SER_RS485_RTS_ON_SEND) != in start_tx_rs485()
1546 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in start_tx_rs485()
/Linux-v5.4/include/uapi/linux/
Dserial.h120 #define SER_RS485_RTS_ON_SEND (1 << 1) /* Logical level for macro
/Linux-v5.4/Documentation/driver-api/serial/
Dserial-rs485.rst69 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
71 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/Linux-v5.4/drivers/tty/serial/
Domap-serial.c420 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx()
1423 SER_RS485_RTS_AFTER_SEND : SER_RS485_RTS_ON_SEND; in serial_omap_config_rs485()
1616 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1619 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
Dfsl_lpuart.c1256 if (!(rs485->flags & (SER_RS485_RTS_ON_SEND | in lpuart_config_rs485()
1258 rs485->flags |= SER_RS485_RTS_ON_SEND; in lpuart_config_rs485()
1260 if (rs485->flags & SER_RS485_RTS_ON_SEND && in lpuart_config_rs485()
1270 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485()
Dstm32-usart.c132 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_config_rs485()
826 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_set_termios()
Dimx.c660 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx()
1845 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config()
2287 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
Dsc16is7xx.c972 rts_during_tx = rs485->flags & SER_RS485_RTS_ON_SEND; in sc16is7xx_config_rs485()
Dmax310x.c1038 rs485->flags &= SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX | in max310x_rs485_config()
Dserial_core.c3120 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3129 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()