Home
last modified time | relevance | path

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

/linux/drivers/tty/serial/8250/
H A D8250_fintek.c209 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 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,
H A 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 |
H A D8250_bcm2835aux.c62 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
H A D8250_pci1xxxx.c146 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
282 if (!(rs485->flags & SER_RS485_RTS_ON_SEND)) in pci1xxxx_rs485_config()
H A D8250_exar.c417 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
1273 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
H A D8250_port.c613 .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 D8250_omap.c907 if (rs485->flags & SER_RS485_RTS_ON_SEND) in omap8250_rs485_config()
H A D8250_pci.c1636 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 Dserial.h146 #define SER_RS485_RTS_ON_SEND _BITUL(1) macro
/linux/Documentation/driver-api/serial/
H A Dserial-rs485.rst78 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
80 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/linux/drivers/usb/serial/
H A 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/drivers/tty/serial/
H A Domap-serial.c373 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 Dar933x_uart.c404 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 Dimx.c498 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 Dserial_core.c1318 #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 Dstm32-usart.c158 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 Dxilinx_uartps.c223 .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 Dfsl_lpuart.c1469 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 Damba-pl011.c1339 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 Dsc16is7xx.c1476 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
H A Datmel_serial.c2511 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,