Home
last modified time | relevance | path

Searched refs:max_level (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/thermal/
H A Dcpufreq_cooling.c73 unsigned int max_level; member
99 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in get_level()
105 return cpufreq_cdev->max_level - i - 1; in get_level()
117 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in cpu_freq_to_power()
139 for (i = cpufreq_cdev->max_level; i > 0; i--) { in cpu_power_to_freq()
284 if (state > cpufreq_cdev->max_level) in cpufreq_state2power()
289 idx = cpufreq_cdev->max_level - state; in cpufreq_state2power()
350 nr_levels = cpufreq_cdev->max_level + 1; in em_is_sane()
404 idx = cpufreq_cdev->max_level - state; in get_state_freq()
418 idx = cpufreq_cdev->max_level - state; in get_state_freq()
[all …]
/linux/drivers/acpi/acpica/
H A Dnsdump.c678 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()
/linux/drivers/gpu/drm/xe/
H A Dxe_pt_walk.h36 unsigned int max_level; member
142 if (level < walk->max_level) in xe_pt_offset()
/linux/drivers/acpi/
H A Dacpi_video.c715 int max_level, int current_level) in acpi_video_bqc_quirk() argument
756 test_level = current_level == max_level in acpi_video_bqc_quirk()
758 : max_level; in acpi_video_bqc_quirk()
789 int i, max_level = 0, count = 0, level_ac_battery = 0; in acpi_video_get_levels() local
840 if (br->levels[count] > max_level) in acpi_video_get_levels()
841 max_level = br->levels[count]; in acpi_video_get_levels()
870 if (max_level == br->levels[ACPI_VIDEO_FIRST_LEVEL]) { in acpi_video_get_levels()
876 } else if (max_level != br->levels[count - 1]) in acpi_video_get_levels()
883 *pmax_level = max_level; in acpi_video_get_levels()
907 int i, max_level = 0; in acpi_video_init_brightness() local
[all …]
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c249 int max_level; member
400 pd_info->max_level = levels; in sst_main()
860 perf_level.max_level = power_domain_info->max_level; in isst_if_get_perf_level()
1084 if (perf_level.level > power_domain_info->max_level) in isst_if_get_perf_level_info()
1234 if (base_freq.level > power_domain_info->max_level) in isst_if_get_base_freq_info()
1356 if (turbo_freq.level > power_domain_info->max_level) in isst_if_get_turbo_freq_info()
/linux/kernel/
H A Dparams.c123 s16 max_level, in parse_one() argument
133 || params[i].level > max_level) in parse_one()
166 s16 max_level, in parse_args() argument
187 min_level, max_level, arg, unknown); in parse_args()
/linux/tools/perf/util/
H A Dutil.c332 bool perf_event_paranoid_check(int max_level) in perf_event_paranoid_check()
342 return perf_event_paranoid() <= max_level; in fetch_ubuntu_kernel_version()
326 perf_event_paranoid_check(int max_level) perf_event_paranoid_check() argument
H A Dmetricgroup.c1756 unsigned int *max_level = data; in metricgroup__topdown_max_level_callback()
1764 if (level > *max_level) in metricgroup__topdown_max_level_callback()
1765 *max_level = level; in metricgroup__topdown_max_level_callback()
1772 unsigned int max_level = 0; in metricgroups__topdown_max_level()
1779 &max_level); in metricgroups__topdown_max_level()
1780 return max_level; in metricgroups__topdown_max_level()
1755 unsigned int *max_level = data; metricgroup__topdown_max_level_callback() local
1771 unsigned int max_level = 0; metricgroups__topdown_max_level() local
H A Devent.h374 bool perf_event_paranoid_check(int max_level);
/linux/arch/x86/kvm/mmu/
H A Dmmu.c3081 gfn_t gfn, int max_level, bool is_private) in __kvm_mmu_max_mapping_level() argument
3086 max_level = min(max_level, max_huge_page_level); in __kvm_mmu_max_mapping_level()
3087 for ( ; max_level > PG_LEVEL_4K; max_level--) { in __kvm_mmu_max_mapping_level()
3088 linfo = lpage_info_slot(gfn, slot, max_level); in __kvm_mmu_max_mapping_level()
3094 return max_level; in __kvm_mmu_max_mapping_level()
3096 if (max_level == PG_LEVEL_4K) in __kvm_mmu_max_mapping_level()
3100 return min(host_level, max_level); in __kvm_mmu_max_mapping_level()
3119 if (unlikely(fault->max_level == PG_LEVEL_4K)) in kvm_mmu_hugepage_adjust()
3133 fault->gfn, fault->max_level, in kvm_mmu_hugepage_adjust()
4284 u8 max_level, int gmem_order) in kvm_max_private_mapping_level() argument
[all …]
/linux/fs/btrfs/
H A Dcompression.h140 unsigned int max_level; member
H A Dlzo.c493 .max_level = 1,
H A Dzlib.c466 .max_level = 9,
/linux/include/uapi/linux/
H A Disst_if.h278 __u8 max_level; member
/linux/drivers/firmware/arm_scmi/
H A Dperf.c92 __le32 max_level; member
97 __le32 max_level; member
549 limits->max_level = cpu_to_le32(max_perf); in scmi_perf_msg_limits_set()
633 *max_perf = le32_to_cpu(limits->max_level); in scmi_perf_msg_limits_get()
/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c764 u32 max_uA, max_level; in mt6370_init_led_properties() local
796 linear_range_get_selector_within(priv->ranges + sel_range, max_uA, &max_level); in mt6370_init_led_properties()
798 lcdev->max_brightness = max_level; in mt6370_init_led_properties()
/linux/drivers/scsi/libsas/
H A Dsas_expander.c943 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander()
1609 level = port->disc.max_level; in sas_ex_bfs_disc()
1612 } while (level < port->disc.max_level); in sas_ex_bfs_disc()
1626 ex->level = dev->port->disc.max_level; /* 0 */ in sas_discover_root_expander()
1916 } while (level <= dev->port->disc.max_level); in sas_discover_bfs_by_root()
/linux/tools/power/x86/intel-speed-select/
H A Disst-config.c1125 int *max_level = (int *)arg4; in get_isst_status() local
1142 if (*max_level < pkg_dev.levels) in get_isst_status()
1143 *max_level = pkg_dev.levels; in get_isst_status()
1169 int mask = 0, max_level = 0; in isst_print_extended_platform_info() local
1172 for_each_online_power_domain_in_set(get_isst_status, NULL, &id, &mask, &max_level); in isst_print_extended_platform_info()
1184 fprintf(outf, "TDP level change control is unlocked, max level: %d\n", max_level); in isst_print_extended_platform_info()
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c1439 unsigned int eax, ebx, ecx, edx, max_level; in parse_cpuid() local
1444 get_cpuid_or_exit(0, &max_level, &ebx, &ecx, &edx); in parse_cpuid()
1462 max_level, family, model, stepping, family, model, stepping); in parse_cpuid()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_hwmgr.c5468 int max_level; in vega10_odn_update_power_state() local
5477 max_level = vega10_ps->performance_level_count - 1; in vega10_odn_update_power_state()
5479 if (vega10_ps->performance_levels[max_level].gfx_clock != in vega10_odn_update_power_state()
5481 vega10_ps->performance_levels[max_level].gfx_clock = in vega10_odn_update_power_state()
5484 if (vega10_ps->performance_levels[max_level].soc_clock != in vega10_odn_update_power_state()
5486 vega10_ps->performance_levels[max_level].soc_clock = in vega10_odn_update_power_state()
5489 if (vega10_ps->performance_levels[max_level].mem_clock != in vega10_odn_update_power_state()
5491 vega10_ps->performance_levels[max_level].mem_clock = in vega10_odn_update_power_state()
5502 max_level = vega10_ps->performance_level_count - 1; in vega10_odn_update_power_state()
5504 if (vega10_ps->performance_levels[max_level].gfx_clock != in vega10_odn_update_power_state()
[all …]
/linux/arch/x86/events/amd/
H A Dibs.c1282 unsigned int max_level; in __get_ibs_caps() local
1288 max_level = cpuid_eax(0x80000000); in __get_ibs_caps()
1289 if (max_level < IBS_CPUID_FEATURES) in __get_ibs_caps()
/linux/sound/pci/mixart/
H A Dmixart_core.h90 u32 max_level; /* float */ member
/linux/drivers/md/
H A Ddm-cache-policy-smq.c336 static struct entry *q_peek(struct queue *q, unsigned int max_level, bool can_cross_sentinel) in q_peek() argument
341 max_level = min(max_level, q->nr_levels); in q_peek()
343 for (level = 0; level < max_level; level++) in q_peek()
/linux/sound/pci/lola/
H A Dlola.h224 unsigned int max_level; member
/linux/tools/perf/
H A Dbuiltin-stat.c1941 unsigned int max_level = metricgroups__topdown_max_level(); in add_default_attributes()
1947 if (!max_level) { in add_default_attributes()
1953 if (stat_config.topdown_level > max_level) { in add_default_attributes()
1954 pr_err("Invalid top-down metrics level. The max level is %u.\n", max_level); in add_default_attributes()
1997 unsigned int max_level = metricgroups__topdown_max_level(); add_default_attributes() local

12