Home | History | Annotate | Download | only in brcm_patchram_plus

Lines Matching full:termios

69 #include <termios.h>
71 #include <sys/termios.h>
102 struct termios termios;
326 tcgetattr(uart_fd, &termios);
329 cfmakeraw(&termios);
331 termios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP
333 termios.c_oflag &= ~OPOST;
334 termios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
335 termios.c_cflag &= ~(CSIZE | PARENB);
336 termios.c_cflag |= CS8;
339 termios.c_cflag |= CRTSCTS;
340 tcsetattr(uart_fd, TCSANOW, &termios);
342 tcsetattr(uart_fd, TCSANOW, &termios);
345 cfsetospeed(&termios, B115200);
346 cfsetispeed(&termios, B115200);
347 tcsetattr(uart_fd, TCSANOW, &termios);
462 cfsetospeed(&termios, termios_baudrate);
463 cfsetispeed(&termios, termios_baudrate);
464 tcsetattr(uart_fd, TCSANOW, &termios);