Searched refs:SER_RS485_RTS_ON_SEND (Results 1 – 22 of 22) sorted by relevance
/linux/drivers/tty/serial/8250/ |
H A D | 8250_fintek.c | 209 if (!(rs485->flags & SER_RS485_RTS_ON_SEND) == in fintek_8250_rs485_config() 225 if (rs485->flags & SER_RS485_RTS_ON_SEND) in fintek_8250_rs485_config() 422 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND, 428 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
H A D | 8250_lpc18xx.c | 47 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,
|
H A D | 8250_dwlib.c | 208 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 |
|
H A D | 8250_bcm2835aux.c | 62 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
|
H A D | 8250_pci1xxxx.c | 146 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | 282 if (!(rs485->flags & SER_RS485_RTS_ON_SEND)) in pci1xxxx_rs485_config()
|
H A D | 8250_exar.c | 417 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND, 1273 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
|
H A D | 8250_port.c | 613 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 1577 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in serial8250_em485_start_tx()
|
H A D | 8250_omap.c | 907 if (rs485->flags & SER_RS485_RTS_ON_SEND) in omap8250_rs485_config()
|
H A D | 8250_pci.c | 1636 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config() 1654 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
|
/linux/include/uapi/linux/ |
H A D | serial.h | 146 #define SER_RS485_RTS_ON_SEND _BITUL(1) macro
|
/linux/Documentation/driver-api/serial/ |
H A D | serial-rs485.rst | 78 rs485conf.flags |= SER_RS485_RTS_ON_SEND; 80 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
|
/linux/drivers/usb/serial/ |
H A D | xr_serial.c | 655 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/drivers/tty/serial/ |
H A D | omap-serial.c | 373 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx() 1308 SER_RS485_RTS_AFTER_SEND : SER_RS485_RTS_ON_SEND; in serial_omap_config_rs485() 1482 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 1510 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485() 1513 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
|
H A D | ar933x_uart.c | 404 gpiod_set_value(up->rts_gpiod, !!(rs485conf->flags & SER_RS485_RTS_ON_SEND)); in ar933x_uart_tx_chars() 696 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
H A D | imx.c | 498 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_stop_rx_with_loopback_ctrl() 691 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx() 1635 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_shutdown() 2025 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config() 2391 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 2514 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
|
H A D | serial_core.c | 1318 #define SER_RS485_LEGACY_FLAGS (SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | \ 1400 if (!(rs485->flags & SER_RS485_RTS_ON_SEND) == in uart_sanitize_serial_rs485() 1402 if (supported_flags & SER_RS485_RTS_ON_SEND) { in uart_sanitize_serial_rs485() 1403 rs485->flags |= SER_RS485_RTS_ON_SEND; in uart_sanitize_serial_rs485() 1411 rs485->flags &= ~SER_RS485_RTS_ON_SEND; in uart_sanitize_serial_rs485() 3651 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode() 3660 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
|
H A D | stm32-usart.c | 158 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_rs485_rts_enable() 176 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_rs485_rts_disable() 250 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) in stm32_usart_config_rs485() 1363 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_set_termios() 1559 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
H A D | xilinx_uartps.c | 223 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | 356 enable = cdns_uart->port->rs485.flags & SER_RS485_RTS_ON_SEND; in cdns_rs485_tx_setup()
|
H A D | fsl_lpuart.c | 1469 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485() 1499 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart32_config_rs485() 2795 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
H A D | amba-pl011.c | 1339 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in pl011_rs485_tx_start() 2759 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
H A D | sc16is7xx.c | 1476 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
H A D | atmel_serial.c | 2511 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,
|