Lines Matching refs:temp_max
153 s8 temp_max[ADT7470_TEMP_COUNT]; member
365 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
486 return sprintf(buf, "%d\n", 1000 * data->temp_max[attr->index]); in temp_max_show()
505 data->temp_max[attr->index] = temp; in temp_max_store()
983 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0);
984 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1);
985 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
986 static SENSOR_DEVICE_ATTR_RW(temp4_max, temp_max, 3);
987 static SENSOR_DEVICE_ATTR_RW(temp5_max, temp_max, 4);
988 static SENSOR_DEVICE_ATTR_RW(temp6_max, temp_max, 5);
989 static SENSOR_DEVICE_ATTR_RW(temp7_max, temp_max, 6);
990 static SENSOR_DEVICE_ATTR_RW(temp8_max, temp_max, 7);
991 static SENSOR_DEVICE_ATTR_RW(temp9_max, temp_max, 8);
992 static SENSOR_DEVICE_ATTR_RW(temp10_max, temp_max, 9);