/freebsd-9.3-release/crypto/openssh/ |
H A D | ttymodes.c | 71 * 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 D | uart.h | 51 #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 D | sconfig.c | 68 "\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 D | ceddk.h | 119 unsigned long baud; member in struct:_ce_chan_t 186 void ce_set_baud (ce_chan_t *c, unsigned long baud);
|
H A D | ceddk.c | 935 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 D | if_ce.c | 1605 *(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 D | uart_cpu_sparc64.c | 208 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 D | courier.c | 186 int baud; member in struct:baud_msg 242 cfsetospeed(&cntrl, bm->baud); 243 cfsetispeed(&cntrl, bm->baud);
|
H A D | t3000.c | 192 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 D | subr.c | 597 * 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 D | ucycom.c | 439 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 D | umct.c | 456 umct_calc_baud(uint32_t baud) argument 458 switch (baud) {
|
/freebsd-9.3-release/sys/dev/ctau/ |
H A D | ctddk.c | 151 * 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 D | ctau.c | 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 1574 ct_compute_clock(long hz, long baud, int *txbr, int *tmc) argument [all...] |
H A D | ctddk.h | 288 #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 D | cpddk.h | 103 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 D | if_cp.c | 1239 *(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 D | cxddk.h | 457 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 D | cxddk.c | 278 /* 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 D | rp.c | 1011 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 D | cserial.h | 145 * 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 D | refclock_chu.c | 209 #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 D | refclock_msfees.c | 145 #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 D | Caps.keys | 269 padding_baud_rate pb num pb - - YB-GE lowest baud rate where padding needed
|