Lines Matching refs:temp

189 			     u8 reg_temp, u8 reg_temp_low, int *temp)
194 *temp = 0;
207 *temp = (s16)t1 / 32 * 125;
438 int err, temp;
440 err = nct7802_read_temp(data, sattr->nr, sattr->index, &temp);
444 return sprintf(buf, "%d\n", temp);
563 static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0x01, REG_TEMP_LSB);
564 static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, 0x31, 0);
565 static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0x30, 0);
566 static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, 0x3a, 0);
569 static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 0x02, REG_TEMP_LSB);
570 static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, 0x33, 0);
571 static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 0x32, 0);
572 static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, 0x3b, 0);
575 static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 0x03, REG_TEMP_LSB);
576 static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, 0x35, 0);
577 static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 0x34, 0);
578 static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, 0x3c, 0);
580 static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 0x04, 0);
581 static SENSOR_DEVICE_ATTR_2_RW(temp4_min, temp, 0x37, 0);
582 static SENSOR_DEVICE_ATTR_2_RW(temp4_max, temp, 0x36, 0);
583 static SENSOR_DEVICE_ATTR_2_RW(temp4_crit, temp, 0x3d, 0);
585 static SENSOR_DEVICE_ATTR_2_RO(temp5_input, temp, 0x06, REG_TEMP_PECI_LSB);
586 static SENSOR_DEVICE_ATTR_2_RW(temp5_min, temp, 0x39, 0);
587 static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 0x38, 0);
588 static SENSOR_DEVICE_ATTR_2_RW(temp5_crit, temp, 0x3e, 0);
590 static SENSOR_DEVICE_ATTR_2_RO(temp6_input, temp, 0x07, REG_TEMP_PECI_LSB);
892 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point1_temp, temp, 0x80, 0);
893 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point2_temp, temp, 0x81, 0);
894 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point3_temp, temp, 0x82, 0);
895 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point4_temp, temp, 0x83, 0);
896 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point5_temp, temp, 0x84, 0);
906 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point1_temp, temp, 0x90, 0);
907 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point2_temp, temp, 0x91, 0);
908 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point3_temp, temp, 0x92, 0);
909 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point4_temp, temp, 0x93, 0);
910 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point5_temp, temp, 0x94, 0);
920 static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point1_temp, temp, 0xA0, 0);
921 static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point2_temp, temp, 0xA1, 0);
922 static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point3_temp, temp, 0xA2, 0);
923 static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point4_temp, temp, 0xA3, 0);
924 static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point5_temp, temp, 0xA4, 0);