Lines Matching refs:baud
96 void gdbstub_io_set_baud(unsigned baud) in gdbstub_io_set_baud() argument
105 if (!baud) { in gdbstub_io_set_baud()
106 baud = 9600; in gdbstub_io_set_baud()
107 } else if (baud == 134) { in gdbstub_io_set_baud()
108 baud = 269; /* 134 is really 134.5 */ in gdbstub_io_set_baud()
118 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud()
123 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud()
128 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud()
136 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud()
141 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud()
146 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud()
153 baud = 9600; in gdbstub_io_set_baud()
157 gdbstub_port->uart.timeout = (2 * bits * HZ) / baud; in gdbstub_io_set_baud()