Searched refs:speeds (Results 1 – 2 of 2) sorted by relevance
31 static const struct speed_map speeds[] ALIGN4 = { variable122 enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };129 if (speed == speeds[i].speed) { in tty_baud_to_value()130 if (speeds[i].value & 0x8000u) { in tty_baud_to_value()131 return ((unsigned)(speeds[i].value) & 0x7fffU) * 200; in tty_baud_to_value()133 return speeds[i].value; in tty_baud_to_value()145 if (value == tty_baud_to_value(speeds[i].speed)) { in tty_value_to_baud()146 return speeds[i].speed; in tty_value_to_baud()
105 int speeds[MAX_SPEED]; /* baud rates to be tried */ member165 G.speeds[G.numspeed] = bcode(cp); in parse_speeds()166 if (G.speeds[G.numspeed] < 0) in parse_speeds()679 init_tty_attrs(G.speeds[0]); in getty_main()721 cfsetspeed(&G.tty_attrs, G.speeds[baud_index]); in getty_main()