Home
last modified time | relevance | path

Searched refs:min_max (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c23 static int (*uncore_write)(struct uncore_data *data, unsigned int input, unsigned int min_max);
48 char *buf, int min_max) in show_min_max_freq_khz() argument
59 if (min_max) in show_min_max_freq_khz()
67 int min_max) in store_min_max_freq_khz() argument
76 ret = uncore_write(data, input, min_max); in store_min_max_freq_khz()
99 #define store_uncore_min_max(name, min_max) \ argument
107 min_max); \
110 #define show_uncore_min_max(name, min_max) \ argument
116 return show_min_max_freq_khz(data, buf, min_max); \
Duncore-frequency-tpmi.c128 unsigned int min_max) in write_control_freq() argument
134 if (min_max) { in write_control_freq()
147 unsigned int min_max) in uncore_write_control_freq() argument
169 input, min_max); in uncore_write_control_freq()
172 if (min_max) in uncore_write_control_freq()
180 if (min_max && uncore_root->max_ratio && uncore_root->max_ratio < input) in uncore_write_control_freq()
183 if (!min_max && uncore_root->min_ratio && uncore_root->min_ratio > input) in uncore_write_control_freq()
186 write_control_freq(cluster_info, input, min_max); in uncore_write_control_freq()
Duncore-frequency.c59 unsigned int min_max) in uncore_write_control_freq() argument
75 if (min_max) { in uncore_write_control_freq()
Duncore-frequency-common.h70 … int (*write_control_freq)(struct uncore_data *data, unsigned int input, unsigned int min_max),
/Linux-v6.6/drivers/power/supply/
Dpower_supply_core.c584 u32 min_max[2]; in power_supply_get_battery_info() local
718 min_max, ARRAY_SIZE(min_max))) { in power_supply_get_battery_info()
719 info->temp_ambient_alert_min = min_max[0]; in power_supply_get_battery_info()
720 info->temp_ambient_alert_max = min_max[1]; in power_supply_get_battery_info()
723 min_max, ARRAY_SIZE(min_max))) { in power_supply_get_battery_info()
724 info->temp_alert_min = min_max[0]; in power_supply_get_battery_info()
725 info->temp_alert_max = min_max[1]; in power_supply_get_battery_info()
728 min_max, ARRAY_SIZE(min_max))) { in power_supply_get_battery_info()
729 info->temp_min = min_max[0]; in power_supply_get_battery_info()
730 info->temp_max = min_max[1]; in power_supply_get_battery_info()