Symbol: temp_crit
drivers/hwmon/adm1026.c
1020
return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr]));
drivers/hwmon/adm1026.c
1038
data->temp_crit[nr] = TEMP_TO_REG(val);
drivers/hwmon/adm1026.c
1040
data->temp_crit[nr]);
drivers/hwmon/adm1026.c
1045
static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp_crit, 0);
drivers/hwmon/adm1026.c
1046
static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp_crit, 1);
drivers/hwmon/adm1026.c
1047
static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp_crit, 2);
drivers/hwmon/adm1026.c
281
s8 temp_crit[3]; /* Register value */
drivers/hwmon/adm1026.c
418
data->temp_crit[i] = adm1026_read_value(client,
drivers/hwmon/adm1031.c
157
data->temp_crit[chan] =
drivers/hwmon/adm1031.c
703
return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr]));
drivers/hwmon/adm1031.c
787
data->temp_crit[nr] = TEMP_TO_REG(val);
drivers/hwmon/adm1031.c
789
data->temp_crit[nr]);
drivers/hwmon/adm1031.c
798
static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp_crit, 0);
drivers/hwmon/adm1031.c
803
static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp_crit, 1);
drivers/hwmon/adm1031.c
808
static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp_crit, 2);
drivers/hwmon/adm1031.c
93
s8 temp_crit[3];
drivers/hwmon/corsair-psu.c
128
long temp_crit[TEMP_COUNT];
drivers/hwmon/corsair-psu.c
314
priv->temp_crit[rail] = tmp;
drivers/hwmon/corsair-psu.c
476
*val = priv->temp_crit[channel];
drivers/hwmon/drivetemp.c
126
int temp_crit; /* critical limit */
drivers/hwmon/drivetemp.c
419
st->temp_crit = temp_from_sct(buf[7]);
drivers/hwmon/drivetemp.c
475
*val = st->temp_crit;
drivers/hwmon/emc1403.c
163
[hwmon_temp_crit] = temp_crit,
drivers/hwmon/emc1403.c
171
[temp_crit] = 0x20,
drivers/hwmon/emc1403.c
177
[temp_crit] = 0x19,
drivers/hwmon/emc1403.c
183
[temp_crit] = 0x1a,
drivers/hwmon/emc1403.c
189
[temp_crit] = 0x30,
drivers/hwmon/emc1403.c
195
[temp_crit] = 0x64,
drivers/hwmon/emc1403.c
201
[temp_crit] = 0x65,
drivers/hwmon/emc1403.c
207
[temp_crit] = 0x66,
drivers/hwmon/emc1403.c
213
[temp_crit] = 0x67,
drivers/hwmon/emc1403.c
222
[temp_crit] = -1,
drivers/hwmon/emc1403.c
228
[temp_crit] = -1,
drivers/hwmon/emc1403.c
234
[temp_crit] = -1,
drivers/hwmon/emc1403.c
240
[temp_crit] = -1,
drivers/hwmon/emc1403.c
246
[temp_crit] = -1,
drivers/hwmon/emc1403.c
252
[temp_crit] = -1,
drivers/hwmon/emc1403.c
258
[temp_crit] = -1,
drivers/hwmon/emc1403.c
264
[temp_crit] = -1,
drivers/hwmon/emc1403.c
334
ret = emc1403_get_hyst(data, channel, temp_crit, val);
drivers/hwmon/emc1403.c
437
ret = emc1403_get_temp(data, 0, temp_crit, &limit);
drivers/hwmon/nct6683.c
892
SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", S_IRUGO, show_temp8, NULL, 0, 3);
drivers/hwmon/nct6775-core.c
2390
SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3);
drivers/hwmon/pc87360.c
1002
data->temp_crit[attr->index] = TEMP_TO_REG(val);
drivers/hwmon/pc87360.c
1004
data->temp_crit[attr->index]);
drivers/hwmon/pc87360.c
1009
static struct sensor_device_attribute temp_crit[] = {
drivers/hwmon/pc87360.c
1010
SENSOR_ATTR_RW(temp1_crit, temp_crit, 0),
drivers/hwmon/pc87360.c
1011
SENSOR_ATTR_RW(temp2_crit, temp_crit, 1),
drivers/hwmon/pc87360.c
1012
SENSOR_ATTR_RW(temp3_crit, temp_crit, 2),
drivers/hwmon/pc87360.c
1089
&temp_crit[X].dev_attr.attr, \
drivers/hwmon/pc87360.c
220
s8 temp_crit[3]; /* Register value */
drivers/hwmon/pc87360.c
386
data->temp_crit[i] = pc87360_read_value(data,
drivers/hwmon/pc87360.c
985
TEMP_FROM_REG(data->temp_crit[attr->index]));
drivers/hwmon/pc87427.c
311
data->temp_crit[nr] = inb(iobase + PC87427_REG_TEMP_CRIT);
drivers/hwmon/pc87427.c
67
s8 temp_crit[6]; /* register values */
drivers/hwmon/pc87427.c
724
return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_crit[nr]));
drivers/hwmon/pc87427.c
800
static SENSOR_DEVICE_ATTR_RO(temp1_crit, temp_crit, 0);
drivers/hwmon/pc87427.c
801
static SENSOR_DEVICE_ATTR_RO(temp2_crit, temp_crit, 1);
drivers/hwmon/pc87427.c
802
static SENSOR_DEVICE_ATTR_RO(temp3_crit, temp_crit, 2);
drivers/hwmon/pc87427.c
803
static SENSOR_DEVICE_ATTR_RO(temp4_crit, temp_crit, 3);
drivers/hwmon/pc87427.c
804
static SENSOR_DEVICE_ATTR_RO(temp5_crit, temp_crit, 4);
drivers/hwmon/pc87427.c
805
static SENSOR_DEVICE_ATTR_RO(temp6_crit, temp_crit, 5);
drivers/hwmon/peci/dimmtemp.c
133
priv->dimm[dimm_no].thresholds.temp_crit = GET_TEMP_CRIT(data) * MILLIDEGREE_PER_DEGREE;
drivers/hwmon/peci/dimmtemp.c
154
*val = priv->dimm[dimm_no].thresholds.temp_crit;
drivers/hwmon/peci/dimmtemp.c
66
long temp_crit;
drivers/net/ethernet/sfc/falcon/falcon_boards.c
124
bool temp_crit, elec_fault, is_failure;
drivers/net/ethernet/sfc/falcon/falcon_boards.c
142
temp_crit = false;
drivers/net/ethernet/sfc/falcon/falcon_boards.c
148
temp_crit = true;
drivers/net/ethernet/sfc/falcon/falcon_boards.c
155
temp_crit = true;
drivers/net/ethernet/sfc/falcon/falcon_boards.c
158
is_failure = temp_crit || elec_fault;
drivers/net/ethernet/sfc/falcon/falcon_boards.c
170
temp_crit ? "; reached critical temperature" : "",
drivers/thermal/thermal_hwmon.c
183
snprintf(temp->temp_crit.name,
drivers/thermal/thermal_hwmon.c
184
sizeof(temp->temp_crit.name),
drivers/thermal/thermal_hwmon.c
186
temp->temp_crit.attr.attr.name = temp->temp_crit.name;
drivers/thermal/thermal_hwmon.c
187
temp->temp_crit.attr.attr.mode = 0444;
drivers/thermal/thermal_hwmon.c
188
temp->temp_crit.attr.show = temp_crit_show;
drivers/thermal/thermal_hwmon.c
189
sysfs_attr_init(&temp->temp_crit.attr.attr);
drivers/thermal/thermal_hwmon.c
191
&temp->temp_crit.attr);
drivers/thermal/thermal_hwmon.c
239
device_remove_file(hwmon->device, &temp->temp_crit.attr);
drivers/thermal/thermal_hwmon.c
42
struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */
drivers/thermal/thermal_hwmon.c
76
temp_crit);