Searched refs:baud (Results 1 - 24 of 24) sorted by relevance

/freebsd-9.3-release/crypto/openssh/
H A Dttymodes.c71 * Converts POSIX speed_t to a baud rate. The values of the
161 * Converts a numeric baud rate to a POSIX speed_t.
164 baud_to_speed(int baud) argument
166 switch (baud) {
284 int baud; local
312 /* Store input and output baud rates. */
313 baud = speed_to_baud(cfgetospeed(&tio));
315 buffer_put_int(&buf, baud);
316 baud = speed_to_baud(cfgetispeed(&tio));
318 buffer_put_int(&buf, baud);
352 int opcode, baud; local
[all...]
/freebsd-9.3-release/sys/mips/nlm/hal/
H A Duart.h51 #define BAUD_DIVISOR(baud) (BASE_BAUD / baud)
99 nlm_uart_set_baudrate(uint64_t base, int baud) argument
105 /* enable divisor register, and write baud values */
108 (BAUD_DIVISOR(baud) & 0xff));
110 ((BAUD_DIVISOR(baud) >> 8) & 0xff));
151 nlm_uart_init(uint64_t base, int baud, int databits, int stopbits, argument
177 nlm_uart_set_baudrate(base, baud);
/freebsd-9.3-release/sbin/sconfig/
H A Dsconfig.c68 "\t<number>\t\t -- baud rate, internal clock\n"
524 format_e3_cv (unsigned long cv, unsigned long baud, unsigned long atime) argument
528 if (!cv || !baud || !atime)
531 sprintf (buf, "%10lu (%.1e)", cv, (double)cv/baud/atime);
540 long baud; local
546 ioctl (fd, SERIAL_GETBAUD, &baud) < 0)
553 format_e3_cv (st.ccv, baud, st.cursec));
561 format_e3_cv (st.tcv, baud, st.totsec));
570 format_e3_cv (st.icv[i], baud, 15*60));
588 long baud, timeslot local
737 long baud, timeslots, mtu, rqlen; local
[all...]
/freebsd-9.3-release/sys/dev/ce/
H A Dceddk.h119 unsigned long baud; member in struct:_ce_chan_t
186 void ce_set_baud (ce_chan_t *c, unsigned long baud);
H A Dceddk.c935 void ce_set_baud (ce_chan_t *c, unsigned long baud) argument
941 unsigned long kbps = (baud + 32000) / 64000 * 64;
944 baud == c->baud || b->cr.pending >= CONFREQSZ)
967 /* _ce_set_ts () will set proper baud */
977 c->baud = baud;
1135 c->baud = nts*64000;
H A Dif_ce.c1605 *(long*)data = c->baud;
2265 if (c->baud)
2266 length += sprintf (s + length, " %ld", c->baud);
/freebsd-9.3-release/sys/dev/uart/
H A Duart_cpu_sparc64.c208 int baud, bits, error, range, space, stop; local
296 if (sscanf(buf, "%d,%d,%c,%d,%c", &baud, &bits, &par, &stop, &flag)
299 di->baudrate = baud;
/freebsd-9.3-release/usr.bin/tip/libacu/
H A Dcourier.c186 int baud; member in struct:baud_msg
242 cfsetospeed(&cntrl, bm->baud);
243 cfsetispeed(&cntrl, bm->baud);
H A Dt3000.c192 int baud; member in struct:tbaud_msg
257 cfsetospeed(&cntrl, bm->baud);
258 cfsetispeed(&cntrl, bm->baud);
/freebsd-9.3-release/libexec/getty/
H A Dsubr.c597 * baud rate. This string indicates the user's actual speed.
620 char c, baud[20]; local
626 for (len = 0; len < sizeof (baud) - 1; len++) {
634 baud[len] = c;
636 baud[len] = '\0';
638 if (strcmp(ps->ps_baud, baud) == 0) {
647 * This auto-baud speed select mechanism is written for the Micom 600
657 const char *type = "9600-baud";
675 case 0200: /* 300-baud */
676 type = "300-baud";
[all...]
/freebsd-9.3-release/sys/dev/usb/serial/
H A Ducycom.c439 ucycom_cfg_write(struct ucycom_softc *sc, uint32_t baud, uint8_t cfg) argument
458 sc->sc_temp_cfg[0] = (baud & 0xff);
459 sc->sc_temp_cfg[1] = (baud >> 8) & 0xff;
460 sc->sc_temp_cfg[2] = (baud >> 16) & 0xff;
461 sc->sc_temp_cfg[3] = (baud >> 24) & 0xff;
486 * Stock chips only support standard baud rates in the 600 - 57600
H A Dumct.c456 umct_calc_baud(uint32_t baud) argument
458 switch (baud) {
/freebsd-9.3-release/sys/dev/ctau/
H A Dctddk.c151 * Set up baud rate.
153 static void ct_chan_baud (ct_chan_t *c, unsigned long baud) argument
155 c->baud = baud;
156 if (baud) {
165 void ct_set_baud (ct_chan_t *c, unsigned long baud) argument
172 if (baud >= 2048000) r = 2048;
173 else if (baud >= 1024000) r = 1024;
174 else if (baud >= 512000) r = 512;
175 else if (baud >
[all...]
H A Dctau.c66 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
1574 ct_compute_clock(long hz, long baud, int *txbr, int *tmc) argument
[all...]
H A Dctddk.h288 #define CLK_INT 0x40 /* internal baud rate generator */
370 unsigned long baud; /* data rate */ member in struct:_ct_chan_t
515 void ct_compute_clock (long hz, long baud, int *txbr, int *tmc);
572 void ct_set_baud (ct_chan_t *c, unsigned long baud);
/freebsd-9.3-release/sys/dev/cp/
H A Dcpddk.h103 unsigned long baud; /* data rate, bps */ member in struct:_cp_chan_t
324 void cp_set_baud (cp_chan_t *c, int baud);
H A Dif_cp.c1239 *(long*)data = c->baud;
2037 if (c->baud)
2038 length += sprintf (s + length, " %ld", c->baud);
/freebsd-9.3-release/sys/dev/cx/
H A Dcxddk.h457 void cx_set_baud (cx_chan_t *, unsigned long baud);
486 void cx_set_async_param (cx_chan_t *c, int baud, int bits, int parity,
H A Dcxddk.c278 /* Receive baud - internal */
284 /* Receive baud - external */
290 /* Transmit baud - internal */
300 /* Transmit baud - external */
305 /* Receive baud - external */
712 void cx_set_async_param (cx_chan_t *c, int baud, int bits, int parity, argument
754 if (baud) {
755 c->rxbaud = c->txbaud = baud;
/freebsd-9.3-release/sys/dev/rp/
H A Drp.c1011 int baud; member in struct:__anon8904
1025 static int rp_convert_baud(int baud) { argument
1028 for (i = 0; baud_table[i].baud >= 0; i++) {
1029 if (baud_table[i].baud == baud)
1074 /* Set baud rate ----- we only pay attention to ispeed */
/freebsd-9.3-release/sys/i386/include/
H A Dcserial.h145 * Query/set the synchronization mode and baud rate.
146 * If baud==0 then the external clock is used.
458 void (*set_async_param) (chan_t *h, int baud, int bits, int parity,
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_chu.c209 #define SPEED232 B300 /* uart speed (300 baud) */
213 #define SPEED232 B300 /* UART speed (300 baud) */
392 double baud; /* baud interval */ member in struct:chuunit
720 * This routine implements a 300-baud Bell 103 modem with mark 2225 Hz
723 * decoder samples the baseband signal at eight times the baud rate and
841 up->baud += 1. / SECOND;
842 if (up->baud > 1. / (BAUD * 8.)) {
843 up->baud -= 1. / (BAUD * 8.);
H A Drefclock_msfees.c145 #define SPEED232 B9600 /* 9600 baud */
152 #define BITS_TO_L_FP(bits, baud) \
153 (((((bits)*2 +1) << (FRACTION_PREC-SAFETY_SHIFT)) / (2*baud)) << SAFETY_SHIFT)
/freebsd-9.3-release/contrib/ncurses/include/
H A DCaps.keys269 padding_baud_rate pb num pb - - YB-GE lowest baud rate where padding needed

Completed in 304 milliseconds