Searched defs:nspeeds (Results 1 - 6 of 6) sorted by relevance
/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 48 hzspeeds = kmem_zalloc(nspeeds * sizeof (uint64_t), KM_SLEEP); 49 for (i = nspeeds - 1, j = 0; i >= 0; i--, j++) { 54 supp_freqs = kmem_zalloc((UINT64_MAX_STRING * nspeeds), KM_SLEEP); 56 for (i = 0; i < nspeeds; i++) { 57 if (i == nspeeds - 1) { 65 kmem_free(supp_freqs, (UINT64_MAX_STRING * nspeeds)); 66 kmem_free(hzspeeds, nspeeds * sizeof (uint64_t));
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | cpudrv_mach.c | 100 uint_t nspeeds; local 102 CPUDRV_GET_SPEEDS(cpudsp, speeds, nspeeds); 103 if (nspeeds == 0) 105 cpupm_set_supp_freqs(cpudsp->cp, speeds, nspeeds); 106 CPUDRV_FREE_SPEEDS(speeds, nspeeds);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | cpudrv_mach.c | 339 * return nspeeds = 0 if can't get cpu_t 348 cpudrv_free_speeds(int *speeds, uint_t nspeeds) argument 350 cpupm_free_speeds(speeds, nspeeds);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpudrv.c | 659 uint_t nspeeds; local 664 CPUDRV_GET_SPEEDS(cpudsp, speeds, nspeeds); 665 if (nspeeds < 2) { 667 CPUDRV_FREE_SPEEDS(speeds, nspeeds); 670 cpupm->num_spd = nspeeds; 697 for (i = 0; i < nspeeds; i++) { 773 CPUDRV_FREE_SPEEDS(speeds, nspeeds);
|
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 1062 uint_t nspeeds; local 1065 nspeeds = CPU_ACPI_PSTATES_COUNT(handle); 1067 hspeeds = kmem_zalloc(nspeeds * sizeof (int), KM_SLEEP); 1068 for (i = 0; i < nspeeds; i++) { 1073 return (nspeeds); 1080 cpu_acpi_free_speeds(int *speeds, uint_t nspeeds) argument 1082 kmem_free(speeds, nspeeds * sizeof (int));
|
H A D | cpupm_mach.c | 152 uint_t nspeeds; local 200 nspeeds = cpupm_get_speeds(cp, &speeds); 201 if (nspeeds == 0) { 205 cpupm_set_supp_freqs(cp, speeds, nspeeds); 206 cpupm_free_speeds(speeds, nspeeds); 704 uint_t nspeeds, i; local 712 nspeeds = cpupm_get_speeds(cp, &speeds); 719 for (i = 0; i < nspeeds; i++) { 724 cpupm_free_speeds(speeds, nspeeds); 725 return (nspeeds); 760 cpupm_free_speeds(int *speeds, uint_t nspeeds) argument 878 uint_t nspeeds; local [all...] |
Completed in 74 milliseconds