/openbmc/linux/drivers/thermal/ |
H A D | thermal_hwmon.c | 42 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ member 76 temp_crit); in temp_crit_show() 189 snprintf(temp->temp_crit.name, in thermal_add_hwmon_sysfs() 190 sizeof(temp->temp_crit.name), in thermal_add_hwmon_sysfs() 192 temp->temp_crit.attr.attr.name = temp->temp_crit.name; in thermal_add_hwmon_sysfs() 193 temp->temp_crit.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs() 194 temp->temp_crit.attr.show = temp_crit_show; in thermal_add_hwmon_sysfs() 195 sysfs_attr_init(&temp->temp_crit.attr.attr); in thermal_add_hwmon_sysfs() 197 &temp->temp_crit.attr); in thermal_add_hwmon_sysfs() 245 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 124 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()
|
/openbmc/linux/drivers/hwmon/ |
H A D | pc87427.c | 67 s8 temp_crit[6]; /* register values */ member 311 data->temp_crit[nr] = inb(iobase + PC87427_REG_TEMP_CRIT); in pc87427_readall_temp() 724 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_crit[nr])); in temp_crit_show() 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 D | adm1031.c | 93 s8 temp_crit[3]; member 157 data->temp_crit[chan] = in adm1031_update_device() 703 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); in temp_crit_show() 787 data->temp_crit[nr] = TEMP_TO_REG(val); in temp_crit_store() 789 data->temp_crit[nr]); in temp_crit_store() 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 D | drivetemp.c | 128 int temp_crit; /* critical limit */ member 417 st->temp_crit = temp_from_sct(buf[7]); in drivetemp_identify_sata() 475 *val = st->temp_crit; in drivetemp_read()
|
H A D | sch5627.c | 78 u8 temp_crit[SCH5627_NO_TEMPS]; member 199 data->temp_crit[i] = val; in sch5627_read_limits() 268 *val = reg_to_temp_limit(data->temp_crit[channel]); in sch5627_read()
|
H A D | pc87360.c | 220 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 D | corsair-psu.c | 131 long temp_crit[TEMP_COUNT]; member 322 priv->temp_crit[rail] = tmp; in corsairpsu_get_criticals() 484 *val = priv->temp_crit[channel]; in corsairpsu_hwmon_temp_read()
|
H A D | adm1026.c | 273 s8 temp_crit[3]; /* Register value */ member 410 data->temp_crit[i] = adm1026_read_value(client, in adm1026_update_device() 1012 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_crit[nr])); in temp_crit_show() 1030 data->temp_crit[nr] = TEMP_TO_REG(val); in temp_crit_store() 1032 data->temp_crit[nr]); in temp_crit_store() 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 D | max6639.c | 343 static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp_crit, 0); 344 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp_crit, 1);
|
H A D | nct6683.c | 886 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", S_IRUGO, show_temp8, NULL, 0, 3);
|
H A D | nct6775-core.c | 2389 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3);
|
/openbmc/linux/drivers/hwmon/peci/ |
H A D | dimmtemp.c | 64 long temp_crit; member 136 priv->dimm[dimm_no].thresholds.temp_crit = GET_TEMP_CRIT(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds() 158 *val = priv->dimm[dimm_no].thresholds.temp_crit; in get_dimm_thresholds()
|
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/leds/rx20-led-manager-config/ |
H A D | led.yaml | 123 temp_crit:
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-hwmon | 459 corresponding temp_crit values.
|