Lines Matching defs:temp
66 /* Temperatures (temp) numbered 0-6 (ix) */
93 /* In, temp & fan alarm bits */
115 u8 temp[7];
154 * temp2 (ix = 1) is the internal temp diode so it's scaled in the driver
265 /* temp registers */
266 for (ix = 0; ix < ARRAY_SIZE(data->temp); ix++) {
268 data->temp[ix] = vt1211_read8(data,
297 /* pwm & temp auto point registers */
420 res = TEMP_FROM_REG(ix, data->temp[ix]);
693 "temp channel %ld not supported. Choose a value between 1 and 7.\n",
699 dev_warn(dev, "temp channel %ld is not available.\n",
728 * Note that there is only a single set of temp auto points that controls both
952 { SENSOR_ATTR_2(temp##ix##_input, S_IRUGO, \
954 SENSOR_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \
956 SENSOR_ATTR_2(temp##ix##_max_hyst, S_IRUGO | S_IWUSR, \
958 SENSOR_ATTR_2(temp##ix##_alarm, S_IRUGO, \
1099 * as temp stays above hysteresis limit.
1101 * until temp falls below hysteresis limit and exceeds hot limit
1103 * 2: Clear INT when temp falls below max limit.