Home
last modified time | relevance | path

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

/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()
94 pkg_dev.current_level, 0); in process_level_change()
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()
898 ret = isst_get_ctdp_control(id, pkg_dev.current_level, in mbox_pm_qos_config()
H A Disst-core-tpmi.c167 pkg_dev->current_level = info.current_level; in tpmi_get_config_levels()
447 int current_level; in tpmi_set_pbf_fact_status() local
455 current_level = pkg_dev.current_level; in tpmi_set_pbf_fact_status()
457 ret = isst_get_ctdp_control(id, current_level, &ctdp_level); in tpmi_set_pbf_fact_status()
H A Disst-core.c307 ret = isst_get_get_trl(id, pkg_dev.current_level, 0, trl); in isst_set_trl_from_current_tdp()
380 id->cpu, pkg_dev->enabled, pkg_dev->current_level, in isst_get_process_ctdp()
H A Disst-config.c1277 _get_tdp_level("get-config-current_level", levels, current_level,
1491 if (pkg_dev.current_level == tdp_level) { in set_tdp_level_for_cpu()
1929 debug_printf("Current_level: %d\n", pkg_dev.current_level); in set_pbf_core_power()
1931 ret = isst_get_pbf_info(id, pkg_dev.current_level, &pbf_info); in set_pbf_core_power()
1982 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_pbf_for_cpu()
1989 …_error_info_message(1, "base-freq feature is not present at this level", 1, pkg_dev.current_level); in set_pbf_for_cpu()
2138 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_fact_for_cpu()
2145 …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
/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()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c248 u16 current_level; in nv50_backlight_init() local
265 &current_level, &current_mode); in nv50_backlight_init()
269 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
277 props->brightness = current_level; in nv50_backlight_init()
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c157 int current_level, in virt_create_upper_pte() argument
160 uint64_t *pte = virt_get_pte(vm, parent_pte, vaddr, current_level); in virt_create_upper_pte()
166 if (current_level == target_level) in virt_create_upper_pte()
176 TEST_ASSERT(current_level != target_level, in virt_create_upper_pte()
178 current_level, vaddr); in virt_create_upper_pte()
181 current_level, vaddr); in virt_create_upper_pte()
266 static bool vm_is_target_pte(uint64_t *pte, int *level, int current_level) in vm_is_target_pte() argument
270 *level == current_level, in vm_is_target_pte()
271 "Unexpected hugepage at level %d", current_level); in vm_is_target_pte()
272 *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()
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c960 enum amd_dpm_forced_level current_level; in amdgpu_dpm_force_performance_level() local
972 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_dpm_force_performance_level()
973 if (current_level == level) in amdgpu_dpm_force_performance_level()
978 if (current_level != AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
981 else if (current_level == AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
987 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
991 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
1000 } else if ((current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c514 u16 current_level; in intel_dp_aux_vesa_setup_backlight() local
520 &current_level, &current_mode); in intel_dp_aux_vesa_setup_backlight()
547 panel->backlight.level = current_level; in intel_dp_aux_vesa_setup_backlight()
/linux/include/uapi/linux/
H A Disst_if.h281 __u8 current_level; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c296 enum amd_dpm_forced_level current_level; in amdgpu_ctx_get_stable_pstate() local
298 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_ctx_get_stable_pstate()
300 switch (current_level) { in amdgpu_ctx_get_stable_pstate()
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c3996 u16 *current_level, u8 *current_mode) in drm_edp_backlight_init() argument
4022 *current_level = ret; in drm_edp_backlight_init()
4030 aux->name, *current_level, bl->max, bl->pwm_freq_pre_divider, in drm_edp_backlight_init()
4096 u16 current_level; in drm_panel_dp_aux_backlight() local
4121 &current_level, &current_mode); in drm_panel_dp_aux_backlight()
4126 props.brightness = current_level; in drm_panel_dp_aux_backlight()
/linux/include/drm/display/
H A Ddrm_dp_helper.h754 u16 *current_level, u8 *current_mode);
/linux/drivers/acpi/
H A Dacpi_video.c715 int max_level, int current_level) in acpi_video_bqc_quirk() argument
756 test_level = current_level == max_level in acpi_video_bqc_quirk()
/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c9003 u8 current_level = 7; in fan_resume() local
9012 fan_get_status_safe(&current_level)) in fan_resume()
9018 do_set = (fan_control_resume_level > current_level); in fan_resume()
9041 do_set = !(current_level & TP_EC_FAN_FULLSPEED) && in fan_resume()
9042 (current_level != fan_control_resume_level); in fan_resume()
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c863 _read_pp_info("current_level", perf_level.current_level, SST_PP_STATUS_OFFSET, in isst_if_get_perf_level()
/linux/Documentation/admin-guide/pm/
H A Dintel-speed-select.rst204 get-config-current_level:0
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c2843 __le16 current_level; member