Lines Matching defs:tty
2656 struct termios tty;
2659 if (tcgetattr(rodent.mfd, &tty) < 0)
2665 tty.c_iflag = IGNBRK | IGNPAR;
2666 tty.c_oflag = 0;
2667 tty.c_lflag = 0;
2668 tty.c_cflag = (tcflag_t)cflag;
2669 tty.c_cc[VTIME] = 0;
2670 tty.c_cc[VMIN] = 1;
2675 cfsetispeed(&tty, B9600);
2676 cfsetospeed(&tty, B9600);
2679 cfsetispeed(&tty, B4800);
2680 cfsetospeed(&tty, B4800);
2683 cfsetispeed(&tty, B2400);
2684 cfsetospeed(&tty, B2400);
2688 cfsetispeed(&tty, B1200);
2689 cfsetospeed(&tty, B1200);
2692 if (tcsetattr(rodent.mfd, TCSADRAIN, &tty) < 0)
2702 cfsetispeed(&tty, B9600);
2703 cfsetospeed(&tty, B9600);
2707 cfsetispeed(&tty, B4800);
2708 cfsetospeed(&tty, B4800);
2712 cfsetispeed(&tty, B2400);
2713 cfsetospeed(&tty, B2400);
2718 cfsetispeed(&tty, B1200);
2719 cfsetospeed(&tty, B1200);
2733 if (tcsetattr(rodent.mfd, TCSADRAIN, &tty) < 0)