Searched defs:speed (Results 1 - 25 of 190) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcfsetispeed.c39 * sets the input baud rate stored in c_cflag to speed
43 cfsetispeed(struct termios *termios_p, speed_t speed) argument
46 * If the input speed is zero, set it to output speed
48 if (speed == 0) {
49 speed = termios_p->c_cflag & CBAUD;
51 speed += (CBAUD + 1);
54 if ((speed << 16) > CIBAUD) {
56 speed -= ((CIBAUD >> 16) + 1);
60 (termios_p->c_cflag & ~CIBAUD) | ((speed << 1
[all...]
H A Dcfsetospeed.c39 * sets the output baud rate stored in c_cflag to speed
43 cfsetospeed(struct termios *termios_p, speed_t speed) argument
45 if (speed > CBAUD) {
47 speed -= (CBAUD + 1);
52 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dbaudrate.c47 speed_t speed; member in struct:__anon4455
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)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dbaudrate.c52 speed_t speed; member in struct:__anon4468
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)
/illumos-gate/usr/src/cmd/bnu/
H A Ddial.c60 * 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...]
H A Ddial.h63 #define DV_NT_E (-12) /* requested speed does not match */
69 int speed; /* 212A modem: low=300, high=1200 */ member in struct:__anon46
/illumos-gate/usr/src/ucbcmd/stty/
H A Dstty.h40 int speed; member in struct:speeds
/illumos-gate/usr/src/cmd/tip/aculib/
H A Ddf.c46 int speed = 0; local
66 speed = cfgetospeed(&buf);
87 if (df03 && speed) {
90 (void) cfsetospeed(&buf, speed);
/illumos-gate/usr/src/cmd/pcieb/
H A Dpcieb.c48 (void) fprintf(stderr, "Usage: %s [-x] [-s speed] pcie-bridge\n"
50 "\t-s speed Set link to speed\n",
68 errx(EXIT_FAILURE, "invalid speed: %s", s);
79 uint32_t speed = PCIEB_LINK_SPEED_UNKNOWN; local
87 speed = pcieb_parse_speed(optarg);
122 pits.pits_speed = speed;
125 err(EXIT_FAILURE, "failed to set target speed");
139 err(EXIT_FAILURE, "failed to get target speed");
142 (void) printf("Bridge target speed
[all...]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Ddial.c62 * 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...]
H A Dline.c96 * 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);
142 } else { /* determine the current speed settin
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Dglobal.h48 unsigned int speed; member in struct:portdata
/illumos-gate/usr/src/cmd/cdrw/
H A Dtoshiba.c110 toshiba_speed_ctrl(cd_device *dev, int cmd, int speed) argument
128 "Cannot set speed on this device.\n"));
131 if (speed == 32) {
136 if ((speed != 1) && (speed != 2) && (speed != 4) &&
137 (speed != 12)) {
140 "%dx speed is not supported by the device.\n"));
168 mpage[14] = rev_speed_tbl[speed];
H A Ddae.c170 /* 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) {
186 speed);
187 } else if (speed == 0) {
194 requested_speed, speed);
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c34 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
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_tty.c51 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;
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dxpak.c62 static int xpak_get_link_status(struct cphy *cphy, int *link_ok, int *speed, argument
67 if (speed)
68 *speed = SPEED_10000;
H A Dmv88x201x.c162 int *speed, int *duplex, int *fc)
175 if (speed)
176 *speed = SPEED_10000;
161 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c34 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
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c84 int speed, fd; local
89 if (pp->speed == NULL || (speed = atoi(pp->speed)) <= 0)
90 speed = -1;
93 call.speed = speed;
113 * in ".speed", if the printer port is dialed. Thus
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncinit.c107 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",
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ib.c284 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);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c29 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
[all...]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c33 static char transfer_speed_propname[] = "transfer-speed";
34 static char speed_propname[] = "speed";
266 int speed; local
277 * The link speed may be forced to 10, 100 or 1000 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 10, 100 or 1000 - any other value will be
282 * restricts it to the speed specified by the property.
287 speed
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dppm_plat.c46 ppm_set_topspeed(ppm_dev_t *cpup, int speed) argument
49 (*cpupm_set_topspeed_callb)(cpup->dip, speed);
157 * If the driver was unable to lower cpu speed,

Completed in 61 milliseconds

12345678