Home | History | Annotate | Download | only in recovery

Lines Matching full:tio

111             struct termios tio;
112 tcgetattr( cmd_engine_fd, &tio );
115 tio.c_lflag &= ~( ECHO | ECHOE | ECHOK | ECHONL ); // None ECHO mode
116 tio.c_lflag &= ~( ICANON | ISIG ); // raw data
119 tio.c_iflag = IGNBRK | IGNPAR; //work code
122 tio.c_oflag &= ~( OPOST ); // work code
125 tio.c_cflag |= ( CLOCAL | CREAD | CRTSCTS ); //enable receiver & hardware flow control
126 tio.c_cflag &= ~( CSIZE ); //disable bit mask for data bits
127 tio.c_cflag |= CS8; //set 8-bit characters
128 tio.c_cflag &= ~( PARENB ); //disable parity bit*/
131 cfsetispeed( &tio, B115200 );
132 cfsetospeed( &tio, B115200 );
138 tcsetattr( cmd_engine_fd, TCSANOW, &tio );