/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | baudrate.c | 51 static t_baud speeds[] = { variable 87 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) 88 if (speeds[i].speed == value) 91 return __m_return_int("baudrate", speeds[i].value);
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | baudrate.c | 56 static const t_baud speeds[] = { variable 88 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) 89 if (speeds[i].speed == value) 92 return (speeds[i].value);
|
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | stty.h | 38 struct speeds { struct
|
H A D | sttytable.c | 38 const struct speeds speeds[] = { variable in typeref:struct:speeds
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpupm.c | 34 cpupm_set_supp_freqs(cpu_t *cp, int *speeds, uint_t nspeeds) argument 43 if (speeds == NULL) { 51 speeds[j]);
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | sttytable.c | 40 const struct speeds speeds[] = { variable in typeref:struct:speeds
|
H A D | stty.h | 61 struct speeds { struct 73 extern const struct speeds speeds[];
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | cpudrv_mach.c | 99 int *speeds; local 102 CPUDRV_GET_SPEEDS(cpudsp, speeds, nspeeds); 105 cpupm_set_supp_freqs(cpudsp->cp, speeds, nspeeds); 106 CPUDRV_FREE_SPEEDS(speeds, nspeeds);
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_stat.c | 487 ixgbe_link_speed speeds = 0; local 496 * supported speeds which were obtained during instance init in 499 speeds = hw->phy.speeds_supported; 500 if (speeds == 0) 501 speeds = ixgbe->speeds_supported; 668 *val = (speeds & IXGBE_LINK_SPEED_10GB_FULL) ? 1 : 0; 672 *val = (speeds & IXGBE_LINK_SPEED_5GB_FULL) ? 1 : 0; 676 *val = (speeds & IXGBE_LINK_SPEED_2_5GB_FULL) ? 1 : 0; 680 *val = (speeds & IXGBE_LINK_SPEED_1GB_FULL) ? 1 : 0; 684 *val = (speeds [all...] |
H A D | ixgbe_gld.c | 300 ixgbe_link_speed speeds = 0; local 311 * supported speeds which were obtained during instance init in 314 speeds = hw->phy.speeds_supported; 315 if (speeds == 0) 316 speeds = ixgbe->speeds_supported; 335 speeds & IXGBE_LINK_SPEED_10GB_FULL) { 344 speeds & IXGBE_LINK_SPEED_5GB_FULL) { 353 speeds & IXGBE_LINK_SPEED_2_5GB_FULL) { 362 speeds & IXGBE_LINK_SPEED_1GB_FULL) { 371 speeds 482 ixgbe_link_speed speeds = 0; local 606 ixgbe_link_speed speeds = 0; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | cpudrv_mach.c | 128 * - Resetting the up_spd for all speeds lower than the new top speed 155 * Don't mess with speeds that are higher than the new 336 cpudrv_get_speeds(cpudrv_devstate_t *cpudsp, int **speeds) argument 344 return (cpupm_get_speeds(cpudsp->cp, speeds)); 348 cpudrv_free_speeds(int *speeds, uint_t nspeeds) argument 350 cpupm_free_speeds(speeds, nspeeds);
|
/illumos-gate/usr/src/cmd/tput/ |
H A D | tput.c | 293 /* The appropriate speeds for various termio settings. */ 294 static int speeds[] = { variable 444 /* No padding needed at speeds below padding_baud_rate */ 616 CurrentBaudRate = speeds[B1200]; 618 CurrentBaudRate = speeds[SPEED(termmode)]; 627 CurrentBaudRate = speeds[SPEEDS(termmodes)];
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 281 get_write_speeds(uchar_t *page, int n, intlist_t **speeds, int *n_speeds, intlist_t **speeds_mem) argument 290 *speeds = NULL; 302 for (nextp = speeds; *nextp != NULL; nextp = &((*nextp)->next)) { 320 intlist_t **speeds, int *n_speeds, intlist_t **speeds_mem) 327 *speeds = *speeds_mem = NULL; 356 get_write_speeds(&p[32], n, speeds, n_speeds, speeds_mem); 358 if (*speeds != NULL) { 359 *write_speed = max(*write_speed, (*speeds)[0].val); 319 get_read_write_speeds(int fd, int *read_speed, int *write_speed, intlist_t **speeds, int *n_speeds, intlist_t **speeds_mem) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpudrv.c | 69 * next lower speed. While going down, we go through all the speeds. While 71 * provisions in the driver to go to other speeds. 75 * driver determines supported speeds by looking at 'clock-divisors' property 76 * created by OBP. On x86, the driver retrieves the supported speeds from 658 int *speeds; local 664 CPUDRV_GET_SPEEDS(cpudsp, speeds, nspeeds); 666 /* Need at least two speeds to power manage */ 667 CPUDRV_FREE_SPEEDS(speeds, nspeeds); 674 * supplied speeds. 699 cur_spd->speed = speeds[ [all...] |
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 1058 cpu_acpi_get_speeds(cpu_acpi_handle_t handle, int **speeds) argument 1072 *speeds = hspeeds; 1080 cpu_acpi_free_speeds(int *speeds, uint_t nspeeds) argument 1082 kmem_free(speeds, nspeeds * sizeof (int));
|
H A D | cpupm_mach.c | 151 int *speeds; local 200 nspeeds = cpupm_get_speeds(cp, &speeds); 203 " no speeds to manage", cp->cpu_id); 205 cpupm_set_supp_freqs(cp, speeds, nspeeds); 206 cpupm_free_speeds(speeds, nspeeds); 703 int *speeds; local 712 nspeeds = cpupm_get_speeds(cp, &speeds); 720 states[i].cps_speed = speeds[i]; 724 cpupm_free_speeds(speeds, nspeeds); 744 * for speeds usin 747 cpupm_get_speeds(cpu_t *cp, int **speeds) argument 760 cpupm_free_speeds(int *speeds, uint_t nspeeds) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 165 * Note that this list of speeds is shorter than the list of speeds 170 static char *speeds[] = variable 607 * be "higher" speeds. 618 if (speed > 0 && speed < sizeof (speeds)/sizeof (char *) && 619 strlen(term) + strlen("/") + strlen(speeds[speed]) + 1 < 622 (void) strcat(term, speeds[speed]);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ppmvar.h | 189 uint_t speeds; /* number of speeds cpu supports */ member in struct:ppm_dc::__anon8831::m_cpu
|
H A D | mtio.h | 146 uchar_t speeds[MT_NSPEEDS]; /* speed codes, low->hi */ member in struct:mtdrivetype
|
/illumos-gate/usr/src/ucbcmd/tset/ |
H A D | tset.c | 358 } speeds[] = { variable in typeref:struct:__anon4485 891 for (i = 0; speeds[i].string; i++) 892 if (speeds[i].baudrate == PadBaud) { 893 PadBaud = speeds[i].speed; 1225 /* No padding at speeds below PadBaud */ 1517 for (i = 0; speeds[i].string; i++) 1518 if (sequal(speeds[i].string, buf)) 1519 return (speeds[i].speed);
|
/illumos-gate/usr/src/cmd/login/ |
H A D | login.c | 1537 static char *speeds[] = { variable 1544 #define NSPEEDS (sizeof (speeds) / sizeof (speeds[0])) 1564 for (cpp = speeds; cpp < &speeds[NSPEEDS]; cpp++) 1566 (void) cfsetospeed(&tp, cpp-speeds);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | ns83820.c | 417 static char *speeds[] = local 495 speeds[speed], fullduplex ? "full" : "half");
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 1127 * List of valid speeds. 1132 } speeds [] = { variable in typeref:struct:speed 1233 for (speedp = speeds; speedp->speed_int; speedp++) { 1256 for (speedp = speeds; speedp->speed_int; speedp++) {
|