max_level 759 arch/x86/events/amd/ibs.c unsigned int max_level; max_level 765 arch/x86/events/amd/ibs.c max_level = cpuid_eax(0x80000000); max_level 766 arch/x86/events/amd/ibs.c if (max_level < IBS_CPUID_FEATURES) max_level 49 arch/x86/kernel/cpu/scattered.c u32 max_level; max_level 56 arch/x86/kernel/cpu/scattered.c max_level = cpuid_eax(cb->level & 0xffff0000); max_level 57 arch/x86/kernel/cpu/scattered.c if (max_level < cb->level || max_level 58 arch/x86/kernel/cpu/scattered.c max_level > (cb->level | 0xffff)) max_level 1334 arch/x86/kvm/mmu.c int host_level, level, max_level; max_level 1350 arch/x86/kvm/mmu.c max_level = min(kvm_x86_ops->get_lpage_level(), host_level); max_level 1352 arch/x86/kvm/mmu.c for (level = PT_DIRECTORY_LEVEL; level <= max_level; ++level) max_level 86 arch/x86/kvm/paging_tmpl.h unsigned max_level; max_level 235 arch/x86/kvm/paging_tmpl.h for (level = walker->max_level; level >= walker->level; --level) { max_level 334 arch/x86/kvm/paging_tmpl.h walker->max_level = walker->level; max_level 744 arch/x86/kvm/paging_tmpl.h for (level = walker->level; level <= walker->max_level; level++) { max_level 746 drivers/acpi/acpi_video.c int max_level, int current_level) max_level 787 drivers/acpi/acpi_video.c test_level = current_level == max_level max_level 789 drivers/acpi/acpi_video.c : max_level; max_level 820 drivers/acpi/acpi_video.c int i, max_level = 0, count = 0, level_ac_battery = 0; max_level 873 drivers/acpi/acpi_video.c if (br->levels[count] > max_level) max_level 874 drivers/acpi/acpi_video.c max_level = br->levels[count]; max_level 902 drivers/acpi/acpi_video.c if (max_level == br->levels[ACPI_VIDEO_FIRST_LEVEL]) { max_level 908 drivers/acpi/acpi_video.c } else if (max_level != br->levels[count - 1]) max_level 915 drivers/acpi/acpi_video.c *pmax_level = max_level; max_level 939 drivers/acpi/acpi_video.c int i, max_level = 0; max_level 944 drivers/acpi/acpi_video.c result = acpi_video_get_levels(device->dev, &br, &max_level); max_level 950 drivers/acpi/acpi_video.c br->curr = level = max_level; max_level 960 drivers/acpi/acpi_video.c result = acpi_video_bqc_quirk(device, max_level, level_old); max_level 981 drivers/acpi/acpi_video.c level = max_level; max_level 680 drivers/acpi/acpica/nsdump.c u32 max_level = *((u32 *)context); max_level 700 drivers/acpi/acpica/nsdump.c if (level <= max_level) { max_level 701 drivers/acpi/acpica/nsdump.c path_indent = max_level - level + 1; max_level 717 drivers/acpi/acpica/nsdump.c u32 *max_level = (u32 *)context; max_level 719 drivers/acpi/acpica/nsdump.c if (level > *max_level) { max_level 720 drivers/acpi/acpica/nsdump.c *max_level = level; max_level 751 drivers/acpi/acpica/nsdump.c u32 max_level = 0; max_level 773 drivers/acpi/acpica/nsdump.c (void *)&max_level, NULL); max_level 781 drivers/acpi/acpica/nsdump.c (void *)&max_level, NULL); max_level 65 drivers/firmware/arm_scmi/perf.c __le32 max_level; max_level 70 drivers/firmware/arm_scmi/perf.c __le32 max_level; max_level 345 drivers/firmware/arm_scmi/perf.c limits->max_level = cpu_to_le32(max_perf); max_level 388 drivers/firmware/arm_scmi/perf.c *max_perf = le32_to_cpu(limits->max_level); max_level 2565 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint32_t fragment_size_default, unsigned max_level, max_level 2612 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c adev->vm_manager.num_level = min(max_level, (unsigned)tmp); max_level 398 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h uint32_t fragment_size_default, unsigned max_level, max_level 5038 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c int max_level; max_level 5044 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c max_level = vega10_ps->performance_level_count - 1; max_level 5046 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (vega10_ps->performance_levels[max_level].gfx_clock != max_level 5048 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_ps->performance_levels[max_level].gfx_clock = max_level 5051 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (vega10_ps->performance_levels[max_level].soc_clock != max_level 5053 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_ps->performance_levels[max_level].soc_clock = max_level 5056 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (vega10_ps->performance_levels[max_level].mem_clock != max_level 5058 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_ps->performance_levels[max_level].mem_clock = max_level 5066 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c max_level = vega10_ps->performance_level_count - 1; max_level 5068 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (vega10_ps->performance_levels[max_level].gfx_clock != max_level 5070 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_ps->performance_levels[max_level].gfx_clock = max_level 5073 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (vega10_ps->performance_levels[max_level].soc_clock != max_level 5075 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_ps->performance_levels[max_level].soc_clock = max_level 5078 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (vega10_ps->performance_levels[max_level].mem_clock != max_level 5080 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_ps->performance_levels[max_level].mem_clock = max_level 12889 drivers/gpu/drm/i915/display/intel_display.c int plane, level, max_level = ilk_wm_max_level(dev_priv); max_level 12920 drivers/gpu/drm/i915/display/intel_display.c for (level = 0; level <= max_level; level++) { max_level 12972 drivers/gpu/drm/i915/display/intel_display.c for (level = 0; level <= max_level; level++) { max_level 1604 drivers/gpu/drm/i915/i915_drv.h u8 max_level; max_level 820 drivers/gpu/drm/i915/intel_pm.c return dev_priv->wm.max_level + 1; max_level 1066 drivers/gpu/drm/i915/intel_pm.c dev_priv->wm.max_level = G4X_WM_LEVEL_HPLL; max_level 1298 drivers/gpu/drm/i915/intel_pm.c if (level > dev_priv->wm.max_level) max_level 1610 drivers/gpu/drm/i915/intel_pm.c dev_priv->wm.max_level = VLV_WM_LEVEL_PM2; max_level 1616 drivers/gpu/drm/i915/intel_pm.c dev_priv->wm.max_level = VLV_WM_LEVEL_DDR_DVFS; max_level 2111 drivers/gpu/drm/i915/intel_pm.c wm->level = dev_priv->wm.max_level; max_level 2832 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 2876 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { max_level 2878 drivers/gpu/drm/i915/intel_pm.c for (i = level + 1; i <= max_level; i++) max_level 2893 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { max_level 2971 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 2973 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 3000 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 3006 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) max_level 3125 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv), usable_level; max_level 3149 drivers/gpu/drm/i915/intel_pm.c usable_level = max_level; max_level 3206 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 3222 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 3293 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 3294 drivers/gpu/drm/i915/intel_pm.c int last_enabled_level = max_level; max_level 3305 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { max_level 3335 drivers/gpu/drm/i915/intel_pm.c for (level = 2; level <= max_level; level++) { max_level 3433 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 3436 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { max_level 3950 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 3962 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 4896 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 4899 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 5151 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 5161 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 5187 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 5195 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 5217 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 5219 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 5773 drivers/gpu/drm/i915/intel_pm.c int level, max_level; max_level 5777 drivers/gpu/drm/i915/intel_pm.c max_level = ilk_wm_max_level(dev_priv); max_level 5782 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { max_level 5865 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); max_level 5872 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) max_level 6002 drivers/gpu/drm/i915/intel_pm.c int level, max_level; max_level 6017 drivers/gpu/drm/i915/intel_pm.c max_level = G4X_WM_LEVEL_HPLL; max_level 6019 drivers/gpu/drm/i915/intel_pm.c max_level = G4X_WM_LEVEL_SR; max_level 6021 drivers/gpu/drm/i915/intel_pm.c max_level = G4X_WM_LEVEL_NORMAL; max_level 6028 drivers/gpu/drm/i915/intel_pm.c if (++level > max_level) max_level 6037 drivers/gpu/drm/i915/intel_pm.c if (++level > max_level) max_level 6161 drivers/gpu/drm/i915/intel_pm.c dev_priv->wm.max_level = VLV_WM_LEVEL_PM5; max_level 335 drivers/md/dm-cache-policy-smq.c static struct entry *q_peek(struct queue *q, unsigned max_level, bool can_cross_sentinel) max_level 340 drivers/md/dm-cache-policy-smq.c max_level = min(max_level, q->nr_levels); max_level 342 drivers/md/dm-cache-policy-smq.c for (level = 0; level < max_level; level++) max_level 552 drivers/platform/x86/asus-wmi.c int max_level; max_level 555 drivers/platform/x86/asus-wmi.c max_level = asus->kbd_led.max_brightness; max_level 557 drivers/platform/x86/asus-wmi.c asus->kbd_led_wk = clamp_val(value, 0, max_level); max_level 146 drivers/scsi/libsas/sas_discover.c port->disc.max_level = 0; max_level 991 drivers/scsi/libsas/sas_expander.c parent->port->disc.max_level = max(parent->port->disc.max_level, max_level 1641 drivers/scsi/libsas/sas_expander.c level = port->disc.max_level; max_level 1644 drivers/scsi/libsas/sas_expander.c } while (level < port->disc.max_level); max_level 1658 drivers/scsi/libsas/sas_expander.c ex->level = dev->port->disc.max_level; /* 0 */ max_level 1945 drivers/scsi/libsas/sas_expander.c } while (level <= dev->port->disc.max_level); max_level 95 drivers/thermal/clock_cooling.c unsigned long max_level = 0, level = 0; max_level 116 drivers/thermal/clock_cooling.c max_level++; max_level 120 drivers/thermal/clock_cooling.c if (max_level == 0) max_level 124 drivers/thermal/clock_cooling.c max_level--; max_level 128 drivers/thermal/clock_cooling.c *output = max_level; max_level 133 drivers/thermal/clock_cooling.c level = descend ? input : (max_level - input); max_level 146 drivers/thermal/clock_cooling.c *output = descend ? i : (max_level - i); max_level 86 drivers/thermal/cpu_cooling.c unsigned int max_level; max_level 113 drivers/thermal/cpu_cooling.c for (level = 1; level <= cpufreq_cdev->max_level; level++) max_level 155 drivers/thermal/cpu_cooling.c if (num_opps != cpufreq_cdev->max_level + 1) { max_level 160 drivers/thermal/cpu_cooling.c for (i = 0; i <= cpufreq_cdev->max_level; i++) { max_level 200 drivers/thermal/cpu_cooling.c for (i = 1; i <= cpufreq_cdev->max_level; i++) max_level 213 drivers/thermal/cpu_cooling.c for (i = 1; i <= cpufreq_cdev->max_level; i++) max_level 285 drivers/thermal/cpu_cooling.c *state = cpufreq_cdev->max_level; max_level 325 drivers/thermal/cpu_cooling.c if (WARN_ON(state > cpufreq_cdev->max_level)) max_level 432 drivers/thermal/cpu_cooling.c if (WARN_ON(state > cpufreq_cdev->max_level)) max_level 574 drivers/thermal/cpu_cooling.c cpufreq_cdev->max_level = i - 1; max_level 595 drivers/thermal/cpu_cooling.c for (i = 0, freq = -1; i <= cpufreq_cdev->max_level; i++) { max_level 1631 fs/btrfs/compression.c level = min(level, ops->max_level); max_level 160 fs/btrfs/compression.h unsigned int max_level; max_level 5148 fs/btrfs/extent-tree.c struct walk_control *wc, int max_level) max_level 5154 fs/btrfs/extent-tree.c while (level < max_level && path->nodes[level]) { max_level 520 fs/btrfs/lzo.c .max_level = 1, max_level 1808 fs/btrfs/relocation.c int lowest_level, int max_level) max_level 1877 fs/btrfs/relocation.c if (level <= max_level) { max_level 2276 fs/btrfs/relocation.c int max_level; max_level 2334 fs/btrfs/relocation.c max_level = level; max_level 2349 fs/btrfs/relocation.c &next_key, level, max_level); max_level 431 fs/btrfs/zlib.c .max_level = 9, max_level 724 fs/btrfs/zstd.c .max_level = ZSTD_BTRFS_MAX_LEVEL, max_level 855 fs/f2fs/f2fs.h char max_level; /* level of current page located */ max_level 1019 fs/f2fs/file.c if (dn.max_level == 0) max_level 612 fs/f2fs/node.c int max_level = dn->max_level; max_level 615 fs/f2fs/node.c if (!dn->max_level) max_level 618 fs/f2fs/node.c while (max_level-- > cur_level) max_level 621 fs/f2fs/node.c switch (dn->max_level) { max_level 825 fs/f2fs/node.c dn->max_level = level; max_level 240 include/scsi/libsas.h int max_level; max_level 121 kernel/params.c s16 max_level, max_level 133 kernel/params.c || params[i].level > max_level) max_level 166 kernel/params.c s16 max_level, max_level 189 kernel/params.c min_level, max_level, arg, unknown); max_level 224 sound/pci/lola/lola.h unsigned int max_level; max_level 72 sound/pci/lola/lola_mixer.c pin->max_level = val & 0x3ff; /* 10 bits */ max_level 89 sound/pci/mixart/mixart_core.h u32 max_level; /* float */ max_level 387 tools/perf/util/event.h bool perf_event_paranoid_check(int max_level); max_level 255 tools/perf/util/util.c bool perf_event_paranoid_check(int max_level) max_level 258 tools/perf/util/util.c perf_event_paranoid() <= max_level; max_level 63 tools/power/x86/turbostat/turbostat.c unsigned int max_level, max_extended_level; max_level 1761 tools/power/x86/turbostat/turbostat.c if (max_level < 0xb) max_level 4645 tools/power/x86/turbostat/turbostat.c __cpuid(0, max_level, ebx, ecx, edx); max_level 4679 tools/power/x86/turbostat/turbostat.c max_level, max_extended_level, family, model, stepping, family, model, stepping); max_level 4752 tools/power/x86/turbostat/turbostat.c if (max_level >= 0x7 && !quiet) { max_level 4766 tools/power/x86/turbostat/turbostat.c if (max_level >= 0x15) { max_level 4806 tools/power/x86/turbostat/turbostat.c if (max_level >= 0x16) { max_level 1308 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int eax, ebx, ecx, edx, max_level; max_level 1313 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(0, &max_level, &ebx, &ecx, &edx); max_level 1331 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c max_level, family, model, stepping, family, model, stepping);