Home
last modified time | relevance | path

Searched refs:tj_max (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/thermal/
Dintel_soc_dts_thermal.c64 u32 tj_max; member
82 static int get_tj_max(u32 *tj_max) in get_tj_max() argument
94 *tj_max = val * 1000; in get_tj_max()
103 *tj_max = 0; in get_tj_max()
119 *temp = aux_entry->tj_max - crit_offset; in sys_get_trip_temp()
135 *temp = aux_entry->tj_max - out * 1000; in sys_get_trip_temp()
154 temp_out = (aux_entry->tj_max - temp) / 1000; in update_trip_temp()
232 if (temp > (aux_entry->tj_max - crit_offset)) in sys_set_trip_temp()
269 *temp = aux_entry->tj_max - out * 1000; in sys_get_curr_temp()
312 static struct soc_sensor_entry *alloc_soc_dts(int id, u32 tj_max, in alloc_soc_dts() argument
[all …]
Dx86_pkg_temp_thermal.c64 u32 tj_max; member
142 static int get_tj_max(int cpu, u32 *tj_max) in get_tj_max() argument
154 *tj_max = val * 1000; in get_tj_max()
163 *tj_max = 0; in get_tj_max()
176 *temp = phy_dev_entry->tj_max - in sys_get_curr_temp()
214 *temp = phy_dev_entry->tj_max - thres_reg_value * 1000; in sys_get_trip_temp()
232 if (trip >= MAX_NUMBER_OF_TRIPS || temp >= phy_dev_entry->tj_max) in sys_set_trip_temp()
258 l |= (phy_dev_entry->tj_max - temp)/1000 << shift; in sys_set_trip_temp()
399 u32 tj_max; in pkg_temp_thermal_device_add() local
416 err = get_tj_max(cpu, &tj_max); in pkg_temp_thermal_device_add()
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr600_dpm.c1222 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
Dradeon.h1467 u32 tj_max; member
Dsi_dpm.c2201 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
Dci_dpm.c452 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); in ci_populate_bapm_parameters_in_dpm_table()