Home
last modified time | relevance | path

Searched refs:tjmax (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dcoretemp.c73 int tjmax; member
100 int tjmax; member
110 struct tjmax { struct
112 int tjmax; argument
123 int tjmax; member
227 tjmax = 105000; in adjust_tjmax()
249 return tjmax; in adjust_tjmax()
272 if (tdata->tjmax) in get_tjmax()
312 if (tdata->tjmax) in get_ttarget()
366 int tjmax; in show_tjmax() local
[all …]
/openbmc/linux/drivers/thermal/intel/
H A Dintel_tcc.c118 int tjmax, err; in intel_tcc_get_temp() local
120 tjmax = intel_tcc_get_tjmax(cpu); in intel_tcc_get_temp()
121 if (tjmax < 0) in intel_tcc_get_temp()
122 return tjmax; in intel_tcc_get_temp()
135 *temp = tjmax - ((low >> 16) & 0x7f); in intel_tcc_get_temp()
/openbmc/linux/drivers/hwmon/peci/
H A Dcputemp.c44 s32 tjmax; member
100 priv->temp.target.tjmax = in update_temp_target()
105 priv->temp.target.tcontrol = priv->temp.target.tjmax - tcontrol_margin; in update_temp_target()
108 priv->temp.target.tthrottle = priv->temp.target.tjmax - tthrottle_offset; in update_temp_target()
133 *val = priv->temp.target.tjmax; in get_temp_target()
136 *val = priv->temp.target.tjmax - priv->temp.target.tcontrol; in get_temp_target()
181 long tjmax; in get_die_temp() local
197 ret = get_temp_target(priv, tjmax_type, &tjmax); in get_die_temp()
254 long tjmax; in get_core_temp() local
271 ret = get_temp_target(priv, tjmax_type, &tjmax); in get_core_temp()
[all …]
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_device_pci.c150 int tjmax, _temp; in sys_set_trip_temp() local
160 proc_thermal_mmio_read(pci_info, PROC_THERMAL_MMIO_TJMAX, &tjmax); in sys_set_trip_temp()
161 _temp = tjmax - (temp / 1000); in sys_set_trip_temp()
175 int temp, tjmax; in get_trip_temp() local
181 proc_thermal_mmio_read(pci_info, PROC_THERMAL_MMIO_TJMAX, &tjmax); in get_trip_temp()
182 temp = (tjmax - temp) * 1000; in get_trip_temp()
/openbmc/linux/Documentation/hwmon/
H A Dcoretemp.rst62 as a module parameter (tjmax).