Searched refs:tj_max (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/drivers/thermal/
H A Dintel_soc_dts_iosf.c56 static int get_tj_max(u32 *tj_max) get_tj_max() argument
68 *tj_max = val * 1000; get_tj_max()
77 *tj_max = 0; get_tj_max()
103 *temp = sensors->tj_max - out * 1000; sys_get_trip_temp()
125 temp_out = (sensors->tj_max - temp) / 1000; update_trip_temp()
205 if (temp > sensors->tj_max) sys_set_trip_temp()
245 *temp = sensors->tj_max - out * 1000; sys_get_curr_temp()
358 sensors->tj_max - critical_offset, intel_soc_dts_iosf_add_read_only_critical_trip()
408 u32 tj_max; intel_soc_dts_iosf_init() local
418 if (get_tj_max(&tj_max)) intel_soc_dts_iosf_init()
428 sensors->tj_max = tj_max; intel_soc_dts_iosf_init()
H A Dx86_pkg_temp_thermal.c64 u32 tj_max; member in struct:phy_dev_entry
142 static int get_tj_max(int cpu, u32 *tj_max) get_tj_max() argument
154 *tj_max = val * 1000; get_tj_max()
163 *tj_max = 0; get_tj_max()
176 *temp = phy_dev_entry->tj_max - sys_get_curr_temp()
214 *temp = phy_dev_entry->tj_max - thres_reg_value * 1000; sys_get_trip_temp()
232 if (trip >= MAX_NUMBER_OF_TRIPS || temp >= phy_dev_entry->tj_max) sys_set_trip_temp()
258 l |= (phy_dev_entry->tj_max - temp)/1000 << shift; sys_set_trip_temp()
399 u32 tj_max; pkg_temp_thermal_device_add() local
416 err = get_tj_max(cpu, &tj_max); pkg_temp_thermal_device_add()
444 phy_dev_entry->tj_max = tj_max; pkg_temp_thermal_device_add()
H A Dintel_soc_dts_iosf.h47 u32 tj_max; member in struct:intel_soc_dts_sensors
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dr600_dpm.c1222 rdev->pm.dpm.dyn_state.ppm_table->tj_max = r600_parse_extended_power_table()
H A Dradeon.h1469 u32 tj_max; member in struct:radeon_ppm_table
H A Dci_dpm.c452 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); ci_populate_bapm_parameters_in_dpm_table()
H A Dsi_dpm.c2202 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); si_populate_smc_tdp_limits()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dpm.c663 adev->pm.dpm.dyn_state.ppm_table->tj_max = amdgpu_parse_extended_power_table()
H A Damdgpu.h1492 u32 tj_max; member in struct:amdgpu_ppm_table
H A Dci_dpm.c570 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); ci_populate_bapm_parameters_in_dpm_table()

Completed in 460 milliseconds