/xen-4.10.0-shim-comet/xen/drivers/cpufreq/ |
A D | utility.c | 219 if (freq < min_freq) in cpufreq_frequency_table_cpuinfo() 220 min_freq = freq; in cpufreq_frequency_table_cpuinfo() 221 if (freq > max_freq) in cpufreq_frequency_table_cpuinfo() 222 max_freq = freq; in cpufreq_frequency_table_cpuinfo() 226 if (freq == CPUFREQ_ENTRY_INVALID || freq == max_freq) in cpufreq_frequency_table_cpuinfo() 228 if (freq > second_max_freq) in cpufreq_frequency_table_cpuinfo() 229 second_max_freq = freq; in cpufreq_frequency_table_cpuinfo() 264 if ((freq >= policy->min) && (freq <= policy->max)) in cpufreq_frequency_table_verify() 266 else if ((next_larger > freq) && (freq > policy->max)) in cpufreq_frequency_table_verify() 267 next_larger = freq; in cpufreq_frequency_table_verify() [all …]
|
A D | cpufreq_misc_governors.c | 67 int write_userspace_scaling_setspeed(unsigned int cpu, unsigned int freq) in write_userspace_scaling_setspeed() argument 74 per_cpu(cpu_set_freq, cpu) = freq; in write_userspace_scaling_setspeed() 76 if (freq < policy->min) in write_userspace_scaling_setspeed() 77 freq = policy->min; in write_userspace_scaling_setspeed() 78 if (freq > policy->max) in write_userspace_scaling_setspeed() 79 freq = policy->max; in write_userspace_scaling_setspeed() 81 return __cpufreq_driver_target(policy, freq, CPUFREQ_RELATION_L); in write_userspace_scaling_setspeed()
|
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/cpufreq/ |
A D | cpufreq.c | 332 unsigned int freq; in get_cur_freq_on_cpu() local 346 freq = extract_freq(get_cur_val(cpumask_of(cpu)), data); in get_cur_freq_on_cpu() 347 return freq; in get_cur_freq_on_cpu() 370 static unsigned int check_freqs(const cpumask_t *mask, unsigned int freq, in check_freqs() argument 378 if (cur_freq == freq) in check_freqs() 490 unsigned long freq; in acpi_cpufreq_guess_freq() local 494 freq = freqn; in acpi_cpufreq_guess_freq() 496 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq() 498 return freq; in acpi_cpufreq_guess_freq()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | time.c | 232 #define CALIBRATE_VALUE(freq) (((freq) + CALIBRATE_FRAC / 2) / CALIBRATE_FRAC) argument 269 static char *freq_string(u64 freq) in freq_string() argument 274 x = (unsigned int)freq; in freq_string() 539 uint64_t freq; in xen_timer_cpu_frequency() local 541 freq = 1000000000ULL << 32; in xen_timer_cpu_frequency() 544 freq <<= -info->tsc_shift; in xen_timer_cpu_frequency() 546 freq >>= info->tsc_shift; in xen_timer_cpu_frequency() 548 return freq; in xen_timer_cpu_frequency() 1167 int cpu_frequency_change(u64 freq) in cpu_frequency_change() argument 1173 if ( freq < 1000000u ) in cpu_frequency_change() [all …]
|
A D | platform_hypercall.c | 458 (void *)op->u.change_freq.freq); in do_platform_op()
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xenpm.c | 253 pxstat->pt[pxstat->cur].freq); in print_pxstat() 260 printf("[%4"PRIu64" MHz]", pxstat->pt[i].freq); in print_pxstat() 854 int cpuid = -1, freq = -1; in scaling_max_freq_func() local 856 parse_cpuid_and_int(argc, argv, &cpuid, &freq, "frequency"); in scaling_max_freq_func() 862 if ( xc_set_cpufreq_para(xc_handle, i, SCALING_MAX_FREQ, freq) ) in scaling_max_freq_func() 869 if ( xc_set_cpufreq_para(xc_handle, cpuid, SCALING_MAX_FREQ, freq) ) in scaling_max_freq_func() 877 int cpuid = -1, freq = -1; in scaling_min_freq_func() local 879 parse_cpuid_and_int(argc, argv, &cpuid, &freq, "frequency"); in scaling_min_freq_func() 885 if ( xc_set_cpufreq_para(xc_handle, i, SCALING_MIN_FREQ, freq) ) in scaling_min_freq_func() 892 if ( xc_set_cpufreq_para(xc_handle, cpuid, SCALING_MIN_FREQ, freq) ) in scaling_min_freq_func()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | time.h | 48 int cpu_frequency_change(u64 freq);
|
/xen-4.10.0-shim-comet/xen/include/acpi/cpufreq/ |
A D | cpufreq.h | 240 int write_userspace_scaling_setspeed(unsigned int cpu, unsigned int freq);
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/ |
A D | pmstat.c | 351 unsigned int freq =op->u.set_para.ctrl_value; in set_cpufreq_para() local 355 ret = write_userspace_scaling_setspeed(op->cpuid, freq); in set_cpufreq_para()
|
/xen-4.10.0-shim-comet/tools/xenmon/ |
A D | xenmon.py | 327 (next, ncpu, slen, freq) = struct.unpack("4i", shm[idx:idx+len]) 617 (next, ncpu, slen, freq) = struct.unpack("4i", shm[idx:idx+len])
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | platform.h | 339 uint64_t freq; /* New frequency (Hz). */ member
|
A D | sysctl.h | 188 uint64_aligned_t freq; /* Px core frequency */ member
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_types.idl | 225 (1, "freq"),
|
/xen-4.10.0-shim-comet/tools/libxc/include/ |
A D | xenctrl.h | 1848 uint64_t freq; /* Px core frequency */ member
|
/xen-4.10.0-shim-comet/docs/man/ |
A D | xl.cfg.pod.5.in | 2001 =item B<freq> 2043 is currently the B<base>, B<freq>, B<time_ref_count>, B<apic_assist> 2053 to enable all groups except B<freq>, specify: 2057 B<viridian=[ "all", "!freq" ]>
|