Home
last modified time | relevance | path

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

/dports/sysutils/busybox/busybox-1.26.2/loginutils/
H A Dgetty.c104 int numspeed; /* number of baud rates to try */ member
165 G.speeds[G.numspeed] = bcode(cp); in parse_speeds()
166 if (G.speeds[G.numspeed] < 0) in parse_speeds()
169 G.numspeed++; in parse_speeds()
170 if (G.numspeed > MAX_SPEED) in parse_speeds()
519 if (G.numspeed > 1) in get_logname()
721 baud_index = (baud_index + 1) % G.numspeed; in getty_main()
/dports/devel/util-linux/util-linux-2.36/term-utils/
H A Dagetty.c208 int numspeed; /* number of baud rates to try */ member
437 if ((options.flags & F_VCONSOLE) == 0 && options.numspeed == 0) { in main()
438 options.speeds[options.numspeed++] = bcode("9600"); in main()
507 if ((options.flags & F_VCONSOLE) == 0 && options.numspeed) in main()
948 if ((op->speeds[op->numspeed++] = bcode(cp)) <= 0) in parse_speeds()
950 if (op->numspeed >= MAX_SPEED) in parse_speeds()
1291 if (op->flags & F_KEEPSPEED || !op->numspeed) { in termio_init()
1299 if (op->numspeed) in termio_init()
1300 op->speeds[op->numspeed++] = ispeed ? ispeed : in termio_init()
2135 baud_index = (baud_index + 1) % op->numspeed; in next_speed()
[all …]
/dports/sysutils/linrename/util-linux-2.25.2/term-utils/
H A Dagetty.c153 int numspeed; /* number of baud rates to try */ member
784 op->speeds[op->numspeed++] = bcode("9600"); in parse_args()
845 if ((op->speeds[op->numspeed++] = bcode(cp)) <= 0) in parse_speeds()
847 if (op->numspeed >= MAX_SPEED) in parse_speeds()
1603 (op->flags & F_KEEPSPEED) ? FIRST_SPEED : 1 % op->numspeed; in next_speed()
1605 baud_index = (baud_index + 1) % op->numspeed; in next_speed()
1698 if (op->numspeed > 1) in get_logname()