Home
last modified time | relevance | path

Searched refs:current_level (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c101 u32 current_level = gstage_pgd_levels - 1; in gstage_get_leaf_entry() local
103 *ptep_level = current_level; in gstage_get_leaf_entry()
105 ptep = &ptep[gstage_pte_index(addr, current_level)]; in gstage_get_leaf_entry()
108 *ptep_level = current_level; in gstage_get_leaf_entry()
113 if (current_level) { in gstage_get_leaf_entry()
114 current_level--; in gstage_get_leaf_entry()
115 *ptep_level = current_level; in gstage_get_leaf_entry()
117 ptep = &ptep[gstage_pte_index(addr, current_level)]; in gstage_get_leaf_entry()
141 u32 current_level = gstage_pgd_levels - 1; in gstage_set_pte() local
143 pte_t *ptep = &next_ptep[gstage_pte_index(addr, current_level)]; in gstage_set_pte()
[all …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-daemon.c61 id->pkg, id->die, pkg_dev.current_level); in process_level_change()
68 if (per_package_levels_info[id->pkg][id->die][id->punit] == pkg_dev.current_level) in process_level_change()
73 pkg_dev.current_level); in process_level_change()
75 per_package_levels_info[id->pkg][id->die][id->punit] = pkg_dev.current_level; in process_level_change()
79 ret = isst_get_coremask_info(id, pkg_dev.current_level, &ctdp_level); in process_level_change()
93 isolate_cpus(id, ctdp_level.core_cpumask_size, ctdp_level.core_cpumask, pkg_dev.current_level); in process_level_change()
H A Disst-core-tpmi.c167 pkg_dev->current_level = info.current_level; in tpmi_get_config_levels()
441 int current_level; in tpmi_set_pbf_fact_status() local
449 current_level = pkg_dev.current_level; in tpmi_set_pbf_fact_status()
451 ret = isst_get_ctdp_control(id, current_level, &ctdp_level); in tpmi_set_pbf_fact_status()
H A Disst-core-mbox.c247 pkg_dev->current_level = 0; in mbox_get_config_levels()
257 pkg_dev->current_level = (resp >> 16) & 0xff; in mbox_get_config_levels()
699 int current_level; in mbox_set_pbf_fact_status() local
707 current_level = pkg_dev.current_level; in mbox_set_pbf_fact_status()
709 ret = isst_get_ctdp_control(id, current_level, &ctdp_level); in mbox_set_pbf_fact_status()
897 ret = isst_get_ctdp_control(id, pkg_dev.current_level, in mbox_pm_qos_config()
H A Disst-core.c304 ret = isst_get_get_trl(id, pkg_dev.current_level, 0, trl); in isst_set_trl_from_current_tdp()
373 id->cpu, pkg_dev->enabled, pkg_dev->current_level, in isst_get_process_ctdp()
H A Disst-config.c1206 _get_tdp_level("get-config-current_level", levels, current_level,
1420 if (pkg_dev.current_level == tdp_level) { in set_tdp_level_for_cpu()
1857 debug_printf("Current_level: %d\n", pkg_dev.current_level); in set_pbf_core_power()
1859 ret = isst_get_pbf_info(id, pkg_dev.current_level, &pbf_info); in set_pbf_core_power()
1910 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_pbf_for_cpu()
1917 …_error_info_message(1, "base-freq feature is not present at this level", 1, pkg_dev.current_level); in set_pbf_for_cpu()
2065 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_fact_for_cpu()
2072 …error_info_message(1, "turbo-freq feature is not present at this level", 1, pkg_dev.current_level); in set_fact_for_cpu()
H A Disst.h176 int current_level; member
/openbmc/smbios-mdr/tools/
H A Dsst-compare-redfish-os.py70 current_level = json.loads(process.stderr)
71 filter_powerdomains(current_level)
73 for proc, data in current_level.items():
224 current_level = get_level_from_config_id(applied_config)
226 current_level,
/openbmc/linux/drivers/regulator/
H A Dad5398.c24 unsigned int current_level; member
35 return chip->min_uA + (selector * range_uA / chip->current_level); in ad5398_calc_current()
101 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()
239 chip->current_level = 1 << df->current_bits; in ad5398_probe()
241 chip->current_mask = (chip->current_level - 1) << chip->current_offset; in ad5398_probe()
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c155 int current_level, in virt_create_upper_pte() argument
158 uint64_t *pte = virt_get_pte(vm, parent_pte, vaddr, current_level); in virt_create_upper_pte()
162 if (current_level == target_level) in virt_create_upper_pte()
172 TEST_ASSERT(current_level != target_level, in virt_create_upper_pte()
174 current_level, vaddr); in virt_create_upper_pte()
177 current_level, vaddr); in virt_create_upper_pte()
251 static bool vm_is_target_pte(uint64_t *pte, int *level, int current_level) in vm_is_target_pte() argument
255 *level == current_level, in vm_is_target_pte()
256 "Unexpected hugepage at level %d\n", current_level); in vm_is_target_pte()
257 *level = current_level; in vm_is_target_pte()
[all …]
H A Dvmx.c371 int current_level, in nested_create_pte() argument
378 pte->page_size = (current_level == target_level); in nested_create_pte()
389 TEST_ASSERT(current_level != target_level, in nested_create_pte()
391 current_level, nested_paddr); in nested_create_pte()
394 current_level, nested_paddr); in nested_create_pte()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c313 u16 current_level; in nv50_backlight_init() local
330 &current_level, &current_mode); in nv50_backlight_init()
334 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
342 props->brightness = current_level; in nv50_backlight_init()
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c897 enum amd_dpm_forced_level current_level; in amdgpu_dpm_force_performance_level() local
909 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_dpm_force_performance_level()
910 if (current_level == level) in amdgpu_dpm_force_performance_level()
915 if (current_level != AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
918 else if (current_level == AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
924 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
928 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
937 } else if ((current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c396 u16 current_level; in intel_dp_aux_vesa_setup_backlight() local
402 &current_level, &current_mode); in intel_dp_aux_vesa_setup_backlight()
427 panel->backlight.level = current_level; in intel_dp_aux_vesa_setup_backlight()
/openbmc/linux/include/uapi/linux/
H A Disst_if.h281 __u8 current_level; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c295 enum amd_dpm_forced_level current_level; in amdgpu_ctx_get_stable_pstate() local
297 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_ctx_get_stable_pstate()
299 switch (current_level) { in amdgpu_ctx_get_stable_pstate()
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c3781 u16 *current_level, u8 *current_mode) in drm_edp_backlight_init() argument
3807 *current_level = ret; in drm_edp_backlight_init()
3815 aux->name, *current_level, bl->max, bl->pwm_freq_pre_divider, in drm_edp_backlight_init()
3881 u16 current_level; in drm_panel_dp_aux_backlight() local
3906 &current_level, &current_mode); in drm_panel_dp_aux_backlight()
3911 props.brightness = current_level; in drm_panel_dp_aux_backlight()
/openbmc/linux/include/drm/display/
H A Ddrm_dp_helper.h681 u16 *current_level, u8 *current_mode);
/openbmc/qemu/tests/qemu-iotests/
H A Diotests.py129 current_level = _logger.level
135 _logger.setLevel(current_level)
/openbmc/linux/drivers/acpi/
H A Dacpi_video.c716 int max_level, int current_level) in acpi_video_bqc_quirk() argument
757 test_level = current_level == max_level in acpi_video_bqc_quirk()
/openbmc/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c709 _read_pp_info("current_level", perf_level.current_level, SST_PP_STATUS_OFFSET, in isst_if_get_perf_level()
/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c8957 u8 current_level = 7; in fan_resume() local
8966 fan_get_status_safe(&current_level)) in fan_resume()
8972 do_set = (fan_control_resume_level > current_level); in fan_resume()
8995 do_set = !(current_level & TP_EC_FAN_FULLSPEED) && in fan_resume()
8996 (current_level != fan_control_resume_level); in fan_resume()
/openbmc/linux/Documentation/admin-guide/pm/
H A Dintel-speed-select.rst204 get-config-current_level:0
/openbmc/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c2838 __le16 current_level; member