/linux/drivers/hwmon/ |
H A D | amc6821.c | 138 static int amc6821_get_auto_point_temps(struct regmap *regmap, int channel, u8 *temps) in amc6821_get_auto_point_temps() argument 152 temps[0] = regvals[1]; in amc6821_get_auto_point_temps() 153 temps[1] = FIELD_GET(AMC6821_TEMP_LIMIT_MASK, regvals[2]) * 4; in amc6821_get_auto_point_temps() 158 temps[2] = temps[1] + DIV_ROUND_CLOSEST(255 - regvals[0], slope); in amc6821_get_auto_point_temps() 160 temps[2] = 255; in amc6821_get_auto_point_temps() 500 u8 temps[3]; in temp_auto_point_temp_show() local 504 err = amc6821_get_auto_point_temps(data->regmap, nr, temps); in temp_auto_point_temp_show() 509 return sysfs_emit(buf, "%d\n", temps[ix] * 1000); in temp_auto_point_temp_show() 545 static inline int set_slope_register(struct regmap *regmap, int channel, u8 *temps) in set_slope_register() argument 547 u8 regval = FIELD_PREP(AMC6821_TEMP_LIMIT_MASK, temps[1] / 4); in set_slope_register() [all …]
|
H A D | ad7414.c | 43 s8 temps[ARRAY_SIZE(AD7414_REG_LIMIT)]; member 94 data->temps[i] = value; in ad7414_update_device() 119 return sprintf(buf, "%d\n", data->temps[index] * 1000); in max_min_show() 140 data->temps[index] = temp; in max_min_store()
|
H A D | thmc50.c | 87 int temps = data->has_temp3 ? 3 : 2; in thmc50_update_device() local 93 for (i = 0; i < temps; i++) { in thmc50_update_device()
|
H A D | nct7904.c | 393 s8 temps; in nct7904_read_temp() local 499 temps = ret; in nct7904_read_temp() 500 *val = temps * 1000; in nct7904_read_temp()
|
/linux/drivers/thermal/tegra/ |
H A D | tegra30-tsensor.c | 313 struct trip_temps *temps = arg; in tegra_tsensor_get_trips_cb() local 316 temps->hot_trip = trip->temperature; in tegra_tsensor_get_trips_cb() 318 temps->crit_trip = trip->temperature; in tegra_tsensor_get_trips_cb() 324 struct trip_temps *temps) in tegra_tsensor_get_hw_channel_trips() argument 330 temps->hot_trip = 85000; in tegra_tsensor_get_hw_channel_trips() 331 temps->crit_trip = 90000; in tegra_tsensor_get_hw_channel_trips() 333 thermal_zone_for_each_trip(tzd, tegra_tsensor_get_trips_cb, temps); in tegra_tsensor_get_hw_channel_trips() 336 temps->hot_trip = clamp(temps->hot_trip, 25000, 90000); in tegra_tsensor_get_hw_channel_trips() 345 temps->crit_trip = clamp(temps->crit_trip + 5000, 25000, 90000); in tegra_tsensor_get_hw_channel_trips() 353 struct trip_temps temps = { 0 }; in tegra_tsensor_enable_hw_channel() local [all …]
|
/linux/drivers/macintosh/ |
H A D | therm_adt746x.c | 77 u8 temps[3]; member 205 th->temps[i] = read_reg(th, TEMP_REG[i]); in read_sensors() 211 if (th->temps[0] != th->cached_temp[0] in display_stats() 212 || th->temps[1] != th->cached_temp[1] in display_stats() 213 || th->temps[2] != th->cached_temp[2]) { in display_stats() 218 th->temps[0], th->temps[1], th->temps[2], in display_stats() 222 th->cached_temp[0] = th->temps[0]; in display_stats() 223 th->cached_temp[1] = th->temps[1]; in display_stats() 224 th->cached_temp[2] = th->temps[2]; in display_stats() 237 int var = th->temps[i] - th->limits[i]; in update_fans_speed()
|
H A D | windfarm_pid.c | 103 st->temps[0] = st->temps[1] = new_temp; in wf_cpu_pid_run() 111 st->temps[st->tindex] = new_temp; in wf_cpu_pid_run() 125 deriv = st->temps[st->tindex] - in wf_cpu_pid_run() 126 st->temps[(st->tindex + 2 - 1) % 2]; in wf_cpu_pid_run()
|
H A D | windfarm_pid.h | 80 s32 temps[2]; /* temp. history buffer */ member
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-ddv.c | 110 struct dell_wmi_ddv_sensors temps; member 321 &data->temps, sizeof(*entry)); in dell_wmi_ddv_temp_read_channel() 325 if (channel >= data->temps.entries) in dell_wmi_ddv_temp_read_channel() 328 entry = (struct thermal_sensor_entry *)data->temps.obj->package.elements[1].buffer.pointer; in dell_wmi_ddv_temp_read_channel() 359 mutex_lock(&data->temps.lock); in dell_wmi_ddv_read() 361 mutex_unlock(&data->temps.lock); in dell_wmi_ddv_read() 409 &data->temps, sizeof(*entry)); in dell_wmi_ddv_temp_read_string() 413 if (channel >= data->temps.entries) in dell_wmi_ddv_temp_read_string() 416 entry = (struct thermal_sensor_entry *)data->temps.obj->package.elements[1].buffer.pointer; in dell_wmi_ddv_temp_read_string() 480 mutex_lock(&data->temps.lock); in dell_wmi_ddv_read_string() [all …]
|
/linux/sound/soc/mediatek/mt8365/ |
H A D | mt8365-dai-dmic.c | 270 unsigned int temps[4]; in init_dmic_priv_data() local 278 &temps[0], in init_dmic_priv_data() 281 dmic_priv->two_wire_mode = !!temps[0]; in init_dmic_priv_data()
|
/linux/drivers/sbus/char/ |
H A D | bbc_i2c.h | 64 struct list_head temps; member
|
H A D | bbc_envctrl.c | 468 list_add(&tp->bp_list, &bp->temps); in attach_one_temp() 542 list_for_each_entry_safe(tp, tpos, &bp->temps, bp_list) { in destroy_all_temps()
|
H A D | bbc_i2c.c | 305 INIT_LIST_HEAD(&bp->temps); in attach_one_i2c()
|
/linux/drivers/platform/x86/ |
H A D | asus-wmi.c | 237 u8 temps[FAN_CURVE_POINTS]; member 3206 data->temps[i] = buf[i]; in fan_curve_copy_from_buf() 3304 value = data->temps[index]; in fan_curve_show() 3317 u8 *temps = data->temps; in fan_curve_write() local 3324 arg1 += (temps[i]) << shift; in fan_curve_write() 3325 arg2 += (temps[i + 4]) << shift; in fan_curve_write() 3358 data->temps[index] = value; in fan_curve_store()
|
/linux/tools/power/cpupower/po/ |
H A D | fr.po | 305 msgstr " CPUs qui doivent changer de fréquences en même temps : " 310 msgstr " CPUs qui doivent changer de fréquences en même temps : " 432 " fréquences en même temps *\n" 441 " fréquences en même temps *\n"
|
/linux/Documentation/hwmon/ |
H A D | asc7621.rst | 203 via the PECI bus. Usually these are "core" temps and are relative
|
/linux/Documentation/crypto/ |
H A D | descore-readme.rst | 309 (actually, there are some code fragments now which do require two temps,
|