| /illumos-gate/usr/src/lib/libc/port/gen/ |
| H A D | cfsetispeed.c | 39 * 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 D | cfsetospeed.c | 39 * 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/ucbcmd/stty/ |
| H A D | stty.h | 40 int speed; member in struct:speeds
|
| /illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
| H A D | baudrate.c | 47 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 D | baudrate.c | 52 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/lib/libbc/libc/gen/common/ |
| H A D | posix_tty.c | 39 * 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/cdrw/ |
| H A D | toshiba.h | 42 int toshiba_speed_ctrl(cd_device *dev, int cmd, int speed);
|
| H A D | toshiba.c | 110 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];
|
| /illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
| H A D | ixgbe_82599.h | 39 ixgbe_link_speed *speed, bool *autoneg); 45 ixgbe_link_speed speed); 47 ixgbe_link_speed speed, 51 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
|
| /illumos-gate/usr/src/cmd/powertop/common/ |
| H A D | cpufreq.c | 47 #define HZ2MHZ(speed) ((speed) / MICROSEC) 75 ":::cpu-change-speed" 83 ":::cpu-change-speed" 103 ":::cpu-change-speed" 112 ":::cpu-change-speed" 157 * Perform setup necessary to enumerate and track CPU speed changes 208 state->speed = HZ2MHZ(atoll(token)); 210 if (state->speed > max_cpufreq) 211 max_cpufreq = state->speed; 342 uint64_t speed; local 443 uint64_t speed; local [all...] |
| /illumos-gate/usr/src/lib/libnsl/dial/ |
| H A D | 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...] |
| /illumos-gate/usr/src/cmd/bnu/ |
| H A D | 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...] |
| H A D | 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:__anon46
|
| H A D | line.c | 105 * set speed/echo/mode... 107 * spwant -> speed 110 * if spwant == 0, speed is untouched 124 int speed = -1; local 144 speed = ps->sp_name; 147 if (speed < 0) 148 DEBUG(5, "speed (%d) not supported\n", spwant); 149 ASSERT(speed >= 0, "BAD SPEED", "", spwant); 151 cfsetospeed(&ttbufs, speed); 152 } else { /* determine the current speed settin 400 int speed = -1; local 491 int speed = -1; local [all...] |
| /illumos-gate/usr/src/cmd/lp/lib/printers/ |
| H A D | 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 w [all...] |
| /illumos-gate/usr/src/head/ |
| H A D | 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:__anon2247
|
| /illumos-gate/usr/src/cmd/tip/aculib/ |
| H A D | df.c | 46 int speed = 0; local 66 speed = cfgetospeed(&buf); 87 if (df03 && speed) { 90 (void) cfsetospeed(&buf, speed);
|
| /illumos-gate/usr/src/uts/common/io/sfxge/common/ |
| H A D | ef10_phy.c | 74 __in unsigned int speed, 88 else if (speed == 40000 && fd) 90 else if (speed == 10000 && fd) 92 else if (speed == 1000) 94 else if (speed == 100) 96 else if (speed == 10) 124 unsigned int speed; local 130 * Convert the LINKCHANGE speed enumeration into mbit/s, in the 131 * same way as GET_LINK encodes the speed 135 speed 71 mcdi_phy_decode_link_mode( __in efx_nic_t *enp, __in uint32_t link_flags, __in unsigned int speed, __in unsigned int fcntl, __out efx_link_mode_t *link_modep, __out unsigned int *fcntlp) argument 285 unsigned int speed; local [all...] |
| /illumos-gate/usr/src/uts/common/io/nge/ |
| H A D | 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 [all...] |
| /illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
| H A D | 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
|
| /illumos-gate/usr/src/lib/libdladm/common/ |
| H A D | libdlether.c | 106 * Get the speed-duplex stats specified in the ether_spdx_t table passed in 114 uint32_t speed; local 122 KSTAT_DATA_UINT32, &speed)) != DLADM_STATUS_OK) { 136 if (speed == 0) 191 * For a given param type, parse the list of speed-duplex pairs in 193 * as <speed><speed-unit-char>-<duplex-chars> where <speed> is the value of 194 * speed, in units specifid by the <speed 205 int speed; local [all...] |
| /illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/ |
| H A D | fwohci.c | 140 int nport, speed; local 144 * 1. to probe maximum speed supported by the PHY and 155 speed = reg & FW_PHY_SPD >> 6; 156 if (speed > MAX_SPEED) { 157 device_printf(dev, "invalid speed %d (fixed to %d).\n", 158 speed, MAX_SPEED); 159 speed = MAX_SPEED; 163 linkspeed[speed], nport); 167 speed = (reg2 & FW_PHY_ESPD) >> 5; 168 if (speed > MAX_SPEE 214 int i, max_rec, speed; local [all...] |
| /illumos-gate/usr/src/cmd/tip/ |
| H A D | cu.c | 31 "usage: cu telno [-t] [-s speed] [-a acu] [-l line] [-#]\n"); 57 if (speed(atoi(argv[2])) == 0) { 59 "cu: unsupported speed %s\n", 113 ttysetup(speed(BR)); 121 ttysetup(speed(BR));
|
| /illumos-gate/usr/src/uts/common/io/chxge/com/ |
| H A D | xpak.c | 62 static int xpak_get_link_status(struct cphy *cphy, int *link_ok, int *speed, argument 67 if (speed) 68 *speed = SPEED_10000;
|
| /illumos-gate/usr/src/grub/grub-0.97/netboot/ |
| H A D | sis900.c | 83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 87 static void vt6103_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 93 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex); 798 int speed, duplex; local 801 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex); 812 if (speed == HW_SPEED_HOME || speed 841 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 890 amd79c901_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 942 ics1893_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 982 rtl8201_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 1026 vt6103_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument [all...] |