Searched defs:speed (Results 1 - 25 of 181) 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:__anon4208
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:__anon4221
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
H A Dstty.c74 * "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]);
/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/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/lib/libbc/libc/gen/common/
H A Dposix_tty.c39 * return the output speed from the struct
50 * set the speed in the struct
53 cfsetospeed(struct termios *termios_p, speed_t speed) argument
55 if (speed > (2*CBAUD + 1)) {
59 if (speed > CBAUD) {
61 speed -= (CBAUD + 1);
66 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD);
71 * return the input speed from the struct
83 * set the input speed in the struct
86 cfsetispeed(struct termios *termios_p, speed_t speed) argument
[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/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/uts/common/io/chxge/com/
H A Dmy3126.c132 int *link_ok, int *speed, int *duplex, int *fc)
156 *speed = SPEED_10000;
131 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
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/cmd/lp/cmd/lpsched/
H A Dports.c83 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
/illumos-gate/usr/src/head/
H A Ddial.h65 #define DV_NT_E (-12) /* requested speed does not match */
71 int speed; /* 212A modem: low=300, high=1200 */ member in struct:__anon2247
/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/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 434 milliseconds

12345678