/linux-4.4.14/drivers/thermal/ |
D | imx_thermal.c | 98 int temp_max; member 417 data->temp_max = 95000; in imx_get_sensor_data() 421 data->temp_max = 105000; in imx_get_sensor_data() 425 data->temp_max = 105000; in imx_get_sensor_data() 429 data->temp_max = 125000; in imx_get_sensor_data() 437 data->temp_critical = data->temp_max - (1000 * 5); in imx_get_sensor_data() 438 data->temp_passive = data->temp_max - (1000 * 10); in imx_get_sensor_data() 577 data->temp_max / 1000, data->temp_critical / 1000, in imx_thermal_probe()
|
/linux-4.4.14/drivers/hwmon/ |
D | adm1021.c | 92 int temp_max[2]; /* Register values */ member 121 data->temp_max[i] = 1000 * in adm1021_update_device() 139 data->temp_max[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device() 174 return sprintf(buf, "%d\n", data->temp_max[index]); in show_temp_max() 219 data->temp_max[index] = reg_val * 1000; in set_temp_max()
|
D | thmc50.c | 82 s8 temp_max[3]; member 109 data->temp_max[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 218 return sprintf(buf, "%d\n", data->temp_max[nr] * 1000); in show_temp_max() 235 data->temp_max[nr] = clamp_val(val / 1000, -128, 127); in set_temp_max() 237 data->temp_max[nr]); in set_temp_max()
|
D | max1668.c | 78 s8 temp_max[5]; member 111 data->temp_max[i] = (s8) val; in max1668_update_device() 164 return sprintf(buf, "%d\n", data->temp_max[index] * 1000); in show_temp_max() 219 data->temp_max[index] = clamp_val(temp/1000, -128, 127); in set_temp_max() 222 data->temp_max[index]); in set_temp_max()
|
D | adm1025.c | 121 s8 temp_max[2]; /* register value */ member 151 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 224 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in show_temp_max() 318 data->temp_max[index] = TEMP_TO_REG(val); in set_temp_max() 320 data->temp_max[index]); in set_temp_max()
|
D | adm9240.c | 148 s8 temp_max[2]; /* rw 0 -> temp_max, 1 -> temp_max_hyst */ member 236 data->temp_max[0] = i2c_smbus_read_byte_data(client, in adm9240_update_device() 238 data->temp_max[1] = i2c_smbus_read_byte_data(client, in adm9240_update_device() 274 return sprintf(buf, "%d\n", data->temp_max[attr->index] * 1000); in show_max() 291 data->temp_max[attr->index] = TEMP_TO_REG(val); in set_max() 293 data->temp_max[attr->index]); in set_max()
|
D | vt8231.c | 168 u8 temp_max[6]; /* Register value */ member 361 return sprintf(buf, "%d\n", data->temp_max[0] * 1000); in show_temp0_max() 383 data->temp_max[0] = clamp_val((val + 500) / 1000, 0, 255); in set_temp0_max() 384 vt8231_write_value(data, regtempmax[0], data->temp_max[0]); in set_temp0_max() 421 return sprintf(buf, "%d\n", TEMP_MAXMIN_FROM_REG(data->temp_max[nr])); in show_temp_max() 447 data->temp_max[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in set_temp_max() 448 vt8231_write_value(data, regtempmax[nr], data->temp_max[nr]); in set_temp_max() 913 data->temp_max[i] = vt8231_read_value(data, in vt8231_update_device()
|
D | smsc47m192.c | 108 s8 temp_max[3]; /* Register value */ member 141 data->temp_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 294 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in show_temp_max() 334 data->temp_max[nr] = TEMP_TO_REG(val); in set_temp_max() 336 data->temp_max[nr]); in set_temp_max()
|
D | fschmd.c | 293 u8 temp_max[11]; /* high temp limit, notice: undocumented! */ member 367 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in show_temp_max() 387 data->temp_max[index] = v; in store_temp_max() 1131 data->temp_max[0] = 70 + 128; in fschmd_probe() 1132 data->temp_max[1] = 50 + 128; in fschmd_probe() 1133 data->temp_max[2] = 50 + 128; in fschmd_probe() 1333 data->temp_max[i] = i2c_smbus_read_byte_data( in fschmd_update_device() 1343 data->temp_act[i] < data->temp_max[i]) in fschmd_update_device()
|
D | adm1031.c | 105 s8 temp_max[3]; member 167 data->temp_max[chan] = in adm1031_update_device() 463 data->temp_max[nr] = AUTO_TEMP_MAX_TO_REG(val, data->auto_temp[nr], in set_auto_temp_max() 466 data->temp_max[nr]); in set_auto_temp_max() 720 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in show_temp_max() 787 data->temp_max[nr] = TEMP_TO_REG(val); in set_temp_max() 789 data->temp_max[nr]); in set_temp_max()
|
D | gl520sm.c | 94 u8 temp_max[2]; member 158 data->temp_max[0] = gl520_read_value(client, in gl520_update_device() 177 data->temp_max[1] = gl520_read_value(client, in gl520_update_device() 535 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[n])); in get_temp_max() 561 data->temp_max[n] = TEMP_TO_REG(v); in set_temp_max() 562 gl520_write_value(client, GL520_REG_TEMP_MAX[n], data->temp_max[n]); in set_temp_max()
|
D | emc2103.c | 78 s8 temp_max[4]; /* no fractional part */ member 164 &data->temp_max[i]); in emc2103_update_device() 211 int millidegrees = data->temp_max[nr] * 1000; in show_temp_max() 279 data->temp_max[nr] = val; in set_temp_max()
|
D | gl518sm.c | 133 u8 temp_max; /* Register values */ member 199 data->temp_max = in gl518_update_device() 247 show(TEMP, temp_max1, temp_max); 338 set(TEMP, temp_max1, temp_max, GL518_REG_TEMP_MAX);
|
D | vt1211.c | 129 u8 temp_max[7]; member 283 data->temp_max[ix] = vt1211_read8(data, in vt1211_update_device() 436 res = TEMP_FROM_REG(ix, data->temp_max[ix]); in show_temp() 470 data->temp_max[ix] = TEMP_TO_REG(ix, val); in set_temp() 472 data->temp_max[ix]); in set_temp()
|
D | sch5627.c | 84 u8 temp_max[SCH5627_NO_TEMPS]; member 169 data->temp_max[i] = val; in sch5627_read_limits() 247 val = reg_to_temp_limit(data->temp_max[attr->index]); in show_temp_max()
|
D | asb100.c | 209 u16 temp_max[4]; /* Register value (0 and 3 are u8 only) */ member 440 show_temp_reg(temp_max); 469 set_temp_reg(MAX, temp_max); 987 data->temp_max[i-1] = asb100_read_value(client, in asb100_update_device()
|
D | lm85.c | 311 s8 temp_max[3]; /* Register value */ member 509 data->temp_max[i] = in lm85_update_device() 526 data->temp_max[i] -= 64; in lm85_update_device() 977 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in show_temp_max() 997 data->temp_max[nr] = TEMP_TO_REG(val); in set_temp_max() 998 lm85_write_value(client, LM85_REG_TEMP_MAX(nr), data->temp_max[nr]); in set_temp_max()
|
D | pc87360.c | 220 s8 temp_max[3]; /* Register value */ member 891 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[attr->index])); in show_temp_max() 946 data->temp_max[attr->index] = TEMP_TO_REG(val); in set_temp_max() 948 data->temp_max[attr->index]); in set_temp_max() 992 static struct sensor_device_attribute temp_max[] = { variable 1088 &temp_max[X].dev_attr.attr, \ 1693 data->temp_max[i] = pc87360_read_value(data, in pc87360_update_device()
|
D | adt7470.c | 158 s8 temp_max[ADT7470_TEMP_COUNT]; member 370 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device() 496 return sprintf(buf, "%d\n", 1000 * data->temp_max[attr->index]); in show_temp_max() 516 data->temp_max[attr->index] = temp; in set_temp_max()
|
D | adm1026.c | 282 s8 temp_max[3]; /* Register value */ member 417 data->temp_max[i] = adm1026_read_value(client, in adm1026_update_device() 817 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in show_temp_max() 834 data->temp_max[nr] = TEMP_TO_REG(val); in set_temp_max() 836 data->temp_max[nr]); in set_temp_max()
|
D | w83627hf.c | 374 u16 temp_max[3]; /* Register value */ member 445 data->temp_max[i]); in w83627hf_resume() 725 u16 tmp = data->temp_max[nr]; in show_temp_max() 758 data->temp_max[nr] = tmp; in store_temp_max() 1894 data->temp_max[i] = w83627hf_read_value( in w83627hf_update_device()
|
D | pc87427.c | 74 s8 temp_max[6]; /* register values */ member 309 data->temp_max[nr] = inb(iobase + PC87427_REG_TEMP_MAX); in pc87427_readall_temp() 725 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_max[nr])); in show_temp_max()
|
D | dme1737.c | 235 s8 temp_max[3]; member 656 data->temp_max[ix] = dme1737_read(data, in dme1737_update_device() 905 res = TEMP_FROM_REG(data->temp_max[ix], 8); in show_temp() 947 data->temp_max[ix] = TEMP_TO_REG(val); in set_temp() 949 data->temp_max[ix]); in set_temp()
|
D | adt7462.c | 216 u8 temp_max[ADT7462_TEMP_COUNT]; member 746 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 835 return sprintf(buf, "%d\n", 1000 * (data->temp_max[attr->index] - 64)); in show_temp_max() 855 data->temp_max[attr->index] = temp; in set_temp_max()
|
D | w83627ehf.c | 471 s16 temp_max[9]; member 900 data->temp_max[i] in w83627ehf_update_device() 1219 show_temp_reg(reg_temp_over, temp_max); 1242 store_temp_reg(reg_temp_over, temp_max); 2652 data->temp_max[i]); in w83627ehf_resume()
|
D | w83781d.c | 231 s8 temp_max; /* Register value */ member 374 show_temp_reg(temp_max); 1510 data->temp_max = in w83781d_update_device()
|
D | nct6683.c | 883 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", S_IRUGO, show_temp8, NULL, 0, 1);
|
D | nct6775.c | 2223 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", S_IRUGO | S_IWUSR, show_temp,
|
/linux-4.4.14/drivers/hwmon/pmbus/ |
D | ltc2978.c | 106 u16 temp_min[LTC2974_NUM_PAGES], temp_max[LTC2974_NUM_PAGES]; member 262 &data->temp_max[page]); in ltc2978_read_word_data_common() 488 data->temp_max[page] = 0x7c00; in ltc2978_write_word_data() 639 for (i = 0; i < ARRAY_SIZE(data->temp_max); i++) in ltc2978_probe() 640 data->temp_max[i] = 0x7c00; in ltc2978_probe()
|
/linux-4.4.14/include/linux/power/ |
D | charger-manager.h | 195 int temp_max; member
|
D | max17042_battery.h | 221 int temp_max; /* in tenths of degree Celsius */ member
|
/linux-4.4.14/drivers/power/ |
D | max17042_battery.c | 164 if (temp >= chip->pdata->temp_max) { in max17042_get_battery_health() 292 val->intval = chip->pdata->temp_max; in max17042_get_property() 814 if (of_property_read_s32(np, "maxim,over-heat-temp", &pdata->temp_max)) in max17042_get_pdata() 815 pdata->temp_max = INT_MAX; in max17042_get_pdata()
|
D | power_supply_sysfs.c | 185 POWER_SUPPLY_ATTR(temp_max),
|
D | charger-manager.c | 653 upper_limit = desc->temp_max; in cm_check_thermal_status() 1478 if (!desc->temp_max) in cm_init_thermal_data() 1479 desc->temp_max = CM_DEFAULT_CHARGE_TEMP_MAX; in cm_init_thermal_data() 1549 of_property_read_u32(np, "cm-battery-hot", &desc->temp_max); in of_cm_parse_desc()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | sislands_smc.h | 254 int16_t temp_max; member
|
D | si_dpm.c | 6078 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
|
/linux-4.4.14/Documentation/hwmon/ |
D | sysfs-interface | 342 corresponding temp_max values.
|