/xen/xen/include/acpi/cpufreq/ |
A D | cpufreq.h | 63 unsigned int min; /* in kHz */ member 175 unsigned int min, unsigned int max) in cpufreq_verify_within_limits() argument 177 if (policy->min < min) in cpufreq_verify_within_limits() 178 policy->min = min; in cpufreq_verify_within_limits() 179 if (policy->max < min) in cpufreq_verify_within_limits() 180 policy->max = min; in cpufreq_verify_within_limits() 181 if (policy->min > max) in cpufreq_verify_within_limits() 182 policy->min = max; in cpufreq_verify_within_limits() 185 if (policy->min > policy->max) in cpufreq_verify_within_limits() 186 policy->min = policy->max; in cpufreq_verify_within_limits()
|
/xen/xen/drivers/cpufreq/ |
A D | cpufreq_misc_governors.c | 51 else if (policy->min > per_cpu(cpu_set_freq, cpu)) in cpufreq_governor_userspace() 52 ret = __cpufreq_driver_target(policy, policy->min, in cpufreq_governor_userspace() 76 if (freq < policy->min) in write_userspace_scaling_setspeed() 77 freq = policy->min; in write_userspace_scaling_setspeed() 186 ret = __cpufreq_driver_target(policy, policy->min, in cpufreq_governor_powersave()
|
A D | utility.c | 237 policy->min = policy->cpuinfo.min_freq = min_freq; in cpufreq_frequency_table_cpuinfo() 241 if (policy->min == ~0) in cpufreq_frequency_table_cpuinfo() 264 if ((freq >= policy->min) && (freq <= policy->max)) in cpufreq_frequency_table_verify() 311 if ((freq < policy->min) || (freq > policy->max)) in cpufreq_frequency_table_target() 450 if (policy->min > data->min && policy->min > policy->max) in __cpufreq_set_policy() 458 data->min = policy->min; in __cpufreq_set_policy()
|
A D | cpufreq_ondemand.c | 157 if (policy->cur == policy->min) in dbs_check_cpu() 302 else if (policy->min > this_dbs_info->cur_policy->cur) in cpufreq_governor_dbs() 304 policy->min, CPUFREQ_RELATION_L); in cpufreq_governor_dbs()
|
/xen/xen/include/public/io/ |
A D | sndif.h | 896 uint32_t min; member 900 uint32_t min; member 904 uint32_t min; member 908 uint32_t min; member
|
/xen/docs/ |
A D | support-matrix-generate | 107 local min=$(sed -n 's/.*XEN_SUBVERSION.*= \([0-9]\+\)/\1/p' < "$tmp_versionfile") 109 if [ -z $maj ] || [ -z $min ]; 114 printf "%d.%d\n" "$maj" "$min"
|
/xen/tools/include/xen-tools/ |
A D | libs.h | 24 #ifndef min 25 #define min(x, y) \ macro
|
/xen/xen/tools/kconfig/ |
A D | nconf.gui.c | 222 total_lines = min(total_lines, y); in fill_window() 227 strncpy(tmp, line, min(len, x)); in fill_window() 391 win_lines = min(prompt_lines+6, lines-2); in dialog_inputbox() 392 win_cols = min(prompt_width+7, columns-2); in dialog_inputbox() 421 cursor_form_win = min(cursor_position, prompt_width-1); in dialog_inputbox() 482 cursor_form_win = min(cursor_position, prompt_width-1); in dialog_inputbox() 582 win_lines = min(total_lines+4, lines-2); in show_scroll_win() 583 win_cols = min(total_cols+2, columns-2); in show_scroll_win()
|
A D | nconf.h | 30 #define min(a, b) ({\ macro
|
/xen/tools/xl/ |
A D | xl_info.c | 675 int sec, min, hour, day; in uptime_to_string() local 682 min = (int)(uptime / 60); in uptime_to_string() 683 uptime -= (min * 60); in uptime_to_string() 688 xasprintf(&time_string, "%d days, %2d:%02d", day, hour, min); in uptime_to_string() 690 xasprintf(&time_string, "%d day, %2d:%02d", day, hour, min); in uptime_to_string() 692 xasprintf(&time_string, "%2d:%02d", hour, min); in uptime_to_string() 695 xasprintf(&time_string, "%d days, %2d:%02d:%02d", day, hour, min, sec); in uptime_to_string() 697 xasprintf(&time_string, "%d day, %2d:%02d:%02d", day, hour, min, sec); in uptime_to_string() 699 xasprintf(&time_string, "%2d:%02d:%02d", hour, min, sec); in uptime_to_string()
|
/xen/tools/tests/x86_emulator/ |
A D | simd.c | 201 # define min __builtin_ia32_pfmin macro 411 # define min(x, y) __builtin_ia32_minps256(x, y) macro 436 # define min(x, y) __builtin_ia32_minps(x, y) macro 458 # define min(x, y) __builtin_ia32_minpd256(x, y) macro 485 # define min(x, y) __builtin_ia32_minpd(x, y) macro 749 # define min(x, y) __builtin_ia32_pminsw128(x, y) macro 828 # define min(x, y) __builtin_ia32_pminsw256(x, y) macro 841 # define min(x, y) __builtin_ia32_pminsd256(x, y) macro 1486 #if defined(max) && defined(min) in simd_test() 1489 x = min(src, inv); in simd_test() [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | rtc.c | 254 int32_t hour, min; in alarm_timer_update() local 293 min = alarm_min - cur_min; in alarm_timer_update() 294 next_alarm_sec = min * SEC_PER_MIN - cur_sec; in alarm_timer_update() 308 min = alarm_min + MIN_PER_HOUR - cur_min; in alarm_timer_update() 310 alarm_sec + min * SEC_PER_MIN - cur_sec; in alarm_timer_update() 315 min = alarm_min + MIN_PER_HOUR - cur_min; in alarm_timer_update() 316 next_alarm_sec = min * SEC_PER_MIN - cur_sec; in alarm_timer_update() 360 min = alarm_min - cur_min; in alarm_timer_update() 361 next_alarm_sec = min * SEC_PER_MIN - cur_sec; in alarm_timer_update()
|
/xen/xen/include/public/ |
A D | pmu.h | 61 uint32_t min; member
|
/xen/xen/arch/x86/oprofile/ |
A D | op_model_athlon.c | 106 #define clamp(val, min, max) ({ \ argument 108 typeof(min) __min = (min); \ 378 ibs_op_ctl = min(ibs_op_ctl + IBS_RANDOM_MAXCNT_OFFSET, in start_ibs()
|
/xen/xen/arch/x86/boot/ |
A D | defs.h | 34 #define min(x,y) ({ \ macro
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 248 u32 vmx_basic_msr_low, vmx_basic_msr_high, min, opt; in vmx_init_vmcs_config() local 261 min = (PIN_BASED_EXT_INTR_MASK | in vmx_init_vmcs_config() 266 "Pin-Based Exec Control", min, opt, in vmx_init_vmcs_config() 269 min = (CPU_BASED_HLT_EXITING | in vmx_init_vmcs_config() 287 "CPU-Based Exec Control", min, opt, in vmx_init_vmcs_config() 296 min = 0; in vmx_init_vmcs_config() 329 "Secondary Exec Control", min, opt, in vmx_init_vmcs_config() 406 min = VM_EXIT_ACK_INTR_ON_EXIT; in vmx_init_vmcs_config() 409 min |= VM_EXIT_IA32E_MODE; in vmx_init_vmcs_config() 411 "VMExit Control", min, opt, MSR_IA32_VMX_EXIT_CTLS, &mismatch); in vmx_init_vmcs_config() [all …]
|
/xen/xen/include/asm-x86/ |
A D | time.h | 33 unsigned int min, unsigned int sec);
|
/xen/tools/libxl/ |
A D | libxlutil.h | 66 int xlu_cfg_get_bounded_long(const XLU_Config*, const char *n, long min,
|
/xen/xen/arch/arm/ |
A D | setup.c | 540 *end = min(*end, mod_e); in next_module() 619 ram_start = min(ram_start,bank_start); in setup_mm() 644 xenheap_pages = min(xenheap_pages, 1UL<<(30-PAGE_SHIFT)); in setup_mm() 736 ram_start = min(ram_start,bank_start); in setup_mm() 949 dom0_cfg.arch.nr_spis = min(gic_number_lines(), (unsigned int) 992) - 32; in start_xen()
|
A D | cpuerrata.c | 371 #define MIDR_RANGE(model, min, max) \ argument 374 .midr_range_min = min, \
|
/xen/tools/tests/vpci/ |
A D | emul.h | 112 #define min(x, y) ({ \ macro
|
/xen/xen/arch/x86/ |
A D | dom0_build.c | 361 : min(avail / 16, 128UL << (20 - PAGE_SHIFT))); in dom0_compute_nr_pages() 374 nr_pages = min(nr_pages, max_pages); in dom0_compute_nr_pages() 375 nr_pages = min(nr_pages, avail); in dom0_compute_nr_pages()
|
A D | cpuid.c | 211 for ( i = 2; i < min(63ul, ARRAY_SIZE(p->xstate.comp)); ++i ) in recalculate_xstate() 573 p->basic.max_leaf = min(p->basic.max_leaf, max->basic.max_leaf); in recalculate_cpuid_policy() 574 p->feat.max_subleaf = min(p->feat.max_subleaf, max->feat.max_subleaf); in recalculate_cpuid_policy() 575 p->extd.max_leaf = 0x80000000 | min(p->extd.max_leaf & 0xffff, in recalculate_cpuid_policy() 664 p->extd.maxphysaddr = min(p->extd.maxphysaddr, max->extd.maxphysaddr); in recalculate_cpuid_policy()
|
/xen/xen/arch/x86/mm/ |
A D | mem_access.c | 368 if ( altp2m_idx >= min(ARRAY_SIZE(d->arch.altp2m_p2m), MAX_EPTP) || in p2m_set_mem_access() 428 if ( altp2m_idx >= min(ARRAY_SIZE(d->arch.altp2m_p2m), MAX_EPTP) || in p2m_set_mem_access_multi() 495 if ( altp2m_idx >= min(ARRAY_SIZE(d->arch.altp2m_p2m), MAX_EPTP) || in p2m_get_mem_access()
|
/xen/xen/include/xen/ |
A D | kernel.h | 15 #define min(x,y) ({ \ macro
|