Home
last modified time | relevance | path

Searched refs:temp_max (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/thermal/
H A Dimx_thermal.c209 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 Dab8500_bmdata.c226 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 Dsamsung-sdi-battery.c661 .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 Dmax17042_battery.c95 int temp_max; /* in tenths of degree Celsius */ member
249 if (temp > chip->temp_max) { in max17042_get_battery_health()
425 val->intval = chip->temp_max; in max17042_get_property()
1227 if (of_property_read_s32(np, "maxim,over-heat-temp", &chip->temp_max)) in max17042_parse_dt()
1228 chip->temp_max = INT_MAX; in max17042_parse_dt()
1262 chip->temp_max = MAX17042_DEFAULT_TEMP_MAX; in max17042_init_defaults()
/linux/include/linux/power/
H A Dcharger-manager.h187 int temp_max; member
/linux/drivers/hwmon/
H A Dpc87360.c219 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 Dadt7462.c203 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 Dw83627hf.c367 u16 temp_max[3]; /* Register value */ member
546 data->temp_max[i] = w83627hf_read_value( in w83627hf_update_device()
607 data->temp_max[i]); in w83627hf_resume()
1220 u16 tmp = data->temp_max[nr]; in temp_max_show()
1241 data->temp_max[nr] = tmp; in temp_max_store()
1282 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0);
1285 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1);
1288 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
H A Dadt7470.c177 s8 temp_max[ADT7470_TEMP_COUNT]; member
431 data->temp_max[i] = (s8)val; in adt7470_update_limits()
590 *val = 1000 * data->temp_max[channel]; in adt7470_temp_read()
622 data->temp_max[channel] = val; in adt7470_temp_write()
H A Dnct6775-core.c2387 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", 0644, show_temp, store_temp, 0, 1);
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c99 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 Dsislands_smc.h250 int16_t temp_max; member
H A Dsi_dpm.c6576 fan_table.temp_max = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
/linux/drivers/gpu/drm/radeon/
H A Dsislands_smc.h254 int16_t temp_max; member
H A Dsi_dpm.c6011 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()