Searched refs:temp_crit (Results 1 - 11 of 11) sorted by relevance

/drivers/hwmon/
H A Dlm77.c57 int temp_crit; member in struct:lm77_data
126 show(temp_crit); variable
135 return sprintf(buf, "%d\n", data->temp_crit - data->temp_hyst);
190 data->temp_hyst = data->temp_crit - val;
212 oldcrithyst = data->temp_crit - data->temp_hyst;
213 data->temp_crit = val;
214 data->temp_hyst = data->temp_crit - oldcrithyst;
216 LM77_TEMP_TO_REG(data->temp_crit));
434 data->temp_crit =
H A Djc42.c170 u16 temp_crit; member in struct:jc42_data
275 show(temp_crit); variable
289 temp = jc42_temp_from_reg(data->temp_crit);
333 set(temp_crit, JC42_REG_TEMP_CRITICAL);
353 diff = jc42_temp_from_reg(data->temp_crit) - val;
567 data->temp_crit = val;
H A Dtmp401.c122 u8 temp_crit[2]; member in struct:tmp401_data
196 data->temp_crit[i] = i2c_smbus_read_byte_data(client,
276 tmp401_crit_register_to_temp(data->temp_crit[index],
287 temp = tmp401_crit_register_to_temp(data->temp_crit[index],
401 data->temp_crit[index] = reg;
425 temp = tmp401_crit_register_to_temp(data->temp_crit[index],
H A Dlm92.c277 u16 temp_low, temp_high, temp_hyst, temp_crit; local
296 temp_crit = i2c_smbus_read_word_data(client, LM92_REG_TEMP_CRIT);
297 if ((temp_hyst & 0x7f00) || (temp_crit & 0x7f00))
310 || temp_crit != i2c_smbus_read_word_data(client,
H A Dsch5627.c85 u8 temp_crit[SCH5627_NO_TEMPS]; member in struct:sch5627_data
175 data->temp_crit[i] = val;
258 val = reg_to_temp_limit(data->temp_crit[attr->index]);
H A Dadm1031.c105 s8 temp_crit[3]; member in struct:adm1031_data
662 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr]));
743 data->temp_crit[nr] = TEMP_TO_REG(val);
745 data->temp_crit[nr]);
1095 data->temp_crit[chan] =
H A Dpc87360.c221 s8 temp_crit[3]; /* Register value */ member in struct:pc87360_data
898 TEMP_FROM_REG(data->temp_crit[attr->index]));
965 data->temp_crit[attr->index] = TEMP_TO_REG(val);
967 data->temp_crit[attr->index]);
998 static struct sensor_device_attribute temp_crit[] = { variable in typeref:struct:sensor_device_attribute
1087 &temp_crit[X].dev_attr.attr, \
1710 data->temp_crit[i] = pc87360_read_value(data,
H A Dpc87427.c75 s8 temp_crit[6]; /* register values */ member in struct:pc87427_data
311 data->temp_crit[nr] = inb(iobase + PC87427_REG_TEMP_CRIT);
733 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_crit[nr]));
H A Dadm1026.c283 s8 temp_crit[3]; /* Register value */ member in struct:adm1026_data
653 data->temp_crit[i] = adm1026_read_value(client,
1229 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr]));
1246 data->temp_crit[nr] = TEMP_TO_REG(val);
1248 data->temp_crit[nr]);
/drivers/net/ethernet/sfc/
H A Dfalcon_boards.c127 bool temp_crit, elec_fault, is_failure; local
145 temp_crit = false;
151 temp_crit = true;
158 temp_crit = true;
161 is_failure = temp_crit || elec_fault;
173 temp_crit ? "; reached critical temperature" : "",
/drivers/thermal/
H A Dthermal_sys.c424 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ member in struct:thermal_hwmon_temp
465 temp_crit);
565 snprintf(temp->temp_crit.name, THERMAL_NAME_LENGTH,
567 temp->temp_crit.attr.attr.name = temp->temp_crit.name;
568 temp->temp_crit.attr.attr.mode = 0444;
569 temp->temp_crit.attr.show = temp_crit_show;
570 sysfs_attr_init(&temp->temp_crit.attr.attr);
572 &temp->temp_crit.attr);
624 device_remove_file(hwmon->device, &temp->temp_crit
[all...]

Completed in 174 milliseconds