/openbmc/linux/drivers/tty/serial/8250/ |
H A 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 |
|
H A 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,
|
H A 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,
|
H A D | 8250_exar.c | 472 bool is_rs485 = !!(rs485->flags & SER_RS485_ENABLED); in generic_rs485_config() 491 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND, 504 bool is_rs485 = !!(rs485->flags & SER_RS485_ENABLED); in iot2040_rs485_config() 535 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
|
H A 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 |
|
H A D | 8250_omap.c | 366 if (up->port.rs485.flags & SER_RS485_ENABLED && in omap8250_restore_regs() 888 if (rs485->flags & SER_RS485_ENABLED) in omap8250_rs485_config()
|
H A 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() 2052 if (port->rs485.flags & SER_RS485_ENABLED) in serial8250_set_mctrl()
|
H A 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,
|
/openbmc/linux/drivers/tty/serial/ |
H A 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,
|
H A 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()
|
H A 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()
|
H A D | serial_core.c | 1391 if (!(rs485->flags & SER_RS485_ENABLED)) { in uart_sanitize_serial_rs485() 1428 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_set_rs485_termination() 1438 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_set_rs485_rx_during_tx() 1451 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_rs485_config() 1494 if (!(port->rs485_supported.flags & SER_RS485_ENABLED)) in uart_set_rs485_config() 1513 if (!(rs485.flags & SER_RS485_ENABLED)) in uart_set_rs485_config() 2435 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_suspend_port() 2527 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port() 2540 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port() 2657 if (!(port->rs485.flags & SER_RS485_ENABLED)) in uart_configure_port() [all …]
|
H A D | imx.c | 437 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_stop_tx() 493 if (port->rs485.flags & SER_RS485_ENABLED && in imx_uart_stop_rx_with_loopback_ctrl() 608 else if (sport->port.rs485.flags & SER_RS485_ENABLED) { in imx_uart_dma_tx_callback() 693 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_start_tx() 1105 if (!(port->rs485.flags & SER_RS485_ENABLED)) { in imx_uart_set_mctrl() 1623 if (port->rs485.flags & SER_RS485_ENABLED && in imx_uart_shutdown() 1718 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_set_termios() 1961 if (rs485conf->flags & SER_RS485_ENABLED) { in imx_uart_rs485_config() 1977 if (!(rs485conf->flags & SER_RS485_ENABLED) || in imx_uart_rs485_config() 2371 if (sport->port.rs485.flags & SER_RS485_ENABLED && in imx_uart_probe() [all …]
|
H A 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() 865 port->rs485.flags & SER_RS485_ENABLED && in stm32_usart_interrupt() 1330 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_set_termios() 1511 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
H A 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 |
|
H A D | sc16is7xx.c | 821 if ((port->rs485.flags & SER_RS485_ENABLED) && in sc16is7xx_tx_proc() 839 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_reconf_rs485() 1131 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_config_rs485() 1451 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND,
|
H A 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_ON_SEND | SER_RS485_RX_DURING_TX, 2956 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED; in atmel_serial_probe()
|
H A 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,
|
H A 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() 2789 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
/openbmc/linux/include/uapi/linux/ |
H A D | serial.h | 143 #define SER_RS485_ENABLED (1 << 0) macro
|
/openbmc/linux/drivers/usb/serial/ |
H A 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()
|
/openbmc/linux/Documentation/driver-api/serial/ |
H A D | serial-rs485.rst | 75 rs485conf.flags |= SER_RS485_ENABLED;
|