/linux-2.6.39/drivers/hwmon/ |
D | lm77.c | 57 int temp_crit; member 122 show(temp_crit); 130 return sprintf(buf, "%d\n", data->temp_crit - data->temp_hyst); in show_temp_crit_hyst() 170 data->temp_hyst = data->temp_crit - val; in set_temp_crit_hyst() 186 oldcrithyst = data->temp_crit - data->temp_hyst; in set_temp_crit() 187 data->temp_crit = val; in set_temp_crit() 188 data->temp_hyst = data->temp_crit - oldcrithyst; in set_temp_crit() 190 LM77_TEMP_TO_REG(data->temp_crit)); in set_temp_crit() 403 data->temp_crit = in lm77_update_device()
|
D | jc42.c | 148 u16 temp_crit; member 269 show(temp_crit); 283 temp = jc42_temp_from_reg(data->temp_crit); in show_temp_crit_hyst() 327 set(temp_crit, JC42_REG_TEMP_CRITICAL); 345 diff = jc42_temp_from_reg(data->temp_crit) - val; in set_temp_crit_hyst() 579 data->temp_crit = val; in jc42_update_device()
|
D | lm92.c | 256 u16 temp_low, temp_high, temp_hyst, temp_crit; in max6635_check() local 273 temp_crit = i2c_smbus_read_word_data(client, LM92_REG_TEMP_CRIT); in max6635_check() 274 if ((temp_hyst & 0x7f00) || (temp_crit & 0x7f00)) in max6635_check() 285 || temp_crit != i2c_smbus_read_word_data(client, in max6635_check()
|
D | tmp401.c | 122 u8 temp_crit[2]; member 196 data->temp_crit[i] = i2c_smbus_read_byte_data(client, in tmp401_update_device_reg16() 276 tmp401_crit_register_to_temp(data->temp_crit[index], in show_temp_crit() 287 temp = tmp401_crit_register_to_temp(data->temp_crit[index], in show_temp_crit_hyst() 401 data->temp_crit[index] = reg; in store_temp_crit() 425 temp = tmp401_crit_register_to_temp(data->temp_crit[index], in store_temp_crit_hyst()
|
D | adm1031.c | 104 s8 temp_crit[3]; member 625 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); in show_temp_crit() 690 data->temp_crit[nr] = TEMP_TO_REG(val); in set_temp_crit() 692 data->temp_crit[nr]); in set_temp_crit() 1042 data->temp_crit[chan] = in adm1031_update_device()
|
D | pc87360.c | 221 s8 temp_crit[3]; /* Register value */ member 815 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[attr->index])); in show_temp_crit() 859 data->temp_crit[attr->index] = TEMP_TO_REG(val); in set_temp_crit() 861 data->temp_crit[attr->index]); in set_temp_crit() 892 static struct sensor_device_attribute temp_crit[] = { variable 973 &temp_crit[X].dev_attr.attr, \ 1206 &temp_crit[i].dev_attr)) in pc87360_probe() 1588 data->temp_crit[i] = pc87360_read_value(data, in pc87360_update_device()
|
D | sch5627.c | 98 u8 temp_crit[SCH5627_NO_TEMPS]; member 336 data->temp_crit[i] = val; in sch5627_read_limits() 418 val = reg_to_temp_limit(data->temp_crit[attr->index]); in show_temp_crit()
|
D | adm1026.c | 273 s8 temp_crit[3]; /* Register value */ member 644 data->temp_crit[i] = adm1026_read_value(client, in adm1026_update_device() 1160 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); in show_temp_crit() 1172 data->temp_crit[nr] = TEMP_TO_REG(val); in set_temp_crit() 1174 data->temp_crit[nr]); in set_temp_crit()
|
D | pc87427.c | 73 s8 temp_crit[6]; /* register values */ member 301 data->temp_crit[nr] = inb(iobase + PC87427_REG_TEMP_CRIT); in pc87427_readall_temp() 717 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_crit[nr])); in show_temp_crit()
|
/linux-2.6.39/drivers/net/sfc/ |
D | falcon_boards.c | 127 bool temp_crit, elec_fault, is_failure; in efx_check_lm87() local 145 temp_crit = false; in efx_check_lm87() 151 temp_crit = true; in efx_check_lm87() 158 temp_crit = true; in efx_check_lm87() 161 is_failure = temp_crit || elec_fault; in efx_check_lm87() 173 temp_crit ? "; reached critical temperature" : "", in efx_check_lm87()
|
/linux-2.6.39/drivers/thermal/ |
D | thermal_sys.c | 460 temp_crit); in temp_crit_show() 521 snprintf(tz->temp_crit.name, THERMAL_NAME_LENGTH, in thermal_add_hwmon_sysfs() 523 tz->temp_crit.attr.attr.name = tz->temp_crit.name; in thermal_add_hwmon_sysfs() 524 tz->temp_crit.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs() 525 tz->temp_crit.attr.show = temp_crit_show; in thermal_add_hwmon_sysfs() 526 sysfs_attr_init(&tz->temp_crit.attr.attr); in thermal_add_hwmon_sysfs() 528 &tz->temp_crit.attr); in thermal_add_hwmon_sysfs() 543 device_remove_file(hwmon->device, &tz->temp_crit.attr); in thermal_add_hwmon_sysfs() 564 device_remove_file(hwmon->device, &tz->temp_crit.attr); in thermal_remove_hwmon_sysfs()
|
/linux-2.6.39/include/linux/ |
D | thermal.h | 127 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ member
|
/linux-2.6.39/Documentation/hwmon/ |
D | sysfs-interface | 326 corresponding temp_crit values.
|