Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/8250/
D8250_fintek.c206 if (!(rs485->flags & SER_RS485_RTS_ON_SEND) == in fintek_8250_rs485_config()
222 if (rs485->flags & SER_RS485_RTS_ON_SEND) in fintek_8250_rs485_config()
415 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
421 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
D8250_lpc18xx.c47 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpc18xx_rs485_config()
85 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
D8250_dwlib.c208 if (!(rs485->flags & SER_RS485_RTS_ON_SEND)) in dw8250_rs485_config()
237 .flags = SER_RS485_ENABLED | SER_RS485_RX_DURING_TX | SER_RS485_RTS_ON_SEND |
D8250_pci1xxxx.c183 if (!(rs485->flags & SER_RS485_RTS_ON_SEND)) in pci1xxxx_rs485_config()
209 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
D8250_bcm2835aux.c65 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
D8250_port.c604 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
627 if (!!(rs485->flags & SER_RS485_RTS_ON_SEND) == in serial8250_em485_config()
629 rs485->flags |= SER_RS485_RTS_ON_SEND; in serial8250_em485_config()
1582 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in serial8250_em485_start_tx()
D8250_omap.c881 if (rs485->flags & SER_RS485_RTS_ON_SEND) in omap8250_rs485_config()
D8250_pci.c1548 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config()
1566 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
/Linux-v6.6/include/uapi/linux/
Dserial.h144 #define SER_RS485_RTS_ON_SEND (1 << 1) macro
/Linux-v6.6/Documentation/driver-api/serial/
Dserial-rs485.rst78 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
80 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/Linux-v6.6/drivers/usb/serial/
Dxr_serial.c655 if (data->rs485.flags & SER_RS485_RTS_ON_SEND) in xr_set_flow_mode()
833 if (rs485->flags & SER_RS485_RTS_ON_SEND) in xr_sanitize_serial_rs485()
839 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | in xr_sanitize_serial_rs485()
/Linux-v6.6/drivers/tty/serial/
Domap-serial.c373 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx()
1313 SER_RS485_RTS_AFTER_SEND : SER_RS485_RTS_ON_SEND; in serial_omap_config_rs485()
1505 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1508 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1535 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
Dar933x_uart.c404 gpiod_set_value(up->rts_gpiod, !!(rs485conf->flags & SER_RS485_RTS_ON_SEND)); in ar933x_uart_tx_chars()
704 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
Dimx.c493 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_stop_rx()
685 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx()
1593 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_shutdown()
1933 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config()
2219 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
2350 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
Dstm32-usart.c154 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_rs485_rts_enable()
172 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_rs485_rts_disable()
252 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) in stm32_usart_config_rs485()
1328 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_set_termios()
1504 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
Dserial_core.c1300 #define SER_RS485_LEGACY_FLAGS (SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | \
1374 if ((supported_flags & (SER_RS485_RTS_ON_SEND|SER_RS485_RTS_AFTER_SEND)) && in uart_sanitize_serial_rs485()
1375 !(rs485->flags & SER_RS485_RTS_ON_SEND) == in uart_sanitize_serial_rs485()
1380 rs485->flags |= SER_RS485_RTS_ON_SEND; in uart_sanitize_serial_rs485()
1382 supported_flags |= SER_RS485_RTS_ON_SEND|SER_RS485_RTS_AFTER_SEND; in uart_sanitize_serial_rs485()
3590 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3599 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
Dfsl_lpuart.c1473 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485()
1503 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart32_config_rs485()
2786 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
Damba-pl011.c1451 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in pl011_rs485_tx_start()
2788 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
Dmax310x.c1263 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,