Home
last modified time | relevance | path

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

/openbmc/obmc-console/
H A Dconfig.c155 static const struct terminal_speed_name terminal_speeds[] = { variable
193 for (i = 0; i < ARRAY_SIZE(terminal_speeds); i++) { in config_parse_baud()
194 if (strcmp(baud_string, terminal_speeds[i].name) == 0) { in config_parse_baud()
195 *speed = terminal_speeds[i].speed; in config_parse_baud()
206 for (i = 0; i < ARRAY_SIZE(terminal_speeds); i++) { in parse_baud_to_int()
207 if (terminal_speeds[i].speed == speed) { in parse_baud_to_int()
208 return terminal_speeds[i].baud; in parse_baud_to_int()
218 for (i = 0; i < ARRAY_SIZE(terminal_speeds); i++) { in parse_int_to_baud()
219 if (terminal_speeds[i].baud == baud) { in parse_int_to_baud()
220 return terminal_speeds[i].speed; in parse_int_to_baud()