Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/serial/8250/
D8250_fintek.c204 if (!(rs485->flags & SER_RS485_RTS_ON_SEND) == in fintek_8250_rs485_config()
215 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | in fintek_8250_rs485_config()
234 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_bcm2835aux.c60 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
D8250_port.c672 if (!!(rs485->flags & SER_RS485_RTS_ON_SEND) == in serial8250_em485_config()
674 rs485->flags |= SER_RS485_RTS_ON_SEND; in serial8250_em485_config()
1603 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in serial8250_em485_start_tx()
D8250_pci.c1481 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND; in pci_fintek_rs485_config()
1487 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config()
/Linux-v5.10/include/uapi/linux/
Dserial.h120 #define SER_RS485_RTS_ON_SEND (1 << 1) /* Logical level for macro
/Linux-v5.10/Documentation/driver-api/serial/
Dserial-rs485.rst69 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
71 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/Linux-v5.10/drivers/tty/serial/
Dfsl_lpuart.c1316 if (!(rs485->flags & (SER_RS485_RTS_ON_SEND | in lpuart_config_rs485()
1318 rs485->flags |= SER_RS485_RTS_ON_SEND; in lpuart_config_rs485()
1320 if (rs485->flags & SER_RS485_RTS_ON_SEND && in lpuart_config_rs485()
1330 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485()
1367 if (!(rs485->flags & (SER_RS485_RTS_ON_SEND | in lpuart32_config_rs485()
1369 rs485->flags |= SER_RS485_RTS_ON_SEND; in lpuart32_config_rs485()
1371 if (rs485->flags & SER_RS485_RTS_ON_SEND && in lpuart32_config_rs485()
1381 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart32_config_rs485()
Dstm32-usart.c129 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_config_rs485()
546 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_stop_tx()
567 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_start_tx()
872 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_set_termios()
Domap-serial.c413 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx()
1417 SER_RS485_RTS_AFTER_SEND : SER_RS485_RTS_ON_SEND; in serial_omap_config_rs485()
1614 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1617 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
Dimx.c710 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx()
1942 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config()
2376 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
Dar933x_uart.c406 gpiod_set_value(up->rts_gpiod, !!(rs485conf->flags & SER_RS485_RTS_ON_SEND)); in ar933x_uart_tx_chars()
Dsc16is7xx.c965 rts_during_tx = rs485->flags & SER_RS485_RTS_ON_SEND; in sc16is7xx_config_rs485()
Dserial_core.c3240 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3249 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
Dmax310x.c1038 rs485->flags &= SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX | in max310x_rs485_config()