Lines Matching defs:temp
86 u8 temp[t_num_regs]; /* index with enum temp_index */
117 data->temp[i] = i2c_smbus_read_byte_data(client,
145 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index]));
161 data->temp[attr->index] = temp_to_reg(val);
163 data->temp[attr->index]);
183 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, t_input1);
184 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, t_input2);
185 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp, t_low2);
186 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, t_high2);
187 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp, t_crit2);
188 static SENSOR_DEVICE_ATTR_RW(temp2_crit_hyst, temp, t_hyst2);