Lines Matching defs:temp

16  * Chip	#vin	#fanin	#pwm	#temp	wchipid	vendid	i2c	ISA
223 s8 temp[6][5]; /* current, crit, crit_hyst,warn, warn_hyst */
569 long temp = TEMP_FROM_REG(data->temp[index][nr]);
573 temp += temp > 0 ? low : -low;
575 return sprintf(buf, "%ld\n", temp);
596 data->temp[index][nr] = TEMP_TO_REG(tmp, -128, 127);
598 data->temp[index][nr]);
607 * 1: Use internal temp sensor(default)
613 * 0: Disable temp sensor monitor
614 * 1: To enable temp sensors monitor
759 * It's possible two or more temp channels control the same fan, w83793
762 * It's possible one fan is not in any mapping of 6 temp channels, this
766 * Each temp channel has its own SmartFan mode, and temp channel
1048 SENSOR_ATTR_2(temp##index##_type, S_IRUGO | S_IWUSR, \
1050 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \
1052 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
1054 SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \
1056 SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \
1058 SENSOR_ATTR_2(temp##index##_warn_hyst, S_IRUGO | S_IWUSR, \
1060 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1062 SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \
1064 SENSOR_ATTR_2(temp##index##_auto_channels_pwm, \
1067 SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \
1074 SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \
1076 SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \
1078 SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \
1080 SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \
1082 SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \
1084 SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \
1086 SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \
1088 SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\
1090 SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\
1092 SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\
1094 SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\
1096 SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\
1098 SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\
1100 SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\
1975 data->temp[i][j] =
2052 for (i = 0; i < ARRAY_SIZE(data->temp); i++) {
2055 data->temp[i][TEMP_READ] =