Searched refs:new_settings (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dhdlc_raw.c47 raw_hdlc_proto new_settings; local
71 if (copy_from_user(&new_settings, raw_s, size))
74 if (new_settings.encoding == ENCODING_DEFAULT)
75 new_settings.encoding = ENCODING_NRZ;
77 if (new_settings.parity == PARITY_DEFAULT)
78 new_settings.parity = PARITY_CRC16_PR1_CCITT;
80 result = hdlc->attach(dev, new_settings.encoding,
81 new_settings.parity);
89 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_raw_eth.c59 raw_hdlc_proto new_settings; local
85 if (copy_from_user(&new_settings, raw_s, size))
88 if (new_settings.encoding == ENCODING_DEFAULT)
89 new_settings.encoding = ENCODING_NRZ;
91 if (new_settings.parity == PARITY_DEFAULT)
92 new_settings.parity = PARITY_CRC16_PR1_CCITT;
94 result = hdlc->attach(dev, new_settings.encoding,
95 new_settings.parity);
103 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_fr.c1231 fr_proto new_settings; local
1256 if (copy_from_user(&new_settings, fr_s, size))
1259 if (new_settings.lmi == LMI_DEFAULT)
1260 new_settings.lmi = LMI_ANSI;
1262 if ((new_settings.lmi != LMI_NONE &&
1263 new_settings.lmi != LMI_ANSI &&
1264 new_settings.lmi != LMI_CCITT &&
1265 new_settings.lmi != LMI_CISCO) ||
1266 new_settings.t391 < 1 ||
1267 new_settings
[all...]
H A Dhdlc_cisco.c326 cisco_proto new_settings; local
350 if (copy_from_user(&new_settings, cisco_s, size))
353 if (new_settings.interval < 1 ||
354 new_settings.timeout < 2)
366 memcpy(&state(hdlc)->settings, &new_settings, size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dmore.c28 struct termios new_settings; member in struct:globals
35 #define new_settings (G.new_settings ) macro
84 new_settings = initial_settings;
85 new_settings.c_lflag &= ~ICANON;
86 new_settings.c_lflag &= ~ECHO;
87 new_settings.c_cc[VMIN] = 1;
88 new_settings.c_cc[VTIME] = 0;
89 setTermSettings(cin_fileno, &new_settings);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dlineedit.c64 static struct termios initial_settings, new_settings; variable in typeref:struct:
1289 memcpy(&new_settings, &initial_settings, sizeof(new_settings));
1290 new_settings.c_lflag &= ~ICANON; /* unbuffered input */
1292 new_settings.c_lflag &= ~(ECHO | ECHONL | ISIG);
1294 new_settings.c_cc[VMIN] = 1;
1295 new_settings.c_cc[VTIME] = 0;
1300 new_settings.c_cc[VINTR] = _POSIX_VDISABLE;
1301 setTermSettings(0, (void *) &new_settings);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/procps/
H A Dtop.c519 struct termios new_settings; local
538 memcpy(&new_settings, &initial_settings, sizeof(struct termios));
540 new_settings.c_lflag &= ~(ISIG | ICANON | ECHO | ECHONL);
544 tcsetattr(0, TCSANOW, (void *) &new_settings);

Completed in 33 milliseconds