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

/linux-master/drivers/thermal/
H A Dthermal_hwmon.c42 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ member in struct:thermal_hwmon_temp
76 temp_crit);
186 snprintf(temp->temp_crit.name,
187 sizeof(temp->temp_crit.name),
189 temp->temp_crit.attr.attr.name = temp->temp_crit.name;
190 temp->temp_crit.attr.attr.mode = 0444;
191 temp->temp_crit.attr.show = temp_crit_show;
192 sysfs_attr_init(&temp->temp_crit.attr.attr);
194 &temp->temp_crit
[all...]
/linux-master/drivers/hwmon/
H A Demc1403.c160 enum emc1403_reg_map {temp_min, temp_max, temp_crit, temp_input}; enumerator in enum:emc1403_reg_map
165 [hwmon_temp_crit] = temp_crit,
173 [temp_crit] = 0x20,
179 [temp_crit] = 0x19,
185 [temp_crit] = 0x1a,
191 [temp_crit] = 0x30,
197 [temp_crit] = 0x64,
203 [temp_crit] = 0x65,
209 [temp_crit] = 0x66,
215 [temp_crit]
[all...]
H A Dpc87427.c67 s8 temp_crit[6]; /* register values */ member in struct:pc87427_data
311 data->temp_crit[nr] = inb(iobase + PC87427_REG_TEMP_CRIT);
724 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_crit[nr]));
800 static SENSOR_DEVICE_ATTR_RO(temp1_crit, temp_crit, 0);
801 static SENSOR_DEVICE_ATTR_RO(temp2_crit, temp_crit, 1);
802 static SENSOR_DEVICE_ATTR_RO(temp3_crit, temp_crit, 2);
803 static SENSOR_DEVICE_ATTR_RO(temp4_crit, temp_crit, 3);
804 static SENSOR_DEVICE_ATTR_RO(temp5_crit, temp_crit, 4);
805 static SENSOR_DEVICE_ATTR_RO(temp6_crit, temp_crit, 5);
H A Ddrivetemp.c128 int temp_crit; /* critical limit */ member in struct:drivetemp_data
417 st->temp_crit = temp_from_sct(buf[7]);
475 *val = st->temp_crit;
H A Dadm1031.c93 s8 temp_crit[3]; member in struct:adm1031_data
157 data->temp_crit[chan] =
703 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr]));
787 data->temp_crit[nr] = TEMP_TO_REG(val);
789 data->temp_crit[nr]);
798 static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp_crit, 0);
803 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp_crit, 1);
808 static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp_crit, 2);
H A Dpc87360.c220 s8 temp_crit[3]; /* Register value */ member in struct:pc87360_data
386 data->temp_crit[i] = pc87360_read_value(data,
985 TEMP_FROM_REG(data->temp_crit[attr->index]));
1002 data->temp_crit[attr->index] = TEMP_TO_REG(val);
1004 data->temp_crit[attr->index]);
1009 static struct sensor_device_attribute temp_crit[] = { variable in typeref:struct:sensor_device_attribute
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[
[all...]
H A Dcorsair-psu.c131 long temp_crit[TEMP_COUNT]; member in struct:corsairpsu_data
322 priv->temp_crit[rail] = tmp;
484 *val = priv->temp_crit[channel];
H A Dmax6639.c297 static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp_crit, 0);
298 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp_crit, 1);
H A Dadm1026.c273 s8 temp_crit[3]; /* Register value */ member in struct:adm1026_data
410 data->temp_crit[i] = adm1026_read_value(client,
1012 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr]));
1030 data->temp_crit[nr] = TEMP_TO_REG(val);
1032 data->temp_crit[nr]);
1037 static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp_crit, 0);
1038 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp_crit, 1);
1039 static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp_crit, 2);
H A Dnct6683.c888 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", S_IRUGO, show_temp8, NULL, 0, 3);
H A Dnct6775-core.c2389 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c124 bool temp_crit, elec_fault, is_failure; local
142 temp_crit = false;
148 temp_crit = true;
155 temp_crit = true;
158 is_failure = temp_crit || elec_fault;
170 temp_crit ? "; reached critical temperature" : "",
/linux-master/drivers/hwmon/peci/
H A Ddimmtemp.c64 long temp_crit; member in struct:peci_dimm_thresholds
136 priv->dimm[dimm_no].thresholds.temp_crit = GET_TEMP_CRIT(data) * MILLIDEGREE_PER_DEGREE;
158 *val = priv->dimm[dimm_no].thresholds.temp_crit;

Completed in 343 milliseconds