#ifndef _UAPI_ASM_GENERIC_TERMIOS_H #define _UAPI_ASM_GENERIC_TERMIOS_H /* * Most architectures have straight copies of the x86 code, with * varying levels of bug fixes on top. Usually it's a good idea * to use this generic version instead, but be careful to avoid * ABI changes. * New architectures should not provide their own version. */ #include <asm/termbits.h> #include <asm/ioctls.h> struct winsize { unsigned short ws_row; unsigned short ws_col; unsigned short ws_xpixel; unsigned short ws_ypixel; }; #define NCC 8 struct termio { unsigned short c_iflag; /* input mode flags */ unsigned short c_oflag; /* output mode flags */ unsigned short c_cflag; /* control mode flags */ unsigned short c_lflag; /* local mode flags */ unsigned char c_line; /* line discipline */ unsigned char c_cc[NCC]; /* control characters */ }; /* modem lines */ #define TIOCM_LE 0x001 #define TIOCM_DTR 0x002 #define TIOCM_RTS 0x004 #define TIOCM_ST 0x008 #define TIOCM_SR 0x010 #define TIOCM_CTS 0x020 #define TIOCM_CAR 0x040 #define TIOCM_RNG 0x080 #define TIOCM_DSR 0x100 #define TIOCM_CD TIOCM_CAR #define TIOCM_RI TIOCM_RNG #define TIOCM_OUT1 0x2000 #define TIOCM_OUT2 0x4000 #define TIOCM_LOOP 0x8000 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */ #endif /* _UAPI_ASM_GENERIC_TERMIOS_H */ t-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/drivers/usb/chipidea/host.h?showmsg=1'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/chipidea/host.h?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/chipidea/host.h?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/chipidea/host.h?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/chipidea/host.h'> <input type='hidden' name='id' value='d0d7b10b05945f40fefd4e60f457c61aefa3e9a9'/><input type='hidden' name='showmsg' value='1'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9&showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9&showmsg=1'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9&showmsg=1'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/chipidea?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9&showmsg=1'>chipidea</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/chipidea/host.h?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9&showmsg=1'>host.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/chipidea/host.h?id=d0d7b10b05945f40fefd4e60f457c61aefa3e9a9'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>