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

/linux-4.4.14/drivers/thermal/
H A Dthermal_hwmon.c54 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ member in struct:thermal_hwmon_temp
96 temp_crit); temp_crit_show()
199 snprintf(temp->temp_crit.name, thermal_add_hwmon_sysfs()
200 sizeof(temp->temp_crit.name), thermal_add_hwmon_sysfs()
202 temp->temp_crit.attr.attr.name = temp->temp_crit.name; thermal_add_hwmon_sysfs()
203 temp->temp_crit.attr.attr.mode = 0444; thermal_add_hwmon_sysfs()
204 temp->temp_crit.attr.show = temp_crit_show; thermal_add_hwmon_sysfs()
205 sysfs_attr_init(&temp->temp_crit.attr.attr); thermal_add_hwmon_sysfs()
207 &temp->temp_crit.attr); thermal_add_hwmon_sysfs()
257 device_remove_file(hwmon->device, &temp->temp_crit.attr); thermal_remove_hwmon_sysfs()
/linux-4.4.14/drivers/hwmon/
H A Dlm92.c271 u16 temp_low, temp_high, temp_hyst, temp_crit; max6635_check() local
290 temp_crit = i2c_smbus_read_word_data(client, LM92_REG_TEMP_CRIT); max6635_check()
291 if ((temp_hyst & 0x7f00) || (temp_crit & 0x7f00)) max6635_check()
304 || temp_crit != i2c_smbus_read_word_data(client, max6635_check()
H A Dsch5627.c85 u8 temp_crit[SCH5627_NO_TEMPS]; member in struct:sch5627_data
175 data->temp_crit[i] = val; sch5627_read_limits()
258 val = reg_to_temp_limit(data->temp_crit[attr->index]); show_temp_crit()
H A Dpc87360.c221 s8 temp_crit[3]; /* Register value */ member in struct:pc87360_data
900 TEMP_FROM_REG(data->temp_crit[attr->index])); show_temp_crit()
967 data->temp_crit[attr->index] = TEMP_TO_REG(val); set_temp_crit()
969 data->temp_crit[attr->index]); set_temp_crit()
1000 static struct sensor_device_attribute temp_crit[] = { variable in typeref:struct:sensor_device_attribute
1089 &temp_crit[X].dev_attr.attr, \
1696 data->temp_crit[i] = pc87360_read_value(data, pc87360_update_device()
H A Dadm1031.c106 s8 temp_crit[3]; member in struct:adm1031_data
170 data->temp_crit[chan] = adm1031_update_device()
727 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); show_temp_crit()
808 data->temp_crit[nr] = TEMP_TO_REG(val); set_temp_crit()
810 data->temp_crit[nr]); set_temp_crit()
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); pc87427_readall_temp()
734 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_crit[nr])); show_temp_crit()
H A Dadm1026.c284 s8 temp_crit[3]; /* Register value */ member in struct:adm1026_data
421 data->temp_crit[i] = adm1026_read_value(client, adm1026_update_device()
997 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); show_temp_crit()
1014 data->temp_crit[nr] = TEMP_TO_REG(val); set_temp_crit()
1016 data->temp_crit[nr]); set_temp_crit()
H A Dnct6683.c886 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", S_IRUGO, show_temp8, NULL, 0, 3);
H A Dnct6775.c846 * 3=temp_crit, 4=temp_lcrit
929 * 3=temp_crit, 4=temp_lcrit */
2227 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", S_IRUGO | S_IWUSR, show_temp,
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dfalcon_boards.c127 bool temp_crit, elec_fault, is_failure; efx_check_lm87() local
145 temp_crit = false; efx_check_lm87()
151 temp_crit = true; efx_check_lm87()
158 temp_crit = true; efx_check_lm87()
161 is_failure = temp_crit || elec_fault; efx_check_lm87()
173 temp_crit ? "; reached critical temperature" : "", efx_check_lm87()

Completed in 339 milliseconds