Searched refs:min_max (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/platform/x86/intel/uncore-frequency/ |
D | uncore-frequency-common.c | 23 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); \
|
D | uncore-frequency-tpmi.c | 128 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()
|
D | uncore-frequency.c | 59 unsigned int min_max) in uncore_write_control_freq() argument 75 if (min_max) { in uncore_write_control_freq()
|
D | uncore-frequency-common.h | 70 … int (*write_control_freq)(struct uncore_data *data, unsigned int input, unsigned int min_max),
|
/Linux-v6.6/drivers/power/supply/ |
D | power_supply_core.c | 584 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()
|