Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/riscv/kvm/
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()
141 u32 current_level = gstage_pgd_levels - 1; in gstage_set_pte() local
145 if (current_level < level) in gstage_set_pte()
148 while (current_level != level) { in gstage_set_pte()
[all …]
/linux-6.3-rc2/tools/power/x86/intel-speed-select/
A 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()
A 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()
508 int current_level; in isst_set_pbf_fact_status() local
516 current_level = pkg_dev.current_level; in isst_set_pbf_fact_status()
518 ret = isst_get_ctdp_control(id, current_level, &ctdp_level); in isst_set_pbf_fact_status()
723 ret = isst_get_get_trl(id, pkg_dev.current_level, 0, trl); in isst_set_trl_from_current_tdp()
785 id->cpu, pkg_dev->enabled, pkg_dev->current_level, in isst_get_process_ctdp()
934 ret = isst_get_ctdp_control(id, pkg_dev.current_level, in isst_pm_qos_config()
A Disst-config.c1123 _get_tdp_level("get-config-current_level", levels, current_level,
1766 debug_printf("Current_level: %d\n", pkg_dev.current_level); in set_pbf_core_power()
1768 ret = isst_get_pbf_info(id, pkg_dev.current_level, &pbf_info); in set_pbf_core_power()
1819 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_pbf_for_cpu()
1826 …_error_info_message(1, "base-freq feature is not present at this level", 1, pkg_dev.current_level); in set_pbf_for_cpu()
1974 ret = isst_get_ctdp_control(id, pkg_dev.current_level, &ctdp_level); in set_fact_for_cpu()
1981 …error_info_message(1, "turbo-freq feature is not present at this level", 1, pkg_dev.current_level); in set_fact_for_cpu()
A Disst.h176 int current_level; member
/linux-6.3-rc2/drivers/regulator/
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-6.3-rc2/tools/testing/selftests/kvm/lib/x86_64/
A Dprocessor.c154 int current_level, in virt_create_upper_pte() argument
157 uint64_t *pte = virt_get_pte(vm, parent_pte, vaddr, current_level); in virt_create_upper_pte()
161 if (current_level == target_level) in virt_create_upper_pte()
171 TEST_ASSERT(current_level != target_level, in virt_create_upper_pte()
173 current_level, vaddr); in virt_create_upper_pte()
176 current_level, vaddr); in virt_create_upper_pte()
250 static bool vm_is_target_pte(uint64_t *pte, int *level, int current_level) in vm_is_target_pte() argument
254 *level == current_level, in vm_is_target_pte()
255 "Unexpected hugepage at level %d\n", current_level); in vm_is_target_pte()
256 *level = current_level; in vm_is_target_pte()
[all …]
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-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_backlight.c308 u16 current_level; in nv50_backlight_init() local
325 &current_level, &current_mode); in nv50_backlight_init()
329 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
337 props->brightness = current_level; in nv50_backlight_init()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A 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.3-rc2/drivers/gpu/drm/amd/pm/
A Damdgpu_dpm.c867 enum amd_dpm_forced_level current_level; in amdgpu_dpm_force_performance_level() local
879 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_dpm_force_performance_level()
880 if (current_level == level) in amdgpu_dpm_force_performance_level()
885 if (current_level != AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
888 else if (current_level == AMD_DPM_FORCED_LEVEL_MANUAL && in amdgpu_dpm_force_performance_level()
894 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
898 if (!(current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
907 } else if ((current_level & profile_mode_mask) && in amdgpu_dpm_force_performance_level()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A 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.3-rc2/drivers/gpu/drm/display/
A 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.3-rc2/include/drm/display/
A Ddrm_dp_helper.h663 u16 *current_level, u8 *current_mode);
/linux-6.3-rc2/drivers/acpi/
A 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.3-rc2/drivers/platform/x86/
A Dthinkpad_acpi.c8994 u8 current_level = 7; in fan_resume() local
9003 fan_get_status_safe(&current_level)) in fan_resume()
9009 do_set = (fan_control_resume_level > current_level); in fan_resume()
9032 do_set = !(current_level & TP_EC_FAN_FULLSPEED) && in fan_resume()
9033 (current_level != fan_control_resume_level); in fan_resume()
/linux-6.3-rc2/Documentation/admin-guide/pm/
A Dintel-speed-select.rst204 get-config-current_level:0
/linux-6.3-rc2/drivers/net/wireless/marvell/
A Dmwl8k.c2838 __le16 current_level; member

Completed in 121 milliseconds