Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kvm/
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 …]
/linux-6.1.9/tools/power/x86/intel-speed-select/
Disst-daemon.c60 id->pkg, id->die, pkg_dev.current_level); in process_level_change()
67 if (per_package_levels_info[id->pkg][id->die] == pkg_dev.current_level) in process_level_change()
72 pkg_dev.current_level); in process_level_change()
74 per_package_levels_info[id->pkg][id->die] = pkg_dev.current_level; in process_level_change()
78 ret = isst_get_coremask_info(id, pkg_dev.current_level, &ctdp_level); in process_level_change()
Disst-core.c57 pkg_dev->current_level = 0; in isst_get_ctdp_levels()
67 pkg_dev->current_level = (resp >> 16) & 0xff; in isst_get_ctdp_levels()
485 int current_level; in isst_set_pbf_fact_status() local
493 current_level = pkg_dev.current_level; in isst_set_pbf_fact_status()
495 ret = isst_get_ctdp_control(id, current_level, &ctdp_level); in isst_set_pbf_fact_status()
700 ret = isst_get_get_trl(id, pkg_dev.current_level, 0, trl); in isst_set_trl_from_current_tdp()
762 id->cpu, pkg_dev->enabled, pkg_dev->current_level, in isst_get_process_ctdp()
911 ret = isst_get_ctdp_control(id, pkg_dev.current_level, in isst_pm_qos_config()
Disst-config.c1096 _get_tdp_level("get-config-current_level", levels, current_level,
1696 debug_printf("Current_level: %d\n", pkg_dev.current_level); in set_pbf_core_power()
1698 ret = isst_get_pbf_info(id, pkg_dev.current_level, &pbf_info); in set_pbf_core_power()
1749 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_pbf_for_cpu()
1756 …_error_info_message(1, "base-freq feature is not present at this level", 1, pkg_dev.current_level); in set_pbf_for_cpu()
1904 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_fact_for_cpu()
1911 …error_info_message(1, "turbo-freq feature is not present at this level", 1, pkg_dev.current_level); in set_fact_for_cpu()
Disst.h174 int current_level; member
/linux-6.1.9/drivers/regulator/
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-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c304 u16 current_level; in nv50_backlight_init() local
321 &current_level, &current_mode); in nv50_backlight_init()
325 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
333 props->brightness = current_level; in nv50_backlight_init()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c391 int current_level, in nested_create_pte() argument
398 pte->page_size = (current_level == target_level); in nested_create_pte()
409 TEST_ASSERT(current_level != target_level, in nested_create_pte()
411 current_level, nested_paddr); in nested_create_pte()
414 current_level, nested_paddr); in nested_create_pte()
Dprocessor.c147 int current_level, in virt_create_upper_pte() argument
150 uint64_t *pte = virt_get_pte(vm, pt_pfn, vaddr, current_level); in virt_create_upper_pte()
154 if (current_level == target_level) in virt_create_upper_pte()
164 TEST_ASSERT(current_level != target_level, in virt_create_upper_pte()
166 current_level, vaddr); in virt_create_upper_pte()
169 current_level, vaddr); in virt_create_upper_pte()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp_aux_backlight.c379 u16 current_level; in intel_dp_aux_vesa_setup_backlight() local
385 &current_level, &current_mode); in intel_dp_aux_vesa_setup_backlight()
403 panel->backlight.level = current_level; in intel_dp_aux_vesa_setup_backlight()
/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c849 enum amd_dpm_forced_level current_level; in amdgpu_dpm_force_performance_level() local
861 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_dpm_force_performance_level()
862 if (current_level == level) in amdgpu_dpm_force_performance_level()
867 if (current_level != AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
870 else if (current_level == AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
876 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
880 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
889 } else if ((current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c279 enum amd_dpm_forced_level current_level; in amdgpu_ctx_get_stable_pstate() local
281 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_ctx_get_stable_pstate()
283 switch (current_level) { in amdgpu_ctx_get_stable_pstate()
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_helper.c3746 u16 *current_level, u8 *current_mode) in drm_edp_backlight_init() argument
3772 *current_level = ret; in drm_edp_backlight_init()
3780 aux->name, *current_level, bl->max, bl->pwm_freq_pre_divider, in drm_edp_backlight_init()
3846 u16 current_level; in drm_panel_dp_aux_backlight() local
3871 &current_level, &current_mode); in drm_panel_dp_aux_backlight()
3876 props.brightness = current_level; in drm_panel_dp_aux_backlight()
/linux-6.1.9/include/drm/display/
Ddrm_dp_helper.h663 u16 *current_level, u8 *current_mode);
/linux-6.1.9/drivers/acpi/
Dacpi_video.c720 int max_level, int current_level) in acpi_video_bqc_quirk() argument
761 test_level = current_level == max_level in acpi_video_bqc_quirk()
/linux-6.1.9/drivers/platform/x86/
Dthinkpad_acpi.c8997 u8 current_level = 7; in fan_resume() local
9006 fan_get_status_safe(&current_level)) in fan_resume()
9012 do_set = (fan_control_resume_level > current_level); in fan_resume()
9035 do_set = !(current_level & TP_EC_FAN_FULLSPEED) && in fan_resume()
9036 (current_level != fan_control_resume_level); in fan_resume()
/linux-6.1.9/Documentation/admin-guide/pm/
Dintel-speed-select.rst204 get-config-current_level:0
/linux-6.1.9/drivers/net/wireless/marvell/
Dmwl8k.c2838 __le16 current_level; member