]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/cris/include/uapi/asm/rs485.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / cris / include / uapi / asm / rs485.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* RS-485 structures */
3
4 /* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
5 * XXX: Do not use it for new code!
6 */
7 struct rs485_control {
8 unsigned short rts_on_send;
9 unsigned short rts_after_sent;
10 unsigned long delay_rts_before_send;
11 unsigned short enabled;
12 };
13
14 /* Used with ioctl() TIOCSERWRRS485 */
15 struct rs485_write {
16 unsigned short outc_size;
17 unsigned char *outc;
18 };
19