| /openbsd-src/distrib/special/more/ |
| H A D | tputs.c | 35 #undef ospeed 47 short ospeed; variable 102 if (ospeed <= 0 || ospeed >= (sizeof tmspc10 / sizeof tmspc10[0])) in tputs() 112 mspc10 = tmspc10[ospeed]; in tputs()
|
| /openbsd-src/usr.bin/mail/ |
| H A D | main.c | 314 speed_t ospeed; in setscreensize() local 319 ospeed = 9600; in setscreensize() 321 ospeed = cfgetospeed(&tbuf); in setscreensize() 322 if (ospeed < B1200) in setscreensize() 324 else if (ospeed == B1200) in setscreensize()
|
| /openbsd-src/lib/libcurses/tinfo/ |
| H A D | lib_baudrate.c | 288 ospeed = (NCURSES_OSPEED) _nc_ospeed(ret); in NCURSES_SP_NAME() 296 ospeed = (NCURSES_OSPEED) _nc_ospeed(result); in NCURSES_SP_NAME() 299 ospeed = (NCURSES_OSPEED) cfgetospeed(&(TerminalOf(SP_PARM)->Nttyb)); in NCURSES_SP_NAME() 301 ospeed = (NCURSES_OSPEED) TerminalOf(SP_PARM)->Nttyb.sg_ospeed; in NCURSES_SP_NAME() 303 result = _nc_baudrate(ospeed); in NCURSES_SP_NAME()
|
| H A D | lib_cur_term.c | 101 ospeed = (NCURSES_OSPEED) _nc_ospeed(termp->_baudrate); in NCURSES_SP_NAME() 109 ospeed = (NCURSES_OSPEED) _nc_ospeed(termp->_baudrate); in NCURSES_SP_NAME()
|
| H A D | lib_tputs.c | 60 NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed = 0; /* used by termcap library */ 104 nullcount = (ms * _nc_baudrate(ospeed)) / (BAUDBYTE * 1000); in NCURSES_SP_NAME() 332 && (_nc_baudrate(ospeed) >= padding_baud_rate); in NCURSES_SP_NAME()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/podlators/lib/Pod/Text/ |
| H A D | Termcap.pm | 35 my ($ospeed, $term, $termios); 41 $ospeed = 9600; 44 $ospeed = $termios->getospeed || 9600; 50 my $term = Tgetent Term::Cap { TERM => undef, OSPEED => $ospeed };
|
| /openbsd-src/usr.bin/tset/ |
| H A D | tset.c | 510 match = ((int) ospeed == mapp->speed); in mapped() 513 match = ((int) ospeed >= mapp->speed); in mapped() 516 match = ((int) ospeed > mapp->speed); in mapped() 519 match = ((int) ospeed <= mapp->speed); in mapped() 522 match = ((int) ospeed < mapp->speed); in mapped() 861 ospeed = (NCURSES_OSPEED) cfgetospeed(&mode); in main() 863 ospeed = 0; in main() 865 ospeed = (NCURSES_OSPEED) mode.sg_ospeed; in main()
|
| /openbsd-src/bin/stty/ |
| H A D | print.c | 53 int cnt, ispeed, ospeed; in print() local 75 ospeed = cfgetospeed(tp); in print() 76 if (ispeed != ospeed) in print() 78 printf("ispeed %d baud; ospeed %d baud;", ispeed, ospeed); in print()
|
| /openbsd-src/sys/arch/sparc64/dev/ |
| H A D | comms_ebus.c | 354 int ospeed; in comms_speed_change() local 362 ospeed = comspeed(BAUD_BASE, bps); in comms_speed_change() 368 COM_WRITE(sc, com_dlbl, ospeed); in comms_speed_change() 369 COM_WRITE(sc, com_dlbh, ospeed >> 8); in comms_speed_change()
|
| H A D | sab.c | 970 int s, ospeed; in sabttyparam() local 974 ospeed = sabtty_speed(t->c_ospeed); in sabttyparam() 975 if (ospeed < 0 || (t->c_ispeed && t->c_ispeed != t->c_ospeed)) in sabttyparam() 1025 if (ospeed != 0) { in sabttyparam() 1026 SAB_WRITE(sc, SAB_BGR, ospeed & 0xff); in sabttyparam() 1029 r |= (ospeed >> 2) & (SAB_CCR2_BR9 | SAB_CCR2_BR8); in sabttyparam()
|
| /openbsd-src/gnu/usr.bin/texinfo/info/ |
| H A D | terminal.c | 44 short ospeed; /* Terminal output baud rate */ variable 561 ospeed = cfgetospeed (&ti); in terminal_initialize_terminal() 563 ospeed = B9600; in terminal_initialize_terminal() 571 ospeed = sg.sg_ospeed; in terminal_initialize_terminal() 573 ospeed = B9600; in terminal_initialize_terminal() 576 ospeed = B9600; in terminal_initialize_terminal()
|
| /openbsd-src/sys/arch/riscv64/dev/ |
| H A D | sfuart.c | 285 int ospeed = t->c_ospeed; in sfuart_param() local 289 if (ospeed < 0 || (t->c_ispeed && t->c_ispeed != t->c_ospeed)) in sfuart_param() 301 if (ospeed != 0) { in sfuart_param() 315 div = (sc->sc_frequency + ospeed / 2) / ospeed; in sfuart_param()
|
| /openbsd-src/gnu/lib/libreadline/ |
| H A D | tcap.h | 47 extern short ospeed;
|
| /openbsd-src/lib/libcurses/ |
| H A D | termcap.h | 60 extern NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed;
|
| /openbsd-src/sys/dev/ic/ |
| H A D | com.c | 513 int ospeed; in com_resume() local 546 ospeed = comspeed(sc->sc_frequency, tp->t_ospeed); in com_resume() 548 if (ospeed != 0) { in com_resume() 550 com_write_reg(sc, com_dlbl, ospeed); in com_resume() 551 com_write_reg(sc, com_dlbh, ospeed >> 8); in com_resume() 771 int ospeed = comspeed(sc->sc_frequency, t->c_ospeed); in comparam() local 776 if (ospeed < 0 || (t->c_ispeed && t->c_ispeed != t->c_ospeed)) in comparam() 805 if (ospeed == 0) { in comparam() 817 if (ospeed != 0) { in comparam() 840 com_write_reg(sc, com_dlbl, ospeed); in comparam() [all …]
|
| H A D | pluart.c | 305 int ospeed = t->c_ospeed; in pluart_param() local 333 if (ospeed == 0) { in pluart_param() 337 if (sc->sc_clkfreq != 0 && ospeed != 0 && ospeed != tp->t_ospeed) { in pluart_param() 376 div = 4 * sc->sc_clkfreq / ospeed; in pluart_param()
|
| H A D | z8530tty.c | 894 int ospeed; in zsparam() local 899 ospeed = t->c_ospeed; in zsparam() 903 if (ospeed < 0) in zsparam() 905 if (t->c_ispeed && t->c_ispeed != ospeed) in zsparam() 923 if (tp->t_ospeed == ospeed && in zsparam() 932 error = zs_set_speed(cs, ospeed); in zsparam() 1000 tp->t_ospeed = ospeed; in zsparam()
|
| /openbsd-src/libexec/getty/ |
| H A D | main.c | 461 speed_t ospeed = cfgetospeed(&tmode); in putpad() 480 if (pad == 0 || ospeed <= 0) in putpad() 489 pad = (pad * ospeed + 50000) / 100000; in putpad() 460 speed_t ospeed = cfgetospeed(&tmode); putpad() local
|
| /openbsd-src/gnu/usr.bin/texinfo/ |
| H A D | configure.ac | 155 short ospeed; 158 /* Make sure all variables actually exist. AIX 4.3 has ospeed but no BC. 163 return ospeed != 0;
|
| /openbsd-src/sys/dev/pci/ |
| H A D | cz.c | 1310 int ospeed, cflag; in czttyparam() local 1312 ospeed = t->c_ospeed; in czttyparam() 1316 if (ospeed < 0) in czttyparam() 1318 if (t->c_ispeed && t->c_ispeed != ospeed) in czttyparam() 1331 if (tp->t_ospeed == ospeed && in czttyparam() 1398 sc->sc_chanctl_comm_baud = ospeed; in czttyparam()
|
| /openbsd-src/sys/dev/fdt/ |
| H A D | amluart.c | 299 int ospeed = t->c_ospeed; in amluart_param() local 302 if (ospeed < 0 || (t->c_ispeed && t->c_ispeed != t->c_ospeed)) in amluart_param() 314 if (ospeed != 0) { in amluart_param()
|
| H A D | imxuart.c | 266 int ospeed = t->c_ospeed; in imxuart_param() local 293 if (ospeed == 0) { in imxuart_param() 297 if (ospeed != 0) { in imxuart_param()
|
| H A D | exuart.c | 413 int ospeed = t->c_ospeed; in exuart_param() local 455 if (ospeed == 0) { in exuart_param() 459 if (ospeed != 0) { in exuart_param()
|
| /openbsd-src/usr.bin/telnet/ |
| H A D | sys_bsd.c | 366 TerminalSpeeds(long *ispeed, long *ospeed) in TerminalSpeeds() argument 376 *ospeed = out; in TerminalSpeeds()
|
| /openbsd-src/sys/arch/sh/dev/ |
| H A D | scif.c | 538 int ospeed = t->c_ospeed; in scifparam() local 542 if (ospeed < 0) in scifparam() 583 scif_brr_write(divrnd(sh_clock_get_pclock(), 32 * ospeed) -1); in scifparam()
|