Searched refs:t_input (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/hwmon/ |
D | lm92.c | 91 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);
|
D | jc42.c | 206 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()
|
D | lm77.c | 47 t_input = 0, enumerator 56 [t_input] = LM77_REG_TEMP, 219 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, t_input);
|
D | lm80.c | 96 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);
|