18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * S390 version 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Derived from "include/asm-i386/termios.h" 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#ifndef _S390_TERMIOS_H 88c2ecf20Sopenharmony_ci#define _S390_TERMIOS_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include <uapi/asm/termios.h> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/* intr=^C quit=^\ erase=del kill=^U 148c2ecf20Sopenharmony_ci eof=^D vtime=\0 vmin=\1 sxtc=\0 158c2ecf20Sopenharmony_ci start=^Q stop=^S susp=^Z eol=\0 168c2ecf20Sopenharmony_ci reprint=^R discard=^U werase=^W lnext=^V 178c2ecf20Sopenharmony_ci eol2=\0 188c2ecf20Sopenharmony_ci*/ 198c2ecf20Sopenharmony_ci#define INIT_C_CC "\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0" 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) 228c2ecf20Sopenharmony_ci#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#include <asm-generic/termios-base.h> 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#endif /* _S390_TERMIOS_H */ 27