Home
last modified time | relevance | path

Searched refs:tios (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/picocom/picocom/
H A D0001-Fix-building-with-musl.patch35 tc2setattr(int fd, int optional_actions, const struct termios *tios)
37 @@ -79,8 +84,13 @@ tc2setattr(int fd, int optional_actions, const struct termios *tios)
38 t2.c_cflag = tios->c_cflag;
39 t2.c_lflag = tios->c_lflag;
40 t2.c_line = tios->c_line;
42 + t2.c_ispeed = tios->__c_ispeed;
43 + t2.c_ospeed = tios->__c_ospeed;
45 t2.c_ispeed = tios->c_ispeed;
46 t2.c_ospeed = tios->c_ospeed;
48 memcpy(&t2.c_cc[0], &tios->c_cc[0], K_NCCS * sizeof (cc_t));
[all …]
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dslip_user.c30 struct termios tios; in set_up_tty() local
32 if (tcgetattr(fd, &tios) < 0) { in set_up_tty()
38 tios.c_cflag = CS8 | CREAD | HUPCL | CLOCAL; in set_up_tty()
39 tios.c_iflag = IGNBRK | IGNPAR; in set_up_tty()
40 tios.c_oflag = 0; in set_up_tty()
41 tios.c_lflag = 0; in set_up_tty()
43 tios.c_cc[i] = 0; in set_up_tty()
44 tios.c_cc[VMIN] = 1; in set_up_tty()
45 tios.c_cc[VTIME] = 0; in set_up_tty()
47 cfsetospeed(&tios, B38400); in set_up_tty()
[all …]
/OK3568_Linux_fs/u-boot/tools/gdb/
H A Dserial.c19 static struct termios tios = { BRKINT, 0, B115200|CS8|CREAD, 0, { 0 } }; variable
21 static struct termios tios = { BRKINT, 0, B115200|CS8|CREAD, 0, 0 }; variable
69 if (cfsetospeed(&tios, speed) < 0) in serialopen()
75 if (tcsetattr(fd, TCSAFLUSH, &tios) < 0) { in serialopen()