/Linux-v4.19/drivers/devfreq/ |
D | governor_passive.c | 54 || devfreq->profile->max_state <= 0) in devfreq_passive_get_target_freq() 74 for (i = 0; i < parent_devfreq->profile->max_state; i++) in devfreq_passive_get_target_freq() 78 if (i == parent_devfreq->profile->max_state) { in devfreq_passive_get_target_freq() 84 if (i < devfreq->profile->max_state) { in devfreq_passive_get_target_freq() 87 count = devfreq->profile->max_state; in devfreq_passive_get_target_freq()
|
D | devfreq.c | 112 for (lev = 0; lev < devfreq->profile->max_state; lev++) in devfreq_get_freq_level() 131 profile->max_state = count; in set_freq_table() 133 profile->max_state, in set_freq_table() 137 profile->max_state = 0; in set_freq_table() 141 for (i = 0, freq = 0; i < profile->max_state; i++, freq++) { in set_freq_table() 145 profile->max_state = 0; in set_freq_table() 188 devfreq->profile->max_state) + lev]++; in devfreq_update_status() 599 if (!devfreq->profile->max_state && !devfreq->profile->freq_table) { in devfreq_add_device() 635 devfreq->profile->max_state, in devfreq_add_device() 636 devfreq->profile->max_state), in devfreq_add_device() [all …]
|
D | exynos-bus.c | 387 int ret, max_state; in exynos_bus_probe() local 502 max_state = bus->devfreq->profile->max_state; in exynos_bus_probe() 504 max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000); in exynos_bus_probe()
|
/Linux-v4.19/drivers/cpufreq/ |
D | cpufreq_stats.c | 22 unsigned int max_state; member 42 unsigned int count = stats->max_state; in cpufreq_stats_clear_table() 114 stats->trans_table[i*stats->max_state+j]); in show_trans_table() 148 for (index = 0; index < stats->max_state; index++) in freq_table_get_index() 202 stats->max_state = count; in cpufreq_stats_create_table() 246 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
|
D | intel_pstate.c | 1907 int max_state, turbo_max; in intel_pstate_update_perf_limits() local 1915 intel_pstate_get_hwp_max(cpu->cpu, &turbo_max, &max_state); in intel_pstate_update_perf_limits() 1917 max_state = intel_pstate_get_base_pstate(cpu); in intel_pstate_update_perf_limits() 1921 max_policy_perf = max_state * policy->max / max_freq; in intel_pstate_update_perf_limits() 1925 min_policy_perf = max_state * policy->min / max_freq; in intel_pstate_update_perf_limits() 1931 policy->cpu, max_state, in intel_pstate_update_perf_limits()
|
/Linux-v4.19/drivers/acpi/ |
D | processor_thermal.c | 185 int max_state = 0; in acpi_processor_max_state() local 191 max_state += cpufreq_get_max_state(pr->id); in acpi_processor_max_state() 193 max_state += (pr->throttling.state_count -1); in acpi_processor_max_state() 195 return max_state; in acpi_processor_max_state()
|
/Linux-v4.19/drivers/thermal/ |
D | fair_share.c | 64 unsigned long max_state; in get_target_state() local 66 cdev->ops->get_max_state(cdev, &max_state); in get_target_state() 68 return (long)(percentage * level * max_state) / (100 * tz->trips); in get_target_state()
|
D | db8500_thermal.c | 67 unsigned long max_state, upper, lower; in db8500_cdev_bind() local 70 cdev->ops->get_max_state(cdev, &max_state); in db8500_cdev_bind() 76 upper = lower = i > max_state ? max_state : i; in db8500_cdev_bind()
|
D | thermal_core.c | 555 unsigned long max_state; in power_actor_get_min_power() local 561 ret = cdev->ops->get_max_state(cdev, &max_state); in power_actor_get_min_power() 565 return cdev->ops->state2power(cdev, tz, max_state, min_power); in power_actor_get_min_power() 681 unsigned long max_state; in thermal_zone_bind_cooling_device() local 699 ret = cdev->ops->get_max_state(cdev, &max_state); in thermal_zone_bind_cooling_device() 705 upper = upper == THERMAL_NO_LIMIT ? max_state : upper; in thermal_zone_bind_cooling_device() 707 if (lower > upper || upper > max_state) in thermal_zone_bind_cooling_device()
|
D | thermal_sysfs.c | 724 static DEVICE_ATTR_RO(max_state);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 24 int max_state; member 32 .max_state = (4 * MLXSW_THERMAL_MAX_STATE) / 10, 38 .max_state = MLXSW_THERMAL_MAX_STATE, 45 .max_state = MLXSW_THERMAL_MAX_STATE, 51 .max_state = MLXSW_THERMAL_MAX_STATE, 57 .max_state = MLXSW_THERMAL_MAX_STATE, 114 trip->max_state, in mlxsw_thermal_bind()
|
/Linux-v4.19/drivers/platform/x86/ |
D | intel_menlow.c | 64 unsigned long *max_state) in memory_get_max_bandwidth() argument 85 *max_state = value - 1; in memory_get_max_bandwidth() 121 unsigned long max_state; in memory_set_cur_bandwidth() local 123 if (memory_get_max_bandwidth(cdev, &max_state)) in memory_set_cur_bandwidth() 126 if (state > max_state) in memory_set_cur_bandwidth()
|
/Linux-v4.19/drivers/thermal/int340x_thermal/ |
D | int3403_thermal.c | 49 unsigned long max_state; member 136 *state = obj->max_state; in int3403_get_max_state() 198 obj->max_state = p->package.count - 1; in int3403_cdev_add()
|
/Linux-v4.19/Documentation/hwmon/ |
D | mlxreg-fan | 59 (0..max_state) 60 max_state - RO file for maximum cooling state of the cooling device
|
/Linux-v4.19/tools/thermal/tmon/ |
D | sysfs.c | 107 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 112 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 550 if (ptdata.cdi[i].max_state < 10) { in set_ctrl_state() 555 cdev_state = state * ptdata.cdi[i].max_state/100; in set_ctrl_state()
|
D | tmon.h | 59 unsigned long max_state; member
|
D | tui.c | 229 ptdata.cdi[j].max_state); in show_cooling_device()
|
/Linux-v4.19/drivers/hwmon/ |
D | aspeed-pwm-tacho.c | 179 u8 max_state; member 790 *state = cdev->max_state; in aspeed_pwm_cz_get_max_state() 812 if (state > cdev->max_state) in aspeed_pwm_cz_set_cur_state() 847 cdev->max_state = num_levels - 1; in aspeed_create_pwm_cooling()
|
D | npcm750-pwm-fan.c | 187 u8 max_state; member 801 *state = cdev->max_state; in npcm7xx_pwm_cz_get_max_state() 824 if (state > cdev->max_state) in npcm7xx_pwm_cz_set_cur_state() 856 cdev->max_state = num_levels - 1; in npcm7xx_create_pwm_cooling()
|
/Linux-v4.19/include/linux/ |
D | devfreq.h | 109 unsigned int max_state; member
|
/Linux-v4.19/Documentation/thermal/ |
D | sysfs-api.txt | 196 and the cooling device can be in max_state. 288 |---max_state: Maximum cooling state of the cooling device 488 max_state 494 The value can any integer numbers between 0 and max_state: 496 - cur_state == max_state means the maximum cooling. 562 |---max_state: 8 567 |---max_state: 2
|
D | intel_powerclamp.txt | 268 max_state:50 273 max_state will start the idle injection. Reading cur_state returns the
|
/Linux-v4.19/drivers/thermal/tegra/ |
D | soctherm.c | 877 unsigned long *max_state) in throt_get_cdev_max_state() argument 879 *max_state = 1; in throt_get_cdev_max_state()
|