Home
last modified time | relevance | path

Searched refs:temp_crit (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/thermal/
H A Dthermal_hwmon.c42 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ member
77 temp_crit); in temp_crit_show()
166 snprintf(temp->temp_crit.name, in thermal_add_hwmon_sysfs()
167 sizeof(temp->temp_crit.name), in thermal_add_hwmon_sysfs()
169 temp->temp_crit.attr.attr.name = temp->temp_crit.name; in thermal_add_hwmon_sysfs()
170 temp->temp_crit.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs()
171 temp->temp_crit.attr.show = temp_crit_show; in thermal_add_hwmon_sysfs()
172 sysfs_attr_init(&temp->temp_crit.attr.attr); in thermal_add_hwmon_sysfs()
174 &temp->temp_crit.attr); in thermal_add_hwmon_sysfs()
227 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c124 bool temp_crit, elec_fault, is_failure; in ef4_check_lm87() local
142 temp_crit = false; in ef4_check_lm87()
148 temp_crit = true; in ef4_check_lm87()
155 temp_crit = true; in ef4_check_lm87()
158 is_failure = temp_crit || elec_fault; in ef4_check_lm87()
170 temp_crit ? "; reached critical temperature" : "", in ef4_check_lm87()
/linux/drivers/hwmon/
H A Dpc87360.c220 s8 temp_crit[3]; /* Register value */ member
386 data->temp_crit[i] = pc87360_read_value(data, in pc87360_update_device()
985 TEMP_FROM_REG(data->temp_crit[attr->index])); in temp_crit_show()
1002 data->temp_crit[attr->index] = TEMP_TO_REG(val); in temp_crit_store()
1004 data->temp_crit[attr->index]); in temp_crit_store()
1009 static struct sensor_device_attribute temp_crit[] = { variable
1010 SENSOR_ATTR_RW(temp1_crit, temp_crit, 0),
1011 SENSOR_ATTR_RW(temp2_crit, temp_crit, 1),
1012 SENSOR_ATTR_RW(temp3_crit, temp_crit, 2),
1089 &temp_crit[X].dev_attr.attr, \
H A Dcorsair-psu.c128 long temp_crit[TEMP_COUNT]; member
319 priv->temp_crit[rail] = tmp; in corsairpsu_get_criticals()
481 *val = priv->temp_crit[channel]; in corsairpsu_hwmon_temp_read()
H A Dnct6775-core.c2389 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3);