Home | History | Annotate | Download | only in src

Lines Matching refs:baud

67 ** Description     helper function converts USERIAL baud rates into TCIO
68 ** conforming baud rates
73 uint8_t userial_to_tcio_baud(uint8_t cfg_baud, uint32_t *baud)
76 *baud = B115200;
78 *baud = B4000000;
80 *baud = B3000000;
82 *baud = B2000000;
84 *baud = B1000000;
86 *baud = B921600;
88 *baud = B460800;
90 *baud = B230400;
92 *baud = B57600;
94 *baud = B19200;
96 *baud = B9600;
98 *baud = B1200;
100 *baud = B600;
103 ALOGE( "userial vendor open: unsupported baud idx %i", cfg_baud);
104 *baud = B115200;
115 ** Description helper function converts TCIO baud rate into integer
120 int userial_tcio_baud_to_int(uint32_t baud)
124 switch (baud)
166 ALOGE( "%s: unsupported baud %d", __FUNCTION__, baud);
230 uint32_t baud;
237 if (!userial_to_tcio_baud(p_cfg->baud, &baud))
299 cfsetospeed(&vnd_userial.termios, baud);
300 cfsetispeed(&vnd_userial.termios, baud);
347 ** Description Set new baud rate
370 ** Description Get current baud rate