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

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dbaudrate.c55 return ((int) SP->baud);
H A Ddraino.c71 ncneeded = SP->baud * ms / (10 * 1000);
H A Dnewscreen.c168 SP->baud = baud_convert[_BRS(PROGTTYS)];
170 SP->baud = baud_convert[_BR(PROGTTY)];
H A Dcurshdr.h132 long baud; /* baud rate of this tty */ member in struct:screen
194 /* Getting the baud rate is different on the two systems. */
H A Dmvcur.c118 if (cm < LARGECOST && SP->baud >= 2400 &&
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddelay.c55 unsigned number, baud; local
61 baud = baudrate();
66 number = (baud/10 * ms)/1000;
H A Dtputs.c81 int i, baud, len, null, number; local
87 baud = baudrate();
102 if (padding_baud_rate && baud >= padding_baud_rate
104 number = (baud/10 * number)/1000;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddelay.c57 unsigned int number, baud; local
59 baud = baudrate();
64 number = (baud / 10 * ms) / 1000;
H A Dtputs.c88 int i, baud, len, null, number; local
90 baud = baudrate();
105 if (padding_baud_rate && baud >= padding_baud_rate &&
108 if (baud >= padding_baud_rate) {
110 number = (baud / 8 * number) / 10000;
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c382 ulong_t baud; local
399 baud = ASY110;
401 baud = ASY150;
403 baud = ASY300;
405 baud = ASY600;
407 baud = ASY1200;
409 baud = ASY2400;
411 baud = ASY4800;
413 baud = ASY19200;
415 baud
[all...]
/illumos-gate/usr/src/head/
H A Ddial.h57 #define ILL_BD (-4) /* illegal baud-rate */
63 #define NO_BD_A (-10) /* no device available at requested baud */
64 #define NO_BD_K (-11) /* no device known at requested baud */
70 int baud; /* unused */ member in struct:__anon2247
/illumos-gate/usr/src/cmd/bnu/
H A Ddial.h55 #define ILL_BD (-4) /* illegal baud-rate */
61 #define NO_BD_A (-10) /* no device available at requested baud */
62 #define NO_BD_K (-11) /* no device known at requested baud */
68 int baud; /* unused */ member in struct:__anon46
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h56 extern int baud; /* Output baud rate */
/illumos-gate/usr/src/cmd/mailx/
H A Dinit.c67 int baud; /* Output baud rate */ variable
H A Dmain.c118 baud = tbuf.c_cflag & CBAUD;
120 baud = B9600;
123 baud = cfgetospeed(&tbufs);
H A Dcmd1.c154 * If baud rate < 1200, use 5
155 * If baud rate = 1200, use 10
156 * If baud rate > 1200, use 20
169 else if (baud < B1200)
171 else if (baud == B1200)
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c251 unsigned com, baud, bits, stop; local
274 if (sscanf(metal_serial, "%u,%u,%c,%u,%c", &baud, &bits, &parity, &stop,
284 /* validate baud rate */
285 switch (baud) {
307 (void) snprintf(com_rate, COM_RATE_LEN, "com%d=%u,%u%c%u", com, baud,
380 unsigned baud; local
451 if (sscanf(value, "%u,%c%c%c", &baud, &bits, &parity,
462 /* validate baud rate */
463 switch (baud) {
485 (void) snprintf(ser, SER_LEN, "%u,%c,%c,%c,-", baud,
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Drmc_comm.h90 * Min/max/default baud rates, and a macro to convert from a baud
91 * rate to the number (divisor) to put in the baud rate registers
158 int baud; member in struct:rmc_comm_state
H A Drmc_comm_hproto.h413 rsci32 baud; member in struct:rsc_serial_test
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmc_comm.c499 * Select the proper baud rate; if the value is invalid
501 * "baud" property is set to some silly value), we assume
504 if (rcs->baud < SIO_BAUD_MIN || rcs->baud > SIO_BAUD_MAX) {
508 divisor = SIO_BAUD_TO_DIVISOR(rcs->baud) *
812 rcs->baud = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
813 "baud-rate", 0);
818 * the baud divisor factor tells us how to scale the result of
823 DDI_PROP_DONTPASS, "baud-divisor-factor", SIO_BAUD_DIVISOR_MIN);
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.c440 int baud, i; local
443 * termios supports different baud rates and flow control types for
450 /* baud rate - see baudmap above */
454 baud = strtol(w, NULL, 10);
457 if (baudmap[i] == baud) {
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c176 * baud code into baud rate
657 int baud; local
676 * including: baud rate, stop bit, parity type and data bit
693 "pl2303_set_port_params: bad baud %d", ui);
700 baud = pl2303_speedtab[ui];
701 bp->b_rptr[0] = baud & 0xff;
702 bp->b_rptr[1] = (baud >> 8) & 0xff;
703 bp->b_rptr[2] = (baud >> 16) & 0xff;
704 bp->b_rptr[3] = (baud >> 2
[all...]
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_hdlc.c1902 * Sets Clock sources, baud rate, modes and miscellaneous parameters.
1911 register int baud = 0; local
1929 baud++;
1949 baud++;
1960 if (baud && pll) {
1974 if (baud && (speed = sm->sm_baudrate)) {
/illumos-gate/usr/src/uts/sun4u/lw2plus/io/
H A Dlombus.c191 * Min/max/default baud rates, and a macro to convert from a baud
192 * rate to the number (divisor) to put in the baud rate registers
271 int baud; member in struct:lombus_state
1508 * Select the proper baud rate; if the value is invalid
1510 * "baud" property is set to some silly value), we assume
1513 if (ssp->baud < SIO_BAUD_MIN || ssp->baud > SIO_BAUD_MAX)
1516 divisor = SIO_BAUD_TO_DIVISOR(ssp->baud);
2071 ssp->baud
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_termio.c149 termio_attr_val_t ti_pb; /* Lowest baud rate that requires pad */
250 uint_t tio_usecpc; /* Usecs per char at given baud rate */
740 * We use this table of bauds to convert the baud constant returned by
741 * the terminal code to a baud rate in characters per second. The
746 * example, at 300 baud (B300 = 7), we look up baud[7] = 300, and then
749 static const uint_t baud[] = { local
839 if (speed >= sizeof (baud) / sizeof (baud[0])) {
841 "9600 baud\
[all...]

Completed in 442 milliseconds