Lines Matching refs:temp
16 * Also supports the LM82 temp sensor, which is basically a stripped down
112 s8 temp[9]; /* 0..3: input 1-4,
130 data->temp[nr] =
157 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]));
176 data->temp[nr] = TEMP_TO_REG(val);
178 data->temp[nr]);
200 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
201 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1);
202 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2);
203 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3);
204 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 4);
205 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, 5);
206 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp, 6);
207 static SENSOR_DEVICE_ATTR_RW(temp4_max, temp, 7);
208 static SENSOR_DEVICE_ATTR_RO(temp1_crit, temp, 8);
209 static SENSOR_DEVICE_ATTR_RO(temp2_crit, temp, 8);
210 static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp, 8);
211 static SENSOR_DEVICE_ATTR_RO(temp4_crit, temp, 8);