| /linux/drivers/hwmon/ |
| H A D | fschmd.c | 279 u8 temp_max[11]; /* high temp limit, notice: undocumented! */ member 353 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in temp_max_show() 374 data->temp_max[index] = v; in temp_max_store() 608 SENSOR_ATTR_RW(temp1_max, temp_max, 0), 612 SENSOR_ATTR_RW(temp2_max, temp_max, 1), 616 SENSOR_ATTR_RW(temp3_max, temp_max, 2), 620 SENSOR_ATTR_RW(temp4_max, temp_max, 3), 624 SENSOR_ATTR_RW(temp5_max, temp_max, 4), 628 SENSOR_ATTR_RW(temp6_max, temp_max, 5), 632 SENSOR_ATTR_RW(temp7_max, temp_max, 6), [all …]
|
| H A D | thmc50.c | 69 s8 temp_max[3]; member 96 data->temp_max[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 206 return sprintf(buf, "%d\n", data->temp_max[nr] * 1000); in temp_max_show() 224 data->temp_max[nr] = clamp_val(val / 1000, -128, 127); in temp_max_store() 226 data->temp_max[nr]); in temp_max_store() 250 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 254 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1); 258 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
|
| H A D | adm1025.c | 108 s8 temp_max[2]; /* register value */ member 138 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 211 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in temp_max_show() 312 data->temp_max[index] = TEMP_TO_REG(val); in temp_max_store() 314 data->temp_max[index]); in temp_max_store() 321 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 324 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1);
|
| H A D | smsc47m192.c | 96 s8 temp_max[3]; /* Register value */ member 129 data->temp_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 290 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in temp_max_show() 332 data->temp_max[nr] = TEMP_TO_REG(val); in temp_max_store() 334 data->temp_max[nr]); in temp_max_store() 388 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 392 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1); 396 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
|
| H A D | adm1031.c | 92 s8 temp_max[3]; member 154 data->temp_max[chan] = in adm1031_update_device() 447 data->temp_max[nr] = AUTO_TEMP_MAX_TO_REG(val, data->auto_temp[nr], in auto_temp_max_store() 450 data->temp_max[nr]); in auto_temp_max_store() 696 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in temp_max_show() 765 data->temp_max[nr] = TEMP_TO_REG(val); in temp_max_store() 767 data->temp_max[nr]); in temp_max_store() 797 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 802 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1); 807 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
|
| H A D | gl520sm.c | 80 u8 temp_max[2]; member 144 data->temp_max[0] = gl520_read_value(client, in gl520_update_device() 163 data->temp_max[1] = gl520_read_value(client, in gl520_update_device() 516 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[n])); in temp_max_show() 543 data->temp_max[n] = TEMP_TO_REG(v); in temp_max_store() 544 gl520_write_value(client, GL520_REG_TEMP_MAX[n], data->temp_max[n]); in temp_max_store() 573 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 574 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1);
|
| H A D | pc87360.c | 219 s8 temp_max[3]; /* Register value */ member 383 data->temp_max[i] = pc87360_read_value(data, in pc87360_update_device() 949 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[attr->index])); in temp_max_show() 966 data->temp_max[attr->index] = TEMP_TO_REG(val); in temp_max_store() 968 data->temp_max[attr->index]); in temp_max_store() 973 static struct sensor_device_attribute temp_max[] = { variable 974 SENSOR_ATTR_RW(temp1_max, temp_max, 0), 975 SENSOR_ATTR_RW(temp2_max, temp_max, 1), 976 SENSOR_ATTR_RW(temp3_max, temp_max, 2), 1088 &temp_max[X].dev_attr.attr, \
|
| H A D | lm85.c | 306 s8 temp_max[3]; /* Register value */ member 504 data->temp_max[i] = in lm85_update_device() 521 data->temp_max[i] -= 64; in lm85_update_device() 981 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in temp_max_show() 1002 data->temp_max[nr] = TEMP_TO_REG(val); in temp_max_store() 1003 lm85_write_value(client, LM85_REG_TEMP_MAX(nr), data->temp_max[nr]); in temp_max_store() 1010 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 1013 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1); 1016 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
|
| H A D | gl518sm.c | 121 u8 temp_max; /* Register values */ member 187 data->temp_max = in gl518_update_device() 235 show(TEMP, temp_max1, temp_max); 326 set(TEMP, temp_max1, temp_max, GL518_REG_TEMP_MAX);
|
| H A D | adt7462.c | 203 u8 temp_max[ADT7462_TEMP_COUNT]; member 737 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 823 return sprintf(buf, "%d\n", 1000 * (data->temp_max[attr->index] - 64)); in temp_max_show() 842 data->temp_max[attr->index] = temp; in temp_max_store() 1396 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 1397 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1); 1398 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2); 1399 static SENSOR_DEVICE_ATTR_RW(temp4_max, temp_max, 3);
|
| H A D | asb100.c | 196 u16 temp_max[4]; /* Register value (0 and 3 are u8 only) */ member 426 show_temp_reg(temp_max); 455 set_temp_reg(MAX, temp_max); 970 data->temp_max[i-1] = asb100_read_value(client, in asb100_update_device()
|
| H A D | adt7470.c | 157 s8 temp_max[ADT7470_TEMP_COUNT]; member 392 data->temp_max[i] = (s8)val; in adt7470_update_limits() 551 *val = 1000 * data->temp_max[channel]; in adt7470_temp_read() 580 data->temp_max[channel] = val; in adt7470_temp_write()
|
| H A D | lm93.c | 1331 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0); 1332 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1); 1333 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
|
| H A D | nct6775-core.c | 2387 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", 0644, show_temp, store_temp, 0, 1);
|
| /linux/drivers/thermal/ |
| H A D | imx_thermal.c | 209 int temp_max; member 429 data->temp_max = 95000; in imx_init_temp_grade() 433 data->temp_max = 105000; in imx_init_temp_grade() 437 data->temp_max = 105000; in imx_init_temp_grade() 441 data->temp_max = 125000; in imx_init_temp_grade() 449 trips[IMX_TRIP_PASSIVE].temperature = data->temp_max - (1000 * 10); in imx_init_temp_grade() 450 trips[IMX_TRIP_CRITICAL].temperature = data->temp_max - (1000 * 5); in imx_init_temp_grade() 698 data->temp_max / 1000, trips[IMX_TRIP_CRITICAL].temperature / 1000, in imx_thermal_probe()
|
| /linux/drivers/power/supply/ |
| H A D | ab8500_bmdata.c | 226 if (bi->temp_max == INT_MAX) in ab8500_bm_of_probe() 227 bi->temp_max = AB8500_TEMP_OVER; in ab8500_bm_of_probe()
|
| H A D | samsung-sdi-battery.c | 661 .temp_max = 60, 705 .temp_max = 47, 749 .temp_max = 49, 792 .temp_max = 60, 837 .temp_max = 60, 881 .temp_max = 60,
|
| H A D | power_supply_core.c | 649 info->temp_max = INT_MAX; in power_supply_get_battery_info() 724 info->temp_max = min_max[1]; in power_supply_get_battery_info() 914 return info->temp_max < INT_MAX; in power_supply_battery_info_has_prop() 975 val->intval = info->temp_max; in power_supply_battery_info_get_prop()
|
| /linux/include/linux/power/ |
| H A D | charger-manager.h | 187 int temp_max; member
|
| H A D | max17042_battery.h | 263 int temp_max; /* in tenths of degree Celsius */ member
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_hwmon.c | 99 int temp_max, index; in mlxsw_hwmon_temp_max_show() local 111 mlxsw_reg_mtmp_unpack(mtmp_pl, NULL, &temp_max, NULL, NULL, NULL); in mlxsw_hwmon_temp_max_show() 112 return sprintf(buf, "%d\n", temp_max); in mlxsw_hwmon_temp_max_show()
|
| /linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
| H A D | sislands_smc.h | 250 int16_t temp_max; member
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | sislands_smc.h | 254 int16_t temp_max; member
|
| /linux/Documentation/hwmon/ |
| H A D | sysfs-interface.rst | 256 corresponding temp_max values.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-hwmon | 451 corresponding temp_max values.
|