Home
last modified time | relevance | path

Searched refs:temps (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/macintosh/
H A Dtherm_adt746x.c76 u8 temps[3]; member
204 th->temps[i] = read_reg(th, TEMP_REG[i]); in read_sensors()
210 if (th->temps[0] != th->cached_temp[0] in display_stats()
211 || th->temps[1] != th->cached_temp[1] in display_stats()
212 || th->temps[2] != th->cached_temp[2]) { in display_stats()
217 th->temps[0], th->temps[1], th->temps[2], in display_stats()
221 th->cached_temp[0] = th->temps[0]; in display_stats()
222 th->cached_temp[1] = th->temps[ in display_stats()
[all...]
H A Dwindfarm_pid.c103 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 Dwindfarm_pid.h77 s32 temps[2]; /* temp. history buffer */ member
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dtherm_adt746x.c77 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[ in display_stats()
[all...]
H A Dwindfarm_pid.c103 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 Dwindfarm_pid.h80 s32 temps[2]; /* temp. history buffer */ member
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddell-wmi-ddv.c110 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 in dell_wmi_ddv_read_string()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dad7414.c43 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 Dthmc50.c87 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 Dnct7904.c393 s8 temps; in nct7904_read_temp() local
499 temps = ret; in nct7904_read_temp()
500 *val = temps * 1000; in nct7904_read_temp()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dad7414.c43 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 Dthmc50.c87 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 Dnct7904.c393 s8 temps; in nct7904_read_temp() local
499 temps = ret; in nct7904_read_temp()
500 *val = temps * 1000; in nct7904_read_temp()
/kernel/linux/linux-6.6/drivers/sbus/char/
H A Dbbc_i2c.h64 struct list_head temps; member
H A Dbbc_envctrl.c468 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 Dbbc_i2c.c305 INIT_LIST_HEAD(&bp->temps); in attach_one_i2c()
/kernel/linux/linux-5.10/drivers/sbus/char/
H A Dbbc_i2c.h65 struct list_head temps; member
H A Dbbc_envctrl.c468 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 Dbbc_i2c.c304 INIT_LIST_HEAD(&bp->temps); in attach_one_i2c()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dasus-wmi.c203 u8 temps[FAN_CURVE_POINTS]; member
2899 data->temps[i] = buf[i]; in fan_curve_copy_from_buf()
2997 value = data->temps[index]; in fan_curve_show()
3010 u8 *temps = data->temps; in fan_curve_write() local
3017 arg1 += (temps[i]) << shift; in fan_curve_write()
3018 arg2 += (temps[i + 4]) << shift; in fan_curve_write()
3051 data->temps[index] = value; in fan_curve_store()

Completed in 19 milliseconds