Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_dwlib.c188 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 D8250_fintek.c204 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 D8250_lpc18xx.c43 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 D8250_exar.c472 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 D8250_pci1xxxx.c180 if (rs485->flags & SER_RS485_ENABLED) { in pci1xxxx_rs485_config()
209 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
H A D8250_omap.c366 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 D8250_port.c604 .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 D8250_pci.c1544 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 Dmcf.c102 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 Dar933x_uart.c401 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 Domap-serial.c285 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 Dserial_core.c1391 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 Dimx.c437 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 Dstm32-usart.c151 !(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 Damba-pl011.c1333 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 Dsc16is7xx.c821 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 Datmel_serial.c228 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 Dmax310x.c1044 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 Dfsl_lpuart.c1463 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 Dserial.h143 #define SER_RS485_ENABLED (1 << 0) macro
/openbmc/linux/drivers/usb/serial/
H A Dxr_serial.c651 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 Dserial-rs485.rst75 rs485conf.flags |= SER_RS485_ENABLED;