Searched refs:SER_RS485_ENABLED (Results 1 – 20 of 20) sorted by relevance
/linux-6.1.9/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 | 422 bool is_rs485 = !!(rs485->flags & SER_RS485_ENABLED); in generic_rs485_config() 441 .flags = SER_RS485_ENABLED, 454 bool is_rs485 = !!(rs485->flags & SER_RS485_ENABLED); in iot2040_rs485_config() 485 .flags = SER_RS485_ENABLED | SER_RS485_RX_DURING_TX | SER_RS485_TERMINATE_BUS,
|
D | 8250_port.c | 653 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 685 if (rs485->flags & SER_RS485_ENABLED) in serial8250_em485_config() 2056 if (port->rs485.flags & SER_RS485_ENABLED) in serial8250_set_mctrl()
|
D | 8250_omap.c | 349 if (up->port.rs485.flags & SER_RS485_ENABLED) in omap8250_restore_regs()
|
D | 8250_pci.c | 1570 if (rs485->flags & SER_RS485_ENABLED) { in pci_fintek_rs485_config() 1592 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
|
/linux-6.1.9/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() 354 if (port->rs485.flags & SER_RS485_ENABLED) in mcf_tx_chars() 442 if (rs485->flags & SER_RS485_ENABLED) { in mcf_config_rs485() 457 .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() 589 if (port->rs485.flags & SER_RS485_ENABLED) in ar933x_config_rs485() 705 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND, 801 if (port->rs485.flags & SER_RS485_ENABLED) { in ar933x_uart_probe() 803 port->rs485.flags &= ~SER_RS485_ENABLED; in ar933x_uart_probe()
|
D | omap-serial.c | 290 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_stop_tx() 343 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_put_char() 394 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_start_tx() 408 if ((port->rs485.flags & SER_RS485_ENABLED) && in serial_omap_start_tx() 475 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rlsi() 530 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rdi() 1341 val = (rs485->flags & SER_RS485_ENABLED) ? in serial_omap_config_rs485() 1353 if (!(rs485->flags & SER_RS485_ENABLED) && in serial_omap_config_rs485() 1552 if (rs485conf->flags & SER_RS485_ENABLED) { in serial_omap_probe_rs485() 1564 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
D | imx.c | 453 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_stop_tx() 606 else if (sport->port.rs485.flags & SER_RS485_ENABLED) { in imx_uart_dma_tx_callback() 691 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_start_tx() 1044 if (!(port->rs485.flags & SER_RS485_ENABLED)) { in imx_uart_set_mctrl() 1666 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_set_termios() 1914 if (rs485conf->flags & SER_RS485_ENABLED) { in imx_uart_rs485_config() 1930 if (!(rs485conf->flags & SER_RS485_ENABLED) || in imx_uart_rs485_config() 2199 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND | 2332 if (sport->port.rs485.flags & SER_RS485_ENABLED && in imx_uart_probe() 2341 if (sport->port.rs485.flags & SER_RS485_ENABLED && in imx_uart_probe()
|
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() 231 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_config_rs485() 693 port->rs485.flags & SER_RS485_ENABLED) { in stm32_usart_transmit_chars() 742 port->rs485.flags & SER_RS485_ENABLED) { in stm32_usart_transmit_chars() 761 port->rs485.flags & SER_RS485_ENABLED && in stm32_usart_interrupt() 1275 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_set_termios() 1456 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
D | serial_core.c | 164 if (old != port->mctrl && !(port->rs485.flags & SER_RS485_ENABLED)) in uart_update_mctrl() 1285 #define SER_RS485_LEGACY_FLAGS (SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | \ 1353 if (!(rs485->flags & SER_RS485_ENABLED)) { in uart_sanitize_serial_rs485() 1382 if (!(rs485->flags & SER_RS485_ENABLED)) in uart_set_rs485_termination() 1445 if (!(rs485.flags & SER_RS485_ENABLED)) in uart_set_rs485_config() 2354 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_suspend_port() 2443 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port() 2455 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port() 2565 if (!(port->rs485.flags & SER_RS485_ENABLED)) in uart_configure_port() 3430 rs485conf->flags &= ~(SER_RS485_RX_DURING_TX | SER_RS485_ENABLED | in uart_get_rs485_mode() [all …]
|
D | amba-pl011.c | 1337 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_stop_tx() 1470 if ((uap->port.rs485.flags & SER_RS485_ENABLED) && in pl011_tx_chars() 1870 if (!(port->rs485.flags & SER_RS485_ENABLED)) in pl011_startup() 1972 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_shutdown() 2124 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_set_termios() 2235 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_rs485_config() 2239 if (rs485->flags & SER_RS485_ENABLED) { in pl011_rs485_config() 2781 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
|
D | sc16is7xx.c | 821 if ((port->rs485.flags & SER_RS485_ENABLED) && in sc16is7xx_tx_proc() 843 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_reconf_rs485() 1136 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_config_rs485() 1357 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND,
|
D | atmel_serial.c | 229 return ((port->rs485.flags & SER_RS485_ENABLED) && in atmel_uart_is_half_duplex() 305 if (rs485conf->flags & SER_RS485_ENABLED) { in atmel_config_rs485() 478 if (port->rs485.flags & SER_RS485_ENABLED) { in atmel_set_mctrl() 2240 if (port->rs485.flags & SER_RS485_ENABLED) { in atmel_set_termios() 2542 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND | SER_RS485_RX_DURING_TX, 2973 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED; in atmel_serial_probe()
|
D | max310x.c | 1026 if (one->port.rs485.flags & SER_RS485_ENABLED) { in max310x_rs_proc() 1077 if (port->rs485.flags & SER_RS485_ENABLED) { in max310x_startup() 1261 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,
|
D | fsl_lpuart.c | 1355 if (rs485->flags & SER_RS485_ENABLED) { in lpuart_config_rs485() 1385 if (rs485->flags & SER_RS485_ENABLED) { in lpuart32_config_rs485() 1853 if (sport->port.rs485.flags & SER_RS485_ENABLED) in lpuart_set_termios() 2090 if (sport->port.rs485.flags & SER_RS485_ENABLED) in lpuart32_set_termios() 2609 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
/linux-6.1.9/include/uapi/linux/ |
D | serial.h | 119 #define SER_RS485_ENABLED (1 << 0) /* If enabled */ macro
|
/linux-6.1.9/Documentation/driver-api/serial/ |
D | serial-rs485.rst | 70 rs485conf.flags |= SER_RS485_ENABLED;
|