Lines Matching refs:baud
72 * Converts POSIX speed_t to a baud rate. The values of the
162 * Converts a numeric baud rate to a POSIX speed_t.
165 baud_to_speed(int baud)
167 switch (baud) {
284 int baud;
312 /* Store input and output baud rates. */
313 baud = speed_to_baud(cfgetospeed(&tio));
315 buffer_put_int(&buf, baud);
316 baud = speed_to_baud(cfgetispeed(&tio));
318 buffer_put_int(&buf, baud);
352 int opcode, baud;
390 baud = packet_get_int();
392 cfsetispeed(&tio, baud_to_speed(baud)) == -1)
393 error("cfsetispeed failed for %d", baud);
400 baud = packet_get_int();
402 cfsetospeed(&tio, baud_to_speed(baud)) == -1)
403 error("cfsetospeed failed for %d", baud);