Home
last modified time | relevance | path

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

/linux-6.12.1/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_bcm2835aux.c62 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
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()
D8250_exar.c471 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
1331 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
D8250_port.c593 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
1557 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in serial8250_em485_start_tx()
D8250_omap.c907 if (rs485->flags & SER_RS485_RTS_ON_SEND) in omap8250_rs485_config()
D8250_pci.c1627 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config()
1645 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
/linux-6.12.1/include/uapi/linux/
Dserial.h146 #define SER_RS485_RTS_ON_SEND _BITUL(1) macro
/linux-6.12.1/Documentation/driver-api/serial/
Dserial-rs485.rst78 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
80 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/linux-6.12.1/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-6.12.1/drivers/tty/serial/
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()
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,
Dimx.c494 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_stop_rx_with_loopback_ctrl()
687 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx()
1623 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_shutdown()
2013 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config()
2299 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
2422 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
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()
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 |
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()
Dfsl_lpuart.c1468 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485()
1498 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart32_config_rs485()
2784 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
Damba-pl011.c1339 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in pl011_rs485_tx_start()
2752 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
Dmax310x.c1248 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,
Datmel_serial.c2517 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,