Home
last modified time | relevance | path

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

/linux-6.1.9/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.c65 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
D8250_port.c653 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
675 if (!!(rs485->flags & SER_RS485_RTS_ON_SEND) == in serial8250_em485_config()
677 rs485->flags |= SER_RS485_RTS_ON_SEND; in serial8250_em485_config()
1605 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in serial8250_em485_start_tx()
D8250_pci.c1574 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config()
1592 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
/linux-6.1.9/include/uapi/linux/
Dserial.h120 #define SER_RS485_RTS_ON_SEND (1 << 1) /* Logical level for macro
/linux-6.1.9/Documentation/driver-api/serial/
Dserial-rs485.rst73 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
75 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/linux-6.1.9/drivers/tty/serial/
Domap-serial.c400 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx()
1342 SER_RS485_RTS_AFTER_SEND : SER_RS485_RTS_ON_SEND; in serial_omap_config_rs485()
1534 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1537 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1564 .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()
705 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
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()
248 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) in stm32_usart_config_rs485()
1280 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_set_termios()
1456 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
Dserial_core.c1285 #define SER_RS485_LEGACY_FLAGS (SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | \
1359 if ((supported_flags & (SER_RS485_RTS_ON_SEND|SER_RS485_RTS_AFTER_SEND)) && in uart_sanitize_serial_rs485()
1360 !(rs485->flags & SER_RS485_RTS_ON_SEND) == in uart_sanitize_serial_rs485()
1365 rs485->flags |= SER_RS485_RTS_ON_SEND; in uart_sanitize_serial_rs485()
1367 supported_flags |= SER_RS485_RTS_ON_SEND|SER_RS485_RTS_AFTER_SEND; in uart_sanitize_serial_rs485()
3433 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3442 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
Dimx.c694 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx()
1917 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config()
2199 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
2343 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
Dfsl_lpuart.c1365 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485()
1395 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart32_config_rs485()
2609 .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()
2781 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
Dmax310x.c1261 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,