/linux-6.3-rc2/arch/riscv/kvm/ |
A D | mmu.c | 101 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 D | isst-daemon.c | 60 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 D | isst-core.c | 57 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 D | isst-config.c | 1123 _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 D | isst.h | 176 int current_level; member
|
/linux-6.3-rc2/drivers/regulator/ |
A D | ad5398.c | 24 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 D | processor.c | 154 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 D | vmx.c | 371 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 D | nouveau_backlight.c | 308 u16 current_level; in nv50_backlight_init() local 325 ¤t_level, ¤t_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 D | intel_dp_aux_backlight.c | 379 u16 current_level; in intel_dp_aux_vesa_setup_backlight() local 385 ¤t_level, ¤t_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 D | amdgpu_dpm.c | 867 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 D | amdgpu_ctx.c | 279 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 D | drm_dp_helper.c | 3746 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 ¤t_level, ¤t_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 D | drm_dp_helper.h | 663 u16 *current_level, u8 *current_mode);
|
/linux-6.3-rc2/drivers/acpi/ |
A D | acpi_video.c | 720 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 D | thinkpad_acpi.c | 8994 u8 current_level = 7; in fan_resume() local 9003 fan_get_status_safe(¤t_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 D | intel-speed-select.rst | 204 get-config-current_level:0
|
/linux-6.3-rc2/drivers/net/wireless/marvell/ |
A D | mwl8k.c | 2838 __le16 current_level; member
|