Lines Matching refs:speedef
67 register struct Gdef *speedef;
106 speedef = get_speed(pmtab->p_ttylabel);
107 openline(pmtab, speedef);
125 if (set_termio(0, speedef->g_fflags, NULL,FALSE,CANON) == -1) {
132 if (speedef->g_autobaud & A_FLAG) {
133 auto_speed = do_autobaud(pmtab, speedef);
135 if (set_termio(0, speedef->g_fflags, NULL, FALSE, CANON) == -1) {
174 if (set_termio(0, speedef->g_fflags, auto_speed,
184 speedef = next_speed(speedef);
188 if (speedef->g_autobaud & A_FLAG) {
192 auto_speed = do_autobaud(pmtab, speedef);
201 if (set_termio(0, speedef->g_iflags, NULL,
205 speedef->g_id);
232 openline(pmtab, speedef)
234 struct Gdef *speedef;
274 if (set_termio(0, speedef->g_fflags, NULL, TRUE, CANON) == -1) {
310 if (set_termio(0, speedef->g_fflags, NULL, TRUE, CANON) == -1) {
413 do_autobaud(pmtab, speedef)
415 struct Gdef *speedef;
424 speedef = next_speed(speedef);
425 if (speedef->g_autobaud & A_FLAG) {
429 if (set_termio(0, speedef->g_iflags, NULL,
437 if (set_termio(0, speedef->g_fflags, auto_speed,
451 * next_speed(speedef)
457 next_speed(speedef)
458 struct Gdef *speedef;
462 if (strcmp(speedef->g_nextid, speedef->g_id) == 0)
463 return (speedef);
464 if ((sp = find_def(speedef->g_nextid)) == NULL) {
465 log("%s's next speed-label (%s) is bad.", speedef->g_id,
466 speedef->g_nextid);
469 if ((sp = find_def(speedef->g_id)) == NULL) {
471 log("unable to find (%s) again", speedef->g_id);