| /onnv/onnv-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
| baudrate.c | 47 speed_t speed; member in struct:__anon4318 72 * Return the output speed of the terminal. The number returned is in 87 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) 88 if (speeds[i].speed == value)
|
| /onnv/onnv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
| baudrate.c | 52 speed_t speed; member in struct:__anon4331 77 * Return the output speed of the terminal. The number returned is in 88 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) 89 if (speeds[i].speed == value)
|
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| dial.c | 60 * int speed; 212A modem: low=300, high=1200 61 * negative for "Any" speed 86 * DV_NT_E -12: requested speed does not match 171 char speed[10]; /* character value of speed passed to dial */ local 191 if (call.speed <= 0) 192 strcpy(speed,"Any"); 194 sprintf(speed,"%d",call.speed); 205 alt[F_CLASS] = speed; [all...] |
| dial.h | 63 #define DV_NT_E (-12) /* requested speed does not match */ 69 int speed; /* 212A modem: low=300, high=1200 */ member in struct:__anon47
|
| /onnv/onnv-gate/usr/src/lib/libnsl/dial/ |
| dial.c | 62 * int speed; 212A modem: low=300, high=1200 63 * negative for "Any" speed 88 * DV_NT_E -12: requested speed does not match 161 char speed[10]; /* character value of speed passed to dial */ local 181 if (call.speed <= 0) 182 (void) strcpy(speed, "Any"); 184 (void) sprintf(speed, "%d", call.speed); 195 alt[F_CLASS] = speed; [all...] |
| line.c | 96 * set speed/echo/mode... 98 * spwant -> speed 101 * if spwant == 0, speed is untouched 114 int speed = -1; local 132 speed = ps->sp_name; 135 if (speed < 0) { 137 DEBUG(5, "speed (%d) not supported\n", spwant); 139 ASSERT(speed >= 0, "BAD SPEED", "", spwant); 141 (void) cfsetospeed(&ttbufs, speed); [all...] |
| /onnv/onnv-gate/usr/src/ucbcmd/stty/ |
| stty.h | 40 int speed; member in struct:speeds
|
| stty.c | 74 * "stty size", "stty speed" and "stty -g" are intended for 93 } else if (strcmp(argv[1], "speed") == 0) { 106 speeds[i].speed) { 114 speeds[i].speed) { 226 prspeed("speed ", cfgetospeed(&cb)); 479 prspeed("speed ", cfgetospeed(&cb)); 757 long speed[] = { variable 766 (void) fprintf(output, "%s%d baud; ", c, speed[s]);
|
| /onnv/onnv-gate/usr/src/cmd/tip/aculib/ |
| df.c | 46 int speed = 0; local 66 speed = cfgetospeed(&buf); 87 if (df03 && speed) { 90 (void) cfsetospeed(&buf, speed);
|
| /onnv/onnv-gate/usr/src/uts/common/io/nge/ |
| nge_ndd.c | 34 static char transfer_speed_propname[] = "transfer-speed"; 35 static char speed_propname[] = "speed"; 112 int speed; local 122 * The link speed may be forced to 10, 100 or 1000 Mbps using 123 * the property "transfer-speed". This may be done in OBP by 124 * using the command "apply transfer-speed=<speed> <device>". 125 * The speed may be 10, 100 or 1000 - any other value will be 127 * restricts it to the speed specified by the property. 132 speed = NGE_PROP_GET_INT(dip, transfer_speed_propname) [all...] |
| /onnv/onnv-gate/usr/src/cmd/vi/port/ |
| ex_tty.c | 51 short speed; local 57 speed = (short)cfgetospeed(&tty); 59 speed = tty.c_cflag & CBAUD; 60 if (ospeed != speed) 61 value(vi_SLOWOPEN) = (int)(speed) < B1200; 62 ospeed = speed;
|
| /onnv/onnv-gate/usr/src/uts/common/io/bge/ |
| bge_ndd.c | 34 static char transfer_speed_propname[] = "transfer-speed"; 35 static char speed_propname[] = "speed"; 126 int speed; local 192 * The link speed may be forced to 10, 100 or 1000 Mbps using 193 * the property "transfer-speed". This may be done in OBP by 194 * using the command "apply transfer-speed=<speed> <device>". 195 * The speed may be 10, 100 or 1000 - any other value will be 197 * restricts it to the speed specified by the property. 202 speed = BGE_PROP_GET_INT(dip, transfer_speed_propname) [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
| global.h | 48 unsigned int speed; member in struct:portdata
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
| syncinit.c | 107 int fd, speed; local 169 if (sscanf(arg, "%d", &speed) == 1) 170 sm.sm_baudrate = speed; 195 } else if (prefix(arg, "speed")) { 197 if (sscanf(arg, "%d", &speed) == 1) { 198 sm.sm_baudrate = speed; 202 "bad speed:", arg); 262 "speed=%d, loopback=%s, echo=%s, nrzi=%s, txc=%s, rxc=%s\n",
|
| syncloop.c | 56 static unsigned int speed = 9600; variable 134 case 's': /* line speed */ 137 speed = atoi(argv[1]); 271 sm.sm_baudrate = speed; 296 (void) printf("speed=%d, loopback=%s, nrzi=%s, txc=%s, rxc=%s\n", 418 float secs, speed; local 543 speed = 8 * incount * (4 + reclen) / secs; 544 (void) printf("estimated line speed = %d bps\n", (int)speed);
|
| /onnv/onnv-gate/usr/src/uts/common/io/mac/plugins/ |
| mac_ib.c | 284 uint64_t speed; local 288 speed = mac_stat_get(mh, MAC_STAT_IFSPEED); 291 speed /= 1000000; 294 (void) snprintf(buf, sz, "%u Mbps", (uint32_t)speed);
|
| mac_ether.c | 396 uint64_t speed; local 399 speed = mac_stat_get(mh, MAC_STAT_IFSPEED); 402 speed /= 1000000; 405 (void) snprintf(buf, sz, "%u Mbps, %s duplex", (uint32_t)speed,
|
| /onnv/onnv-gate/usr/src/uts/common/io/rge/ |
| rge_ndd.c | 33 static char transfer_speed_propname[] = "transfer-speed"; 34 static char speed_propname[] = "speed"; 269 int speed; local 280 * The link speed may be forced to 10, 100 or 1000 Mbps using 281 * the property "transfer-speed". This may be done in OBP by 282 * using the command "apply transfer-speed=<speed> <device>". 283 * The speed may be 10, 100 or 1000 - any other value will be 285 * restricts it to the speed specified by the property. 290 speed = RGE_PROP_GET_INT(dip, transfer_speed_propname) [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpsched/ |
| ports.c | 83 int speed, fd; local 88 if (pp->speed == NULL || (speed = atoi(pp->speed)) <= 0) 89 speed = -1; 92 call.speed = speed; 112 * in ".speed", if the printer port is dialed. Thus
|
| /onnv/onnv-gate/usr/src/uts/common/io/ntxn/ |
| unm_ndd.c | 29 static char transfer_speed_propname[] = "transfer-speed"; 30 static char speed_propname[] = "speed"; 266 int speed; local 277 * The link speed may be forced to 1000 or 10000 Mbps using 278 * the property "transfer-speed". This may be done in OBP by 279 * using the command "apply transfer-speed=<speed> <device>". 280 * The speed may be 1000 or 10000 - any other value will be 282 * restricts it to the speed specified by the property. 287 speed = UNM_PROP_GET_INT(dip, transfer_speed_propname) [all...] |
| /onnv/onnv-gate/usr/src/cmd/cdrw/ |
| dae.c | 170 /* if the speed option given, try to change the speed */ 173 (void) printf(gettext("Trying to set speed to %dX.\n"), 178 err_msg(gettext("Unable to set speed.\n")); 182 int speed; local 183 speed = dev->d_speed_ctrl(dev, GET_READ_SPEED, 0); 184 if (speed == requested_speed) { 185 (void) printf(gettext("Speed set to %dX.\n"), 186 speed); 187 } else if (speed == 0) [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/lib/printers/ |
| putprinter.c | 95 register char * speed; local 211 * the ".speed" member if the ".speed" member isn't already 213 * move any value from the ".speed" member to the stty list. 217 if (prbufp->speed) 218 speed = Strdup(prbufp->speed); 220 speed = 0; 244 * If "prbufp->speed" isn't set, then 245 * use the speed we just found. Don' [all...] |
| /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| serial.c | 42 /* The structure for speed vs. divisor. */ 45 int speed; 128 SPEED is a DTE-DTE speed which must be one of these: 2400, 4800, 9600, 135 serial_hw_init (unsigned short port, unsigned int speed, 150 if (divisor_tab[i].speed == speed) 44 int speed; member in struct:divisor
|
| /onnv/onnv-gate/usr/src/head/ |
| dial.h | 65 #define DV_NT_E (-12) /* requested speed does not match */ 71 int speed; /* 212A modem: low=300, high=1200 */ member in struct:__anon2566
|
| /onnv/onnv-gate/usr/src/lib/libdladm/common/ |
| libdlether.c | 104 * Get the speed-duplex stats specified in the ether_spdx_t table passed in 112 uint32_t speed; local 120 KSTAT_DATA_UINT32, &speed)) != DLADM_STATUS_OK) { 134 if (speed == 0) 189 * For a given param type, parse the list of speed-duplex pairs in 191 * as <speed><speed-unit-char>-<duplex-chars> where <speed> is the value of 192 * speed, in units specifid by the <speed-unit-char> which is on 203 int speed; local [all...] |