Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/tty/serial/8250/
A 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,
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,
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 |
A 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 |
A D8250_bcm2835aux.c65 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in bcm2835aux_rs485_start_tx()
A D8250_port.c661 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
683 if (!!(rs485->flags & SER_RS485_RTS_ON_SEND) == in serial8250_em485_config()
685 rs485->flags |= SER_RS485_RTS_ON_SEND; in serial8250_em485_config()
1612 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND) in serial8250_em485_start_tx()
A D8250_omap.c865 if (rs485->flags & SER_RS485_RTS_ON_SEND) in omap8250_rs485_config()
A D8250_pci.c1554 if (rs485->flags & SER_RS485_RTS_ON_SEND) { in pci_fintek_rs485_config()
1572 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
/linux-6.3-rc2/include/uapi/linux/
A Dserial.h144 #define SER_RS485_RTS_ON_SEND (1 << 1) macro
/linux-6.3-rc2/Documentation/driver-api/serial/
A Dserial-rs485.rst78 rs485conf.flags |= SER_RS485_RTS_ON_SEND;
80 rs485conf.flags &= ~(SER_RS485_RTS_ON_SEND);
/linux-6.3-rc2/drivers/tty/serial/
A Domap-serial.c378 res = (port->rs485.flags & SER_RS485_RTS_ON_SEND) ? 1 : 0; in serial_omap_start_tx()
1320 SER_RS485_RTS_AFTER_SEND : SER_RS485_RTS_ON_SEND; in serial_omap_config_rs485()
1512 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1515 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in serial_omap_probe_rs485()
1542 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
A 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,
A 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()
1267 if (rs485conf->flags & SER_RS485_RTS_ON_SEND) { in stm32_usart_set_termios()
1443 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
A Dimx.c497 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_stop_rx()
689 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in imx_uart_start_tx()
1600 port->rs485.flags & SER_RS485_RTS_ON_SEND && in imx_uart_shutdown()
1945 !(rs485conf->flags & SER_RS485_RTS_ON_SEND)) in imx_uart_rs485_config()
2231 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
2368 (!(sport->port.rs485.flags & SER_RS485_RTS_ON_SEND) && in imx_uart_probe()
A 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()
3438 rs485conf->flags |= SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
3447 rs485conf->flags &= ~SER_RS485_RTS_ON_SEND; in uart_get_rs485_mode()
A Dfsl_lpuart.c1385 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart_config_rs485()
1415 if (rs485->flags & SER_RS485_RTS_ON_SEND) in lpuart32_config_rs485()
2690 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
A Damba-pl011.c1450 if (port->rs485.flags & SER_RS485_RTS_ON_SEND) in pl011_rs485_tx_start()
2780 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
A Dmax310x.c1257 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,

Completed in 58 milliseconds