Lines Matching defs:baud
87 ** Description helper function converts USERIAL baud rates into TCIO
88 ** conforming baud rates
93 uint8_t userial_to_tcio_baud(uint8_t cfg_baud, uint32_t *baud)
96 *baud = B115200;
98 *baud = B4000000;
100 *baud = B3000000;
102 *baud = B2000000;
104 *baud = B1500000;
106 *baud = B1000000;
108 *baud = B921600;
110 *baud = B460800;
112 *baud = B230400;
114 *baud = B57600;
116 *baud = B19200;
118 *baud = B9600;
120 *baud = B1200;
122 *baud = B600;
124 HILOGE("userial vendor open: unsupported baud idx %i", cfg_baud);
125 *baud = B115200;
197 uint32_t baud;
204 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) {
248 cfsetospeed(&vnd_userial.termios, baud);
249 cfsetispeed(&vnd_userial.termios, baud);
296 ** Description Set new baud rate