Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/tty/serial/8250/
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 |
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,
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,
A D8250_exar.c422 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,
A D8250_pci1xxxx.c180 if (rs485->flags & SER_RS485_ENABLED) { in pci1xxxx_rs485_config()
209 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
A D8250_omap.c358 if (up->port.rs485.flags & SER_RS485_ENABLED && in omap8250_restore_regs()
856 if (rs485->flags & SER_RS485_ENABLED) in omap8250_rs485_config()
A D8250_port.c661 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
693 if (rs485->flags & SER_RS485_ENABLED) in serial8250_em485_config()
2062 if (port->rs485.flags & SER_RS485_ENABLED) in serial8250_set_mctrl()
A D8250_pci.c1550 if (rs485->flags & SER_RS485_ENABLED) { in pci_fintek_rs485_config()
1572 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
/linux-6.3-rc2/drivers/tty/serial/
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,
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,
800 if (port->rs485.flags & SER_RS485_ENABLED) { in ar933x_uart_probe()
802 port->rs485.flags &= ~SER_RS485_ENABLED; in ar933x_uart_probe()
A Domap-serial.c290 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()
372 if (port->rs485.flags & SER_RS485_ENABLED) { in serial_omap_start_tx()
386 if ((port->rs485.flags & SER_RS485_ENABLED) && in serial_omap_start_tx()
453 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rlsi()
508 if ((up->port.rs485.flags & SER_RS485_ENABLED) && in serial_omap_rdi()
1319 val = (rs485->flags & SER_RS485_ENABLED) ? in serial_omap_config_rs485()
1331 if (!(rs485->flags & SER_RS485_ENABLED) && in serial_omap_config_rs485()
1530 if (rs485conf->flags & SER_RS485_ENABLED) { in serial_omap_probe_rs485()
1542 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
A Dimx.c439 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_stop_tx()
496 if (port->rs485.flags & SER_RS485_ENABLED && in imx_uart_stop_rx()
686 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_start_tx()
1078 if (!(port->rs485.flags & SER_RS485_ENABLED)) { in imx_uart_set_mctrl()
1599 if (port->rs485.flags & SER_RS485_ENABLED && in imx_uart_shutdown()
1694 if (port->rs485.flags & SER_RS485_ENABLED) { in imx_uart_set_termios()
1942 if (rs485conf->flags & SER_RS485_ENABLED) { in imx_uart_rs485_config()
1958 if (!(rs485conf->flags & SER_RS485_ENABLED) || in imx_uart_rs485_config()
2357 if (sport->port.rs485.flags & SER_RS485_ENABLED && in imx_uart_probe()
2366 if (sport->port.rs485.flags & SER_RS485_ENABLED && in imx_uart_probe()
[all …]
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()
235 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_config_rs485()
696 port->rs485.flags & SER_RS485_ENABLED) { in stm32_usart_transmit_chars()
745 port->rs485.flags & SER_RS485_ENABLED) { in stm32_usart_transmit_chars()
764 port->rs485.flags & SER_RS485_ENABLED && in stm32_usart_interrupt()
1262 if (rs485conf->flags & SER_RS485_ENABLED) { in stm32_usart_set_termios()
1443 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
A Dserial_core.c164 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()
2356 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_suspend_port()
2445 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port()
2457 if (!(uport->rs485.flags & SER_RS485_ENABLED)) in uart_resume_port()
2567 if (!(port->rs485.flags & SER_RS485_ENABLED)) in uart_configure_port()
3435 rs485conf->flags &= ~(SER_RS485_RX_DURING_TX | SER_RS485_ENABLED | in uart_get_rs485_mode()
[all …]
A Damba-pl011.c1336 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_stop_tx()
1469 if ((uap->port.rs485.flags & SER_RS485_ENABLED) && in pl011_tx_chars()
1869 if (!(port->rs485.flags & SER_RS485_ENABLED)) in pl011_startup()
1971 if ((port->rs485.flags & SER_RS485_ENABLED) && uap->rs485_tx_started) in pl011_shutdown()
2123 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_set_termios()
2234 if (port->rs485.flags & SER_RS485_ENABLED) in pl011_rs485_config()
2238 if (rs485->flags & SER_RS485_ENABLED) { in pl011_rs485_config()
2780 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND |
A Dsc16is7xx.c818 if ((port->rs485.flags & SER_RS485_ENABLED) && in sc16is7xx_tx_proc()
840 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_reconf_rs485()
1133 if (rs485->flags & SER_RS485_ENABLED) { in sc16is7xx_config_rs485()
1354 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND,
A Datmel_serial.c229 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()
2224 if (port->rs485.flags & SER_RS485_ENABLED) { in atmel_set_termios()
2526 .flags = SER_RS485_ENABLED | SER_RS485_RTS_AFTER_SEND | SER_RS485_RX_DURING_TX,
2957 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED; in atmel_serial_probe()
A Dmax310x.c1022 if (one->port.rs485.flags & SER_RS485_ENABLED) { in max310x_rs_proc()
1073 if (port->rs485.flags & SER_RS485_ENABLED) { in max310x_startup()
1257 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX,
A Dfsl_lpuart.c1375 if (rs485->flags & SER_RS485_ENABLED) { in lpuart_config_rs485()
1405 if (rs485->flags & SER_RS485_ENABLED) { in lpuart32_config_rs485()
1932 if (sport->port.rs485.flags & SER_RS485_ENABLED) in lpuart_set_termios()
2169 if (sport->port.rs485.flags & SER_RS485_ENABLED) in lpuart32_set_termios()
2690 .flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
/linux-6.3-rc2/include/uapi/linux/
A Dserial.h143 #define SER_RS485_ENABLED (1 << 0) macro
/linux-6.3-rc2/Documentation/driver-api/serial/
A Dserial-rs485.rst75 rs485conf.flags |= SER_RS485_ENABLED;

Completed in 85 milliseconds