/opensolaris-onvv-gate/usr/src/uts/i86pc/sys/ |
H A D | cpudrv_mach.h | 86 * ACPI provides the supported speeds. 88 #define CPUDRV_GET_SPEEDS(cpudsp, speeds, nspeeds) \ 89 nspeeds = cpudrv_get_speeds(cpudsp, &speeds); 90 #define CPUDRV_FREE_SPEEDS(speeds, nspeeds) \ 91 cpudrv_free_speeds(speeds, nspeeds); 102 #define CPUDRV_IDLE_CNT_PERCENT(hwm, speeds, i) \ 103 (100 - (((100 - hwm) * speeds[0]) / speeds[i])) 108 #define CPUDRV_USER_CNT_PERCENT(hwm, speeds, i) \ 109 ((hwm * speeds[ [all...] |
/opensolaris-onvv-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);
|
/opensolaris-onvv-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);
|
/opensolaris-onvv-gate/usr/src/ucbcmd/stty/ |
H A D | stty.h | 38 struct speeds { struct
|
H A D | sttyparse.c | 60 extern const struct speeds speeds[]; 163 for(i=0; speeds[i].string; i++) 164 if(eq(speeds[i].string)) 165 cfsetospeed(cb, speeds[i].speed); 173 for(i=0; speeds[i].string; i++) 174 if(eq(speeds[i].string)) 175 cfsetispeed(cb, speeds[i].speed); 184 for(i=0; speeds[i].string; i++) 185 if(eq(speeds[ [all...] |
H A D | stty.c | 70 extern const struct speeds speeds[]; 104 for (i = 0; speeds[i].string; i++) 106 speeds[i].speed) { 108 speeds[i].string); 112 for (i = 0; speeds[i].string; i++) 114 speeds[i].speed) { 116 speeds[i].string);
|
H A D | sttytable.c | 38 const struct speeds speeds[] = { variable in typeref:struct:speeds
|
/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/ |
H A D | cpudrv_mach.h | 69 * clock-divisors property tells the supported speeds 73 * speeds. 75 #define CPUDRV_GET_SPEEDS(cpudsp, speeds, nspeeds) { \ 77 DDI_PROP_DONTPASS, "clock-divisors", &speeds, \ 85 #define CPUDRV_FREE_SPEEDS(speeds, nspeeds) { \ 87 ddi_prop_free(speeds); \ 98 #define CPUDRV_IDLE_CNT_PERCENT(hwm, speeds, i) \ 99 (100 - ((100 - hwm) * speeds[i])) 104 #define CPUDRV_USER_CNT_PERCENT(hwm, speeds, i) \ 105 ((hwm * speeds[ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ttymon/ |
H A D | stty.h | 61 struct speeds { struct 73 extern const struct speeds speeds[];
|
H A D | sttyparse.c | 180 for (match = 0, i = 0; speeds[i].string; i++) { 181 if (eq(speeds[i].string)) { 183 speeds[i].code); 193 for (match = 0, i = 0; speeds[i].string; i++) { 194 if (eq(speeds[i].string)) { 196 speeds[i].code); 205 for (match = 0, i = 0; speeds[i].string; i++) { 206 if (eq(speeds[i].string)) { 208 speeds[i].code); 210 speeds[ [all...] |
H A D | sttytable.c | 40 const struct speeds speeds[] = { variable in typeref:struct:speeds
|
/opensolaris-onvv-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);
|
/opensolaris-onvv-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]);
|
/opensolaris-onvv-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
|
/opensolaris-onvv-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);
|
/opensolaris-onvv-gate/usr/src/uts/i86pc/os/cpupm/ |
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...] |
/opensolaris-onvv-gate/usr/src/cmd/tput/ |
H A D | tput.c | 290 /* The appropriate speeds for various termio settings. */ 291 static int speeds[] = { variable 441 /* No padding needed at speeds below padding_baud_rate */ 613 CurrentBaudRate = speeds[B1200]; 615 CurrentBaudRate = speeds[SPEED(termmode)]; 624 CurrentBaudRate = speeds[SPEEDS(termmodes)];
|
/opensolaris-onvv-gate/usr/src/cmd/lp/filter/postscript/postdmd/ |
H A D | README | 31 processors (eg. PS-810s) while increasing the pattern size speeds things up on
|
/opensolaris-onvv-gate/usr/src/cmd/lp/filter/postscript/postmd/ |
H A D | README | 48 processors (eg. PS-810s) while increasing the pattern size speeds things up on
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/cmd/login/ |
H A D | login.c | 1564 static char *speeds[] = { variable 1571 #define NSPEEDS (sizeof (speeds) / sizeof (speeds[0])) 1591 for (cpp = speeds; cpp < &speeds[NSPEEDS]; cpp++) 1593 (void) cfsetospeed(&tp, cpp-speeds);
|
/opensolaris-onvv-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]);
|
/opensolaris-onvv-gate/usr/src/ucbcmd/tset/ |
H A D | tset.c | 358 } speeds[] = { variable in typeref:struct:__anon4839 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);
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | mtio.h | 146 uchar_t speeds[MT_NSPEEDS]; /* speed codes, low->hi */ member in struct:mtdrivetype
|
H A D | ppmvar.h | 189 uint_t speeds; /* number of speeds cpu supports */ member in struct:ppm_dc::__anon8916::m_cpu
|