Lines Matching refs:temp
29 #define ABIT_UGURU_SENSOR_BANK1 0x21 /* 16x volt and temp */
32 /* max nr of sensors in bank1, a bank1 sensor can be in, temp or nc */
43 #define ABIT_UGURU_TEMP_HIGH_ALARM_ENABLE 0x01 /* temp over warn */
46 #define ABIT_UGURU_TEMP_HIGH_ALARM_FLAG 0x10 /* temp is over warn */
99 * sum of strlen of: temp??_input\0, temp??_max\0, temp??_crit\0,
100 * temp??_alarm\0, temp??_alarm_enable\0, temp??_beep\0, temp??_shutdown\0
139 /* in (Volt) sensors go up to 3494 mV, temp to 255000 millidegrees Celsius */
171 " 1 temp sensor\n"
211 * of a sensor is a volt or a temp sensor, for bank2 and the pwms its
212 * easier todo things the same way. For in sensors we have 9 (temp 7)
222 /* number of and addresses of [0] in, [1] temp sensors */
228 * (flags, min, max for voltage / flags, warn, shutdown for temp).
553 * Temp sensor test, enable sensor as a temp sensor, set beep value
555 * If its a temp sensor this should always give us an alarm.
565 * and raise a temp alarm
569 /* Check for alarm and check the alarm is a temp high alarm. */
579 ABIT_UGURU_DEBUG(2, " found temp sensor\n");
583 ABIT_UGURU_DEBUG(2, " alarm raised during temp "
584 "sensor test, but temp high flag not set\n");
586 ABIT_UGURU_DEBUG(2, " alarm not raised during temp sensor "
700 * nibble is which temp sensor to use,
711 * the low nibble must correspond to one of the temp sensors
722 "to be a pwm channel: %d is not a valid temp "
756 /* check that min temp < max temp and min pwm < max pwm */
767 "to be a pwm channel: min temp (%d) >= "
768 "max temp (%d)\n", i,
1086 * We need to walk to the temp sensor addresses to find what
1087 * the userspace id of the configured temp sensor is.
1209 SENSOR_ATTR_2(temp%d_input, 0444, show_bank1_value, NULL, 0, 0),
1210 SENSOR_ATTR_2(temp%d_alarm, 0444, show_bank1_alarm, NULL,
1212 SENSOR_ATTR_2(temp%d_max, 0644, show_bank1_setting,
1214 SENSOR_ATTR_2(temp%d_crit, 0644, show_bank1_setting,
1216 SENSOR_ATTR_2(temp%d_beep, 0644, show_bank1_mask,
1218 SENSOR_ATTR_2(temp%d_shutdown, 0644, show_bank1_mask,
1220 SENSOR_ATTR_2(temp%d_alarm_enable, 0644, show_bank1_mask,
1339 /* res 1 (temp) sensors have 7 sysfs entries, 0 (in) 9 */