Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dlm92.c91 t_input, enumerator
100 [t_input] = LM92_REG_TEMP,
221 return sprintf(buf, "%d\n", ALARMS_FROM_REG(data->temp[t_input])); in alarms_show()
229 return sprintf(buf, "%d\n", (data->temp[t_input] >> bitnr) & 1); in show_alarm()
232 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input);
Djc42.c206 t_input = 0, enumerator
214 [t_input] = JC42_REG_TEMP,
291 *val = jc42_temp_from_reg(data->temp[t_input]); in jc42_read()
315 *val = (data->temp[t_input] >> JC42_ALARM_MIN_BIT) & 1; in jc42_read()
318 *val = (data->temp[t_input] >> JC42_ALARM_MAX_BIT) & 1; in jc42_read()
321 *val = (data->temp[t_input] >> JC42_ALARM_CRIT_BIT) & 1; in jc42_read()
Dlm77.c47 t_input = 0, enumerator
56 [t_input] = LM77_REG_TEMP,
219 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input);
Dlm80.c96 t_input = 0, enumerator
105 [t_input] = LM80_REG_TEMP,
228 data->temp[t_input] = (prev_rv << 8) | (rv & 0xf0); in lm80_update_device()
230 for (i = t_input + 1; i < t_num_temp; i++) { in lm80_update_device()
499 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input);