Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c21 static int (*uncore_write)(struct uncore_data *data, unsigned int input, unsigned int min_max);
25 char *buf, int min_max) in show_min_max_freq_khz() argument
36 if (min_max) in show_min_max_freq_khz()
44 int min_max) in store_min_max_freq_khz() argument
53 ret = uncore_write(data, input, min_max); in store_min_max_freq_khz()
76 #define store_uncore_min_max(name, min_max) \ argument
84 min_max); \
87 #define show_uncore_min_max(name, min_max) \ argument
93 return show_min_max_freq_khz(data, buf, min_max); \
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.h56 … int (*write_control_freq)(struct uncore_data *data, unsigned int input, unsigned int min_max),
/drivers/power/supply/
Dpower_supply_core.c662 u32 min_max[2]; in power_supply_get_battery_info() local
793 min_max, ARRAY_SIZE(min_max))) { in power_supply_get_battery_info()
794 info->temp_ambient_alert_min = min_max[0]; in power_supply_get_battery_info()
795 info->temp_ambient_alert_max = min_max[1]; in power_supply_get_battery_info()
798 min_max, ARRAY_SIZE(min_max))) { in power_supply_get_battery_info()
799 info->temp_alert_min = min_max[0]; in power_supply_get_battery_info()
800 info->temp_alert_max = min_max[1]; in power_supply_get_battery_info()
803 min_max, ARRAY_SIZE(min_max))) { in power_supply_get_battery_info()
804 info->temp_min = min_max[0]; in power_supply_get_battery_info()
805 info->temp_max = min_max[1]; in power_supply_get_battery_info()