/openbmc/linux/Documentation/driver-api/serial/ |
H A D | serial-rs485.rst | 32 The Linux kernel provides the struct serial_rs485 to handle RS485 37 [#DT-bindings]_. The serial core fills the struct serial_rs485 from the 46 serial_rs485. The struct serial_rs485 userspace provides is sanitized 49 TIOCGRS485 ioctl can be used to read back the struct serial_rs485 53 :identifiers: serial_rs485 uart_get_rs485_mode 72 struct serial_rs485 rs485conf; 112 ``SER_RS485_ADDRB`` flag in struct serial_rs485. The struct serial_rs485
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | ioctls.h | 85 #define TIOCGRS485 _IOR('T', 0x2E, struct serial_rs485) 86 #define TIOCSRS485 _IOWR('T', 0x2F, struct serial_rs485)
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | ioctls.h | 54 #define TIOCGRS485 _IOR('T', 0x2E, struct serial_rs485) 55 #define TIOCSRS485 _IOWR('T', 0x2F, struct serial_rs485)
|
/openbmc/linux/arch/sh/include/uapi/asm/ |
H A D | ioctls.h | 87 #define TIOCGRS485 _IOR('T', 46, struct serial_rs485) 88 #define TIOCSRS485 _IOWR('T', 47, struct serial_rs485)
|
/openbmc/linux/arch/xtensa/include/uapi/asm/ |
H A D | ioctls.h | 99 #define TIOCGRS485 _IOR('T', 46, struct serial_rs485) 100 #define TIOCSRS485 _IOWR('T', 47, struct serial_rs485)
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | ioctls.h | 99 #define TIOCGRS485 _IOR('T', 0x2E, struct serial_rs485) 100 #define TIOCSRS485 _IOWR('T', 0x2F, struct serial_rs485)
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_dwlib.c | 138 static void dw8250_rs485_set_addr(struct uart_port *p, struct serial_rs485 *rs485, in dw8250_rs485_set_addr() 181 struct serial_rs485 *rs485) in dw8250_rs485_config() 236 static const struct serial_rs485 dw8250_rs485_supported = {
|
H A D | 8250_exar.c | 168 struct serial_rs485 *rs485); 169 const struct serial_rs485 *rs485_supported; 470 struct serial_rs485 *rs485) in generic_rs485_config() 490 static const struct serial_rs485 generic_rs485_supported = { 502 struct serial_rs485 *rs485) in iot2040_rs485_config() 534 static const struct serial_rs485 iot2040_rs485_supported = {
|
H A D | 8250_fintek.c | 198 struct serial_rs485 *rs485) in fintek_8250_rs485_config() 421 static const struct serial_rs485 fintek_8250_rs485_supported_port0 = { 427 static const struct serial_rs485 fintek_8250_rs485_supported = {
|
H A D | 8250_lpc18xx.c | 36 struct serial_rs485 *rs485) in lpc18xx_rs485_config() 84 static const struct serial_rs485 lpc18xx_rs485_supported = {
|
H A D | 8250.h | 212 struct serial_rs485 *rs485); 216 extern struct serial_rs485 serial8250_em485_supported;
|
H A D | 8250_pci1xxxx.c | 169 struct serial_rs485 *rs485) in pci1xxxx_rs485_config() 208 static const struct serial_rs485 pci1xxxx_rs485_supported = {
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | ioctls.h | 28 #define TIOCGRS485 _IOR('T', 0x41, struct serial_rs485) 29 #define TIOCSRS485 _IOWR('T', 0x42, struct serial_rs485)
|
/openbmc/qemu/linux-user/mips/ |
H A D | termbits.h | 234 #define TARGET_TIOCGRS485 TARGET_IOR('T', 0x2E, struct serial_rs485) 235 #define TARGET_TIOCSRS485 TARGET_IOWR('T', 0x2F, struct serial_rs485)
|
/openbmc/qemu/linux-user/xtensa/ |
H A D | termbits.h | 303 #define TARGET_TIOCGRS485 _IOR('T', 46, struct serial_rs485) 304 #define TARGET_TIOCSRS485 _IOWR('T', 47, struct serial_rs485)
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | 1327 static int uart_check_rs485_flags(struct uart_port *port, struct serial_rs485 *rs485) in uart_check_rs485_flags() 1356 struct serial_rs485 *rs485) in uart_sanitize_serial_rs485_delays() 1387 static void uart_sanitize_serial_rs485(struct uart_port *port, struct serial_rs485 *rs485) in uart_sanitize_serial_rs485() 1426 const struct serial_rs485 *rs485) in uart_set_rs485_termination() 1436 const struct serial_rs485 *rs485) in uart_set_rs485_rx_during_tx() 1447 struct serial_rs485 *rs485 = &port->rs485; in uart_rs485_config() 1472 struct serial_rs485 __user *rs485) in uart_get_rs485_config() 1475 struct serial_rs485 aux; in uart_get_rs485_config() 1488 struct serial_rs485 __user *rs485_user) in uart_set_rs485_config() 1490 struct serial_rs485 rs485; in uart_set_rs485_config() [all …]
|
H A D | ar933x_uart.c | 394 struct serial_rs485 *rs485conf = &up->port.rs485; in ar933x_uart_tx_chars() 583 struct serial_rs485 *rs485conf) in ar933x_config_rs485() 702 static const struct serial_rs485 ar933x_no_rs485 = {}; 703 static const struct serial_rs485 ar933x_rs485_supported = {
|
H A D | mcf.c | 417 struct serial_rs485 *rs485) in mcf_config_rs485() 438 static const struct serial_rs485 mcf_rs485_supported = {
|
H A D | stm32-usart.c | 148 struct serial_rs485 *rs485conf = &port->rs485; in stm32_usart_rs485_rts_enable() 166 struct serial_rs485 *rs485conf = &port->rs485; in stm32_usart_rs485_rts_disable() 219 struct serial_rs485 *rs485conf) in stm32_usart_config_rs485() 278 struct serial_rs485 *rs485conf = &port->rs485; in stm32_usart_init_rs485() 1155 struct serial_rs485 *rs485conf = &port->rs485; in stm32_usart_set_termios() 1510 static const struct serial_rs485 stm32_rs485_supported = {
|
H A D | omap-serial.c | 1300 struct serial_rs485 *rs485) in serial_omap_config_rs485() 1486 static const struct serial_rs485 serial_omap_rs485_supported = { 1496 struct serial_rs485 *rs485conf = &up->port.rs485; in serial_omap_probe_rs485() 1532 up->port.rs485_supported = (const struct serial_rs485) { }; in serial_omap_probe_rs485()
|
H A D | sc16is7xx.c | 839 struct serial_rs485 *rs485 = &port->rs485; in sc16is7xx_reconf_rs485() 1130 struct serial_rs485 *rs485) in sc16is7xx_config_rs485() 1477 static const struct serial_rs485 sc16is7xx_rs485_supported = {
|
H A D | max310x.c | 1058 struct serial_rs485 *rs485) in max310x_rs485_config() 1278 static const struct serial_rs485 max310x_rs485_supported = {
|
/openbmc/linux/drivers/usb/serial/ |
H A D | xr_serial.c | 241 struct serial_rs485 rs485; 825 static void xr_sanitize_serial_rs485(struct serial_rs485 *rs485) in xr_sanitize_serial_rs485() 847 struct serial_rs485 __user *argp) in xr_get_rs485_config() 863 struct serial_rs485 __user *argp) in xr_set_rs485_config() 867 struct serial_rs485 rs485; in xr_set_rs485_config()
|
/openbmc/linux/include/uapi/linux/ |
H A D | serial.h | 141 struct serial_rs485 { struct
|
/openbmc/linux/include/linux/ |
H A D | serial_core.h | 459 struct serial_rs485 *rs485); 584 struct serial_rs485 rs485; 585 struct serial_rs485 rs485_supported; /* Supported mask for serial_rs485 */
|