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
271 /* temp registers */
272 for (ix = 0; ix < ARRAY_SIZE(data->temp); ix++) {
274 data->temp[ix] = vt1211_read8(data,
303 /* pwm & temp auto point registers */
426 res = TEMP_FROM_REG(ix, data->temp[ix]);
699 "temp channel %ld not supported. Choose a value between 1 and 7.\n",
705 dev_warn(dev, "temp channel %ld is not available.\n",
734 * Note that there is only a single set of temp auto points that controls both
958 { SENSOR_ATTR_2(temp##ix##_input, S_IRUGO, \
960 SENSOR_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \
962 SENSOR_ATTR_2(temp##ix##_max_hyst, S_IRUGO | S_IWUSR, \
964 SENSOR_ATTR_2(temp##ix##_alarm, S_IRUGO, \
1105 * as temp stays above hysteresis limit.
1107 * until temp falls below hysteresis limit and exceeds hot limit
1109 * 2: Clear INT when temp falls below max limit.