/kernel/linux/linux-5.10/drivers/thermal/ |
D | cpufreq_cooling.c | 75 unsigned int max_level; member 100 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in get_level() 105 return cpufreq_cdev->max_level - i - 1; in get_level() 113 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in cpu_freq_to_power() 126 for (i = cpufreq_cdev->max_level; i > 0; i--) { in cpu_power_to_freq() 272 if (state > cpufreq_cdev->max_level) in cpufreq_state2power() 277 idx = cpufreq_cdev->max_level - state; in cpufreq_state2power() 337 nr_levels = cpufreq_cdev->max_level + 1; in em_is_sane() 358 idx = cpufreq_cdev->max_level - state; in get_state_freq() 366 idx = cpufreq_cdev->max_level - state; in get_state_freq() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | scattered.c | 53 u32 max_level; in init_scattered_cpuid_features() local 60 max_level = cpuid_eax(cb->level & 0xffff0000); in init_scattered_cpuid_features() 61 if (max_level < cb->level || in init_scattered_cpuid_features() 62 max_level > (cb->level | 0xffff)) in init_scattered_cpuid_features()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | nsdump.c | 678 u32 max_level = *((u32 *)context); in acpi_ns_dump_one_object_path() local 698 if (level <= max_level) { in acpi_ns_dump_one_object_path() 699 path_indent = max_level - level + 1; in acpi_ns_dump_one_object_path() 715 u32 *max_level = (u32 *)context; in acpi_ns_get_max_depth() local 717 if (level > *max_level) { in acpi_ns_get_max_depth() 718 *max_level = level; in acpi_ns_get_max_depth() 749 u32 max_level = 0; in acpi_ns_dump_object_paths() local 771 (void *)&max_level, NULL); in acpi_ns_dump_object_paths() 779 (void *)&max_level, NULL); in acpi_ns_dump_object_paths()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | paging_tmpl.h | 87 unsigned max_level; member 247 for (level = walker->max_level; level >= walker->level; --level) { in FNAME() 346 walker->max_level = walker->level; in FNAME() 628 int max_level, kvm_pfn_t pfn, bool map_writable, in FNAME() 685 level = kvm_mmu_hugepage_adjust(vcpu, gw->gfn, max_level, &pfn, in FNAME() 761 for (level = walker->level; level <= walker->max_level; level++) { in FNAME() 795 int max_level; in FNAME() local 836 max_level = PG_LEVEL_4K; in FNAME() 838 max_level = walker.level; in FNAME() 879 r = FNAME(fetch)(vcpu, addr, &walker, error_code, max_level, pfn, in FNAME()
|
D | tdp_mmu.h | 35 int map_writable, int max_level, kvm_pfn_t pfn,
|
D | mmu_internal.h | 137 int max_level, kvm_pfn_t *pfnp,
|
D | mmu.c | 2773 int max_level, kvm_pfn_t *pfnp, in kvm_mmu_hugepage_adjust() argument 2784 if (unlikely(max_level == PG_LEVEL_4K)) in kvm_mmu_hugepage_adjust() 2794 max_level = min(max_level, max_huge_page_level); in kvm_mmu_hugepage_adjust() 2795 for ( ; max_level > PG_LEVEL_4K; max_level--) { in kvm_mmu_hugepage_adjust() 2796 linfo = lpage_info_slot(gfn, slot, max_level); in kvm_mmu_hugepage_adjust() 2801 if (max_level == PG_LEVEL_4K) in kvm_mmu_hugepage_adjust() 2808 *req_level = level = min(level, max_level); in kvm_mmu_hugepage_adjust() 2851 int map_writable, int max_level, kvm_pfn_t pfn, in __direct_map() argument 2867 level = kvm_mmu_hugepage_adjust(vcpu, gfn, max_level, &pfn, in __direct_map() 3690 bool prefault, int max_level, bool is_tdp) in direct_page_fault() argument [all …]
|
D | tdp_mmu.c | 574 int map_writable, int max_level, kvm_pfn_t pfn, in kvm_tdp_mmu_map() argument 596 level = kvm_mmu_hugepage_adjust(vcpu, gfn, max_level, &pfn, in kvm_tdp_mmu_map()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_video.c | 759 int max_level, int current_level) in acpi_video_bqc_quirk() argument 800 test_level = current_level == max_level in acpi_video_bqc_quirk() 802 : max_level; in acpi_video_bqc_quirk() 833 int i, max_level = 0, count = 0, level_ac_battery = 0; in acpi_video_get_levels() local 886 if (br->levels[count] > max_level) in acpi_video_get_levels() 887 max_level = br->levels[count]; in acpi_video_get_levels() 915 if (max_level == br->levels[ACPI_VIDEO_FIRST_LEVEL]) { in acpi_video_get_levels() 921 } else if (max_level != br->levels[count - 1]) in acpi_video_get_levels() 928 *pmax_level = max_level; in acpi_video_get_levels() 952 int i, max_level = 0; in acpi_video_init_brightness() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | intel_pm.c | 821 return dev_priv->wm.max_level + 1; in intel_wm_num_levels() 1087 dev_priv->wm.max_level = G4X_WM_LEVEL_HPLL; in g4x_setup_wm_latency() 1319 if (level > dev_priv->wm.max_level) in g4x_raw_crtc_wm_is_valid() 1647 dev_priv->wm.max_level = VLV_WM_LEVEL_PM2; in vlv_setup_wm_latency() 1653 dev_priv->wm.max_level = VLV_WM_LEVEL_DDR_DVFS; in vlv_setup_wm_latency() 2152 wm->level = dev_priv->wm.max_level; in vlv_merge_wm() 2856 int level, max_level = ilk_wm_max_level(dev_priv); in intel_read_wm_latency() local 2902 for (level = 1; level <= max_level; level++) { in intel_read_wm_latency() 2904 for (i = level + 1; i <= max_level; i++) in intel_read_wm_latency() 2919 for (level = 1; level <= max_level; level++) { in intel_read_wm_latency() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | util.c | 290 bool perf_event_paranoid_check(int max_level) in perf_event_paranoid_check() argument 294 perf_event_paranoid() <= max_level; in perf_event_paranoid_check()
|
D | event.h | 405 bool perf_event_paranoid_check(int max_level);
|
/kernel/linux/linux-5.10/kernel/ |
D | params.c | 121 s16 max_level, in parse_one() argument 133 || params[i].level > max_level) in parse_one() 166 s16 max_level, in parse_args() argument 189 min_level, max_level, arg, unknown); in parse_args()
|
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
D | perf.c | 69 __le32 max_level; member 74 __le32 max_level; member 370 limits->max_level = cpu_to_le32(max_perf); in scmi_perf_mb_limits_set() 413 *max_perf = le32_to_cpu(limits->max_level); in scmi_perf_mb_limits_get()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | compression.h | 130 unsigned int max_level; member
|
D | lzo.c | 487 .max_level = 1,
|
/kernel/linux/linux-5.10/arch/x86/events/amd/ |
D | ibs.c | 811 unsigned int max_level; in __get_ibs_caps() local 817 max_level = cpuid_eax(0x80000000); in __get_ibs_caps() 818 if (max_level < IBS_CPUID_FEATURES) in __get_ibs_caps()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega10_hwmgr.c | 5233 int max_level; in vega10_odn_update_power_state() local 5239 max_level = vega10_ps->performance_level_count - 1; in vega10_odn_update_power_state() 5241 if (vega10_ps->performance_levels[max_level].gfx_clock != in vega10_odn_update_power_state() 5243 vega10_ps->performance_levels[max_level].gfx_clock = in vega10_odn_update_power_state() 5246 if (vega10_ps->performance_levels[max_level].soc_clock != in vega10_odn_update_power_state() 5248 vega10_ps->performance_levels[max_level].soc_clock = in vega10_odn_update_power_state() 5251 if (vega10_ps->performance_levels[max_level].mem_clock != in vega10_odn_update_power_state() 5253 vega10_ps->performance_levels[max_level].mem_clock = in vega10_odn_update_power_state() 5261 max_level = vega10_ps->performance_level_count - 1; in vega10_odn_update_power_state() 5263 if (vega10_ps->performance_levels[max_level].gfx_clock != in vega10_odn_update_power_state() [all …]
|
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 1349 unsigned int eax, ebx, ecx, edx, max_level; in parse_cpuid() local 1354 get_cpuid_or_exit(0, &max_level, &ebx, &ecx, &edx); in parse_cpuid() 1372 max_level, family, model, stepping, family, model, stepping); in parse_cpuid()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
D | sas_expander.c | 991 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander() 1641 level = port->disc.max_level; in sas_ex_bfs_disc() 1644 } while (level < port->disc.max_level); in sas_ex_bfs_disc() 1658 ex->level = dev->port->disc.max_level; /* 0 */ in sas_discover_root_expander() 1945 } while (level <= dev->port->disc.max_level); in sas_discover_bfs_by_root()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm.h | 427 uint32_t fragment_size_default, unsigned max_level,
|
/kernel/linux/linux-5.10/sound/pci/mixart/ |
D | mixart_core.h | 89 u32 max_level; /* float */ member
|
/kernel/linux/linux-5.10/sound/pci/lola/ |
D | lola.h | 224 unsigned int max_level; member
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-cache-policy-smq.c | 335 static struct entry *q_peek(struct queue *q, unsigned max_level, bool can_cross_sentinel) in q_peek() argument 340 max_level = min(max_level, q->nr_levels); in q_peek() 342 for (level = 0; level < max_level; level++) in q_peek()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | node.c | 613 int max_level = dn->max_level; in f2fs_get_next_page_offset() local 616 if (!dn->max_level) in f2fs_get_next_page_offset() 619 while (max_level-- > cur_level) in f2fs_get_next_page_offset() 622 switch (dn->max_level) { in f2fs_get_next_page_offset() 824 dn->max_level = level; in f2fs_get_dnode_of_data()
|