/xen/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/xen/arch/x86/ |
A D | time.c | 238 #define CALIBRATE_VALUE(freq) (((freq) + CALIBRATE_FRAC / 2) / CALIBRATE_FRAC) argument 275 static char *freq_string(u64 freq) in freq_string() argument 281 ++freq; in freq_string() 283 x = (unsigned int)freq; in freq_string() 574 uint64_t freq; in xen_timer_cpu_frequency() local 576 freq = 1000000000ULL << 32; in xen_timer_cpu_frequency() 583 return freq; in xen_timer_cpu_frequency() 665 uint64_t tsc_msr, freq; in init_hyperv_timer() local 700 pts->frequency = freq; in init_hyperv_timer() 702 return freq; in init_hyperv_timer() [all …]
|
A D | platform_hypercall.c | 446 (void *)op->u.change_freq.freq); in do_platform_op()
|
/xen/xen/arch/x86/acpi/cpufreq/ |
A D | cpufreq.c | 363 static unsigned int check_freqs(const cpumask_t *mask, unsigned int freq, in check_freqs() argument 371 if (cur_freq == freq) in check_freqs() 483 unsigned long freq; in acpi_cpufreq_guess_freq() local 487 freq = freqn; in acpi_cpufreq_guess_freq() 489 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq() 491 return freq; in acpi_cpufreq_guess_freq()
|
/xen/tools/misc/ |
A D | xenpm.c | 267 pxstat->pt[pxstat->cur].freq); in print_pxstat() 274 printf("[%4"PRIu64" MHz]", pxstat->pt[i].freq); in print_pxstat() 868 int cpuid = -1, freq = -1; in scaling_max_freq_func() local 870 parse_cpuid_and_int(argc, argv, &cpuid, &freq, "frequency"); in scaling_max_freq_func() 876 if ( xc_set_cpufreq_para(xc_handle, i, SCALING_MAX_FREQ, freq) ) in scaling_max_freq_func() 883 if ( xc_set_cpufreq_para(xc_handle, cpuid, SCALING_MAX_FREQ, freq) ) in scaling_max_freq_func() 891 int cpuid = -1, freq = -1; in scaling_min_freq_func() local 893 parse_cpuid_and_int(argc, argv, &cpuid, &freq, "frequency"); in scaling_min_freq_func() 899 if ( xc_set_cpufreq_para(xc_handle, i, SCALING_MIN_FREQ, freq) ) in scaling_min_freq_func() 906 if ( xc_set_cpufreq_para(xc_handle, cpuid, SCALING_MIN_FREQ, freq) ) in scaling_min_freq_func()
|
/xen/xen/include/asm-x86/ |
A D | time.h | 44 int cpu_frequency_change(u64 freq);
|
/xen/xen/include/acpi/cpufreq/ |
A D | cpufreq.h | 240 int write_userspace_scaling_setspeed(unsigned int cpu, unsigned int freq);
|
/xen/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/tools/xenmon/ |
A D | xenmon.py | 329 (next, ncpu, slen, freq) = struct.unpack("4i", shm[idx:idx+len]) 619 (next, ncpu, slen, freq) = struct.unpack("4i", shm[idx:idx+len])
|
/xen/xen/include/public/ |
A D | platform.h | 339 uint64_t freq; /* New frequency (Hz). */ member
|
A D | sysctl.h | 204 uint64_aligned_t freq; /* Px core frequency */ member
|
/xen/tools/libxl/ |
A D | libxl_types.idl | 232 (1, "freq"),
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 1846 uint64_t freq; /* Px core frequency */ member
|
/xen/docs/man/ |
A D | xl.cfg.5.pod.in | 2268 =item B<freq> 2324 is currently the B<base>, B<freq>, B<time_ref_count>, B<apic_assist>, 2334 to enable all groups except B<freq>, specify: 2338 B<viridian=[ "all", "!freq" ]>
|