Home
last modified time | relevance | path

Searched refs:baudrate (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosacpi.c97 unsigned baudrate; in biosacpi_setup_spcr() local
107 baudrate = 0; in biosacpi_setup_spcr()
110 baudrate = 9600; in biosacpi_setup_spcr()
113 baudrate = 19200; in biosacpi_setup_spcr()
116 baudrate = 57600; in biosacpi_setup_spcr()
119 baudrate = 115200; in biosacpi_setup_spcr()
131 if (baudrate == 0) in biosacpi_setup_spcr()
132 baudrate = comc_getspeed(spcr->SerialPort.Address); in biosacpi_setup_spcr()
134 if (asprintf(&value, "%u,8,N,1,-", baudrate) < 0) in biosacpi_setup_spcr()
/illumos-gate/usr/src/boot/efi/libefi/
H A Defiserialio.c632 port->baudrate = port->io.sio->Mode->BaudRate; in efi_serial_create_port()
876 (void) asprintf(&buf, "%ju,%d,%c,%s,-", sp->baudrate, sp->databits, in efi_serial_asprint_mode()
885 uint64_t baudrate; in efi_serial_parse_mode() local
898 baudrate = n; in efi_serial_parse_mode()
970 sp->baudrate = baudrate; in efi_serial_parse_mode()
1062 uint64_t baudrate; in efi_serial_setup() local
1078 if (sp->baudrate == sp->io.sio->Mode->BaudRate) { in efi_serial_setup()
1079 baudrate = 0; in efi_serial_setup()
1081 baudrate = sp->baudrate; in efi_serial_setup()
1116 status = sp->io.sio->SetAttributes(sp->io.sio, baudrate, in efi_serial_setup()
H A Defiisaio.c656 sp->baudrate = COMC_DIV2BPS(divisor); in efi_isa_getspeed()
674 sp->baudrate = COMSPEED; in efi_isa_probe()
867 (void) asprintf(&buf, "%ju,%d,%c,%s,-", sp->baudrate, in efi_isa_asprint_mode()
876 uint64_t baudrate; in efi_isa_parse_mode() local
889 baudrate = n; in efi_isa_parse_mode()
962 sp->baudrate = baudrate; in efi_isa_parse_mode()
1091 if (sp->baudrate == 0) in efi_isa_setup()
1141 data = COMC_BPS(sp->baudrate) & 0xff; in efi_isa_setup()
1147 data = COMC_BPS(sp->baudrate) >> 8; in efi_isa_setup()
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.cat.c377 #if defined(baudrate)
378 #undef baudrate
381 int baudrate();
535 effective_rate = baudrate() / 10; /* okay for most bauds */ in main()
685 baudrate() in baudrate() function
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c120 ((line != NULL) ? baudrate : (termio.c_cflag & CBAUD)); in setupline()
132 ((line != NULL) ? baudrate : cfgetospeed(&termios)); in setupline()
390 ttydev.ispeed = baudrate; in setupline()
391 ttydev.ospeed = baudrate; in setupline()
630 sgtty.sg_ispeed = baudrate; in setupline()
631 sgtty.sg_ospeed = baudrate; in setupline()
H A Difdef.h88 extern short baudrate; /* printer is running at this speed */
H A Dpostio.c171 short baudrate = BAUDRATE; /* and running at this baud rate */ variable
327 baudrate = getbaud(optarg); in options()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dbaudrate.c50 baudrate(void) in baudrate() function
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddelay.c57 baud = baudrate(); in delay_output()
H A Dbaudrate.c84 baudrate(void) in baudrate() function
H A Dtputs.c88 baud = baudrate();
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddelay.c59 baud = baudrate();
H A Dbaudrate.c84 baudrate() in baudrate() function
H A Dtputs.c85 baud = baudrate();
/illumos-gate/usr/src/uts/common/io/
H A Dasy.c780 asy_set_baudrate(const struct asycom *asy, int baudrate) in asy_set_baudrate() argument
784 if (baudrate == 0) in asy_set_baudrate()
787 if (baudrate >= ARRAY_SIZE(asy_baud_tab)) in asy_set_baudrate()
790 tcr = asy_baud_tab[baudrate].asy_tcr; in asy_set_baudrate()
810 baudrate, asy_get(asy, ASY_CKS), asy_get(asy, ASY_TCR)); in asy_set_baudrate()
815 baudrate, asy_baud_tab[baudrate].asy_dlh, in asy_set_baudrate()
816 asy_baud_tab[baudrate].asy_dll); in asy_set_baudrate()
820 asy_put(asy, ASY_DLL, asy_baud_tab[baudrate].asy_dll); in asy_set_baudrate()
821 asy_put(asy, ASY_DLH, asy_baud_tab[baudrate].asy_dlh); in asy_set_baudrate()
2681 int baudrate, c_flag; in asy_program() local
[all …]
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c1333 int baudrate, c_flag; in asy_program() local
1347 baudrate = async->async_ttycommon.t_cflag & CBAUD; in asy_program()
1349 baudrate += 16; in asy_program()
1352 if (baudrate >= N_SU_SPEEDS) baudrate = B9600; in asy_program()
1360 if (((baudrate > 0) && (asyspdtab[baudrate] == 0)) || in asy_program()
1361 (baudtable[baudrate] > asy->asy_speed_cap)) { in asy_program()
1367 baudrate = B9600; in asy_program()
1454 if (baudrate != 0) { in asy_program()
1456 OUTB(DAT, (asyspdtab[baudrate] * in asy_program()
1458 OUTB(ICR, ((asyspdtab[baudrate] * in asy_program()
[all …]
/illumos-gate/usr/src/ucbcmd/tset/
H A Dtset.c354 int baudrate; member
700 baudrate(p); in main()
894 if (speeds[i].baudrate == PadBaud) { in main()
1510 baudrate(char *p) in baudrate() function
/illumos-gate/usr/src/boot/efi/include/
H A Defilib.h56 uint64_t baudrate; member
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c3104 int baudrate; in usbser_port_program() local
3111 baudrate = tp->t_cflag & CBAUD; in usbser_port_program()
3113 baudrate += 16; in usbser_port_program()
3121 if (baudrate > CBAUD) { in usbser_port_program()
3124 (((baudrate - CBAUD - 1) << IBSHIFT) & CIBAUD); in usbser_port_program()
3127 tp->t_cflag |= ((baudrate << IBSHIFT) & CIBAUD); in usbser_port_program()
3150 pe[0].val.ui = baudrate; in usbser_port_program()
3178 if (baudrate == 0) { in usbser_port_program()
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_async.c2978 int wr3, wr4, wr5, wr15, speed, baudrate, flags = 0; in zsa_program() local
2980 if ((baudrate = SPEED(za->za_ttycommon.t_cflag)) == 0) { in zsa_program()
2993 if (baudrate > CBAUD) { in zsa_program()
2996 (((baudrate - CBAUD - 1) << IBSHIFT) & CIBAUD); in zsa_program()
3000 ((baudrate << IBSHIFT) & CIBAUD); in zsa_program()
3017 if (zsb134_weird && baudrate == B134) { /* what a joke! */ in zsa_program()
3105 speed != zs_speeds[baudrate]) { in zsa_program()
3114 speed = zs_speeds[baudrate]; in zsa_program()
/illumos-gate/usr/src/lib/libxcurses2/
H A DMakefile.com44 baudrate.o getn_ws.o newterm.o tigetnum.o wgetch.o \
/illumos-gate/usr/src/lib/libxcurses/
H A DMakefile.com46 baudrate.o getn_ws.o newterm.o tigetnum.o wgetch.o \
/illumos-gate/usr/src/lib/libxcurses/src/
H A Dmapfile-vers73 baudrate;
/illumos-gate/usr/src/ucbhead/
H A Dcurses.h182 #define baudrate() (_tty.sg_ospeed) macro
/illumos-gate/usr/src/lib/libxcurses2/src/
H A Dmapfile-vers75 baudrate;

12