/linux-6.6.21/drivers/tty/serial/8250/ |
D | 8250_dwlib.c | 188 if (rs485->flags & SER_RS485_ENABLED) { in dw8250_rs485_config() 216 if (rs485->flags & SER_RS485_ENABLED) in dw8250_rs485_config() 237 .flags = SER_RS485_ENABLED | SER_RS485_RX_DURING_TX | SER_RS485_RTS_ON_SEND |
|
D | 8250_fintek.c | 204 if (rs485->flags & SER_RS485_ENABLED) { 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,
|
D | 8250_lpc18xx.c | 43 if (rs485->flags & SER_RS485_ENABLED) { in lpc18xx_rs485_config() 85 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
D | 8250_exar.c | 430 bool is_rs485 = !!(rs485->flags & SER_RS485_ENABLED); in generic_rs485_config() 449 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND, 462 bool is_rs485 = !!(rs485->flags & SER_RS485_ENABLED); in iot2040_rs485_config() 493 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
|
D | 8250_pci1xxxx.c | 180 if (rs485->flags & SER_RS485_ENABLED) { in pci1xxxx_rs485_config() 209 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
|
D | 8250_omap.c | 362 if (up->port.rs485.flags & SER_RS485_ENABLED && in omap8250_restore_regs() 872 if (rs485->flags & SER_RS485_ENABLED) in omap8250_rs485_config()
|
D | 8250_port.c | 604 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 637 if (rs485->flags & SER_RS485_ENABLED) in serial8250_em485_config() 2058 if (port->rs485.flags & SER_RS485_ENABLED) in serial8250_set_mctrl()
|
D | 8250_pci.c | 1544 if (rs485->flags & SER_RS485_ENABLED) { in pci_fintek_rs485_config() 1566 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
|
/linux-6.6.21/drivers/tty/serial/ |
D | mcf.c | 102 if (port->rs485.flags & SER_RS485_ENABLED) { in mcf_start_tx() 256 if (port->rs485.flags & SER_RS485_ENABLED) { in mcf_set_termios() 338 if (!pending && (port->rs485.flags & SER_RS485_ENABLED)) in mcf_tx_chars() 424 if (rs485->flags & SER_RS485_ENABLED) { in mcf_config_rs485() 439 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND,
|
D | ar933x_uart.c | 401 if ((rs485conf->flags & SER_RS485_ENABLED) && in ar933x_uart_tx_chars() 588 if (port->rs485.flags & SER_RS485_ENABLED) in ar933x_config_rs485() 704 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND, 799 if (port->rs485.flags & SER_RS485_ENABLED) { in ar933x_uart_probe() 801 port->rs485.flags &= ~SER_RS485_ENABLED; in ar933x_uart_probe()
|
D | omap-serial.c | 285 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_stop_tx() 338 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_put_char() 367 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_start_tx() 381 if ((port->rs485.flags & SER_RS485_ENABLED) && in serial_omap_start_tx() 448 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rlsi() 502 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rdi() 1312 val = (rs485->flags & SER_RS485_ENABLED) ? in serial_omap_config_rs485() 1324 if (!(rs485->flags & SER_RS485_ENABLED) && in serial_omap_config_rs485() 1487 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 1533 if (rs485conf->flags & SER_RS485_ENABLED) { in serial_omap_probe_rs485()
|
D | serial_core.c | 185 if (old != port->mctrl && !(port->rs485.flags & SER_RS485_ENABLED)) in uart_update_mctrl() 1300 #define SER_RS485_LEGACY_FLAGS (SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | \ 1368 if (!(rs485->flags & SER_RS485_ENABLED)) { in uart_sanitize_serial_rs485() 1405 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_set_rs485_termination() 1415 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_set_rs485_rx_during_tx() 1428 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_rs485_config() 1471 if (!(port->rs485_supported.flags & SER_RS485_ENABLED)) in uart_set_rs485_config() 1490 if (!(rs485.flags & SER_RS485_ENABLED)) in uart_set_rs485_config() 2410 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_suspend_port() 2502 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port() [all …]
|
D | imx.c | 435 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_stop_tx() 492 if (port->rs485.flags & SER_RS485_ENABLED && in imx_uart_stop_rx() 597 else if (sport->port.rs485.flags & SER_RS485_ENABLED) { in imx_uart_dma_tx_callback() 682 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_start_tx() 1074 if (!(port->rs485.flags & SER_RS485_ENABLED)) { in imx_uart_set_mctrl() 1592 if (port->rs485.flags & SER_RS485_ENABLED && in imx_uart_shutdown() 1687 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_set_termios() 1930 if (rs485conf->flags & SER_RS485_ENABLED) { in imx_uart_rs485_config() 1946 if (!(rs485conf->flags & SER_RS485_ENABLED) || in imx_uart_rs485_config() 2214 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | [all …]
|
D | stm32-usart.c | 151 !(rs485conf->flags & SER_RS485_ENABLED)) in stm32_usart_rs485_rts_enable() 169 !(rs485conf->flags & SER_RS485_ENABLED)) in stm32_usart_rs485_rts_disable() 229 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_config_rs485() 796 port->rs485.flags & SER_RS485_ENABLED && in stm32_usart_transmit_chars() 846 port->rs485.flags & SER_RS485_ENABLED) { in stm32_usart_transmit_chars() 864 port->rs485.flags & SER_RS485_ENABLED && in stm32_usart_interrupt() 1321 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_set_termios() 1502 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
D | amba-pl011.c | 1333 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_stop_tx() 1379 if ((uap->port.rs485.flags & SER_RS485_ENABLED) && in pl011_start_tx() 1866 if (!(port->rs485.flags & SER_RS485_ENABLED)) in pl011_startup() 1968 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_shutdown() 2120 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_set_termios() 2238 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_rs485_config() 2242 if (rs485->flags & SER_RS485_ENABLED) { in pl011_rs485_config() 2784 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
D | sc16is7xx.c | 808 if ((port->rs485.flags & SER_RS485_ENABLED) && in sc16is7xx_tx_proc() 826 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_reconf_rs485() 1118 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_config_rs485() 1438 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND,
|
D | atmel_serial.c | 228 return ((port->rs485.flags & SER_RS485_ENABLED) && in atmel_uart_is_half_duplex() 304 if (rs485conf->flags & SER_RS485_ENABLED) { in atmel_config_rs485() 477 if (port->rs485.flags & SER_RS485_ENABLED) { in atmel_set_mctrl() 2223 if (port->rs485.flags & SER_RS485_ENABLED) { in atmel_set_termios() 2525 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND | SER_RS485_RX_DURING_TX, 2956 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED; in atmel_serial_probe()
|
D | max310x.c | 1044 if (one->port.rs485.flags & SER_RS485_ENABLED) { in max310x_rs_proc() 1095 if (port->rs485.flags & SER_RS485_ENABLED) { in max310x_startup() 1279 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,
|
D | fsl_lpuart.c | 1463 if (rs485->flags & SER_RS485_ENABLED) { in lpuart_config_rs485() 1493 if (rs485->flags & SER_RS485_ENABLED) { in lpuart32_config_rs485() 2025 if (sport->port.rs485.flags & SER_RS485_ENABLED) in lpuart_set_termios() 2260 if (sport->port.rs485.flags & SER_RS485_ENABLED) in lpuart32_set_termios() 2786 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
/linux-6.6.21/include/uapi/linux/ |
D | serial.h | 143 #define SER_RS485_ENABLED (1 << 0) macro
|
/linux-6.6.21/drivers/usb/serial/ |
D | xr_serial.c | 651 rs485_enabled = !!(data->rs485.flags & SER_RS485_ENABLED); in xr_set_flow_mode() 827 if (!(rs485->flags & SER_RS485_ENABLED)) { in xr_sanitize_serial_rs485() 839 rs485->flags &= SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | in xr_sanitize_serial_rs485()
|
/linux-6.6.21/Documentation/driver-api/serial/ |
D | serial-rs485.rst | 75 rs485conf.flags |= SER_RS485_ENABLED;
|