Lines Matching refs:baud
66 long ct_baud = 256000; /* default baud rate */
544 /* External clock mode -- set zero baud rate. */
546 c->baud = 0;
547 } else if (c->baud == 0) {
548 /* No baud rate in internal clock mode -- set default values. */
550 c->baud = 9600;
552 c->baud = 64000;
563 /* Compute the baud value. */
574 c->baud = 0;
577 c->baud += 64000;
578 c->gopt.rate = c->baud / 1000;
594 c->baud = c->gopt.rate * 1000L;
608 * Reinitialize all channels, using new options and baud rate.
620 c->baud = ct_baud;
807 SET (AM_BCR, 0); /* disable baud rate generator */
1102 if (c->baud > 1024000) {
1103 /* turn off DPLL if the baud rate is too high */
1109 ct_compute_clock (c->board->osc, c->baud * 8, &rxbr, &tmc);
1113 ct_compute_clock (c->board->osc, c->baud * 8, &rxbr, &tmc);
1117 ct_compute_clock (c->board->osc, c->baud, &rxbr, &tmc);
1188 speed = (c->hopt.txs == CLK_INT) ? c->baud : 0;
1574 void ct_compute_clock (long hz, long baud, int *txbr, int *tmc)
1576 if (baud < 100)
1577 baud = 100;
1579 if (4*baud > 3*hz)
1582 while (((hz / baud) >> ++*txbr) > 256)
1584 *tmc = (((2 * hz / baud) >> *txbr) + 1) / 2;