Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/tty/serial/8250/
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 |
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,
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,
D8250_exar.c430 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 |
D8250_pci1xxxx.c180 if (rs485->flags & SER_RS485_ENABLED) { in pci1xxxx_rs485_config()
209 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
D8250_omap.c362 if (up->port.rs485.flags & SER_RS485_ENABLED && in omap8250_restore_regs()
872 if (rs485->flags & SER_RS485_ENABLED) in omap8250_rs485_config()
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()
2058 if (port->rs485.flags & SER_RS485_ENABLED) in serial8250_set_mctrl()
D8250_pci.c1544 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/
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,
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()
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()
Dserial_core.c185 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 …]
Dimx.c435 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 …]
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()
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 |
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 |
Dsc16is7xx.c808 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,
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_AFTER_SEND | SER_RS485_RX_DURING_TX,
2956 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED; in atmel_serial_probe()
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,
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()
2786 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
/linux-6.6.21/include/uapi/linux/
Dserial.h143 #define SER_RS485_ENABLED (1 << 0) macro
/linux-6.6.21/drivers/usb/serial/
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()
/linux-6.6.21/Documentation/driver-api/serial/
Dserial-rs485.rst75 rs485conf.flags |= SER_RS485_ENABLED;