Lines Matching defs:baud
96 * set up the GDB stub serial port baud rate timers
98 void gdbstub_io_set_baud(unsigned baud)
107 if (!baud) {
108 baud = 9600;
109 } else if (baud == 134) {
110 baud = 269; /* 134 is really 134.5 */
120 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1;
125 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1;
130 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1;
138 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1;
143 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1;
148 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1;
155 baud = 9600;
159 gdbstub_port->uart.timeout = (2 * bits * HZ) / baud;
162 /* set the timer to produce the required baud rate */