Home
last modified time | relevance | path

Searched refs:tdp_table (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_processpptables.c423 struct phm_tdp_table *tdp_table; in get_tdp_table() local
434 if (!tdp_table) in get_tdp_table()
452 tdp_table->usTemperatureLimitHBM = in get_tdp_table()
458 tdp_table->usTemperatureLimitPlx = in get_tdp_table()
506 tdp_table->ucVr_I2C_Line = scl; in get_tdp_table()
512 tdp_table->ucPlx_I2C_Line = scl; in get_tdp_table()
560 *info_tdp_table = tdp_table; in get_tdp_table()
929 pp_table_info->tdp_table = NULL; in init_powerplay_extended_tables()
941 &pp_table_info->tdp_table, in init_powerplay_extended_tables()
1234 kfree(pp_table_info->tdp_table); in vega10_pp_tables_uninitialize()
[all …]
H A Dprocess_pptables_v1_0.c579 if (NULL == tdp_table) in get_cac_tdp_table()
585 kfree(tdp_table); in get_cac_tdp_table()
593 tdp_table->usConfigurableTDP = in get_cac_tdp_table()
596 tdp_table->usBatteryPowerLimit = in get_cac_tdp_table()
598 tdp_table->usSmallPowerLimit = in get_cac_tdp_table()
600 tdp_table->usLowCACLeakage = in get_cac_tdp_table()
602 tdp_table->usHighCACLeakage = in get_cac_tdp_table()
610 tdp_table->usPowerTuneDataSetID = in get_cac_tdp_table()
654 tdp_table->ucLiquid_I2C_Line = in get_cac_tdp_table()
698 tdp_table->ucLiquid_I2C_Line = in get_cac_tdp_table()
[all …]
H A Dvega10_powertune.c1241 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_initialize_power_tune_defaults() local
1245 tdp_table->usMaximumPowerDeliveryLimit); in vega10_initialize_power_tune_defaults()
1246 table->TdcLimit = cpu_to_le16(tdp_table->usTDC); in vega10_initialize_power_tune_defaults()
1247 table->EdcLimit = cpu_to_le16(tdp_table->usEDCLimit); in vega10_initialize_power_tune_defaults()
1262 table->Vr_I2C_address = tdp_table->ucVr_I2C_address; in vega10_initialize_power_tune_defaults()
1263 table->Plx_I2C_address = tdp_table->ucPlx_I2C_address; in vega10_initialize_power_tune_defaults()
1268 table->Vr_I2C_LineSCL = tdp_table->ucVr_I2C_Line; in vega10_initialize_power_tune_defaults()
1269 table->Vr_I2C_LineSDA = tdp_table->ucVr_I2C_LineSDA; in vega10_initialize_power_tune_defaults()
1271 table->Plx_I2C_LineSCL = tdp_table->ucPlx_I2C_Line; in vega10_initialize_power_tune_defaults()
1292 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_enable_power_containment() local
[all …]
H A Dvega10_thermal.c364 struct phm_tdp_table *tdp_table = pp_table_info->tdp_table; in vega10_thermal_set_temperature_range() local
380 if ((tdp_table->usSoftwareShutdownTemp > in vega10_thermal_set_temperature_range()
382 if (high > tdp_table->usSoftwareShutdownTemp) in vega10_thermal_set_temperature_range()
383 high = tdp_table->usSoftwareShutdownTemp; in vega10_thermal_set_temperature_range()
H A Dprocesspptables.c318 struct phm_cac_tdp_table *tdp_table; in get_cac_tdp_table() local
322 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
323 if (NULL == tdp_table) in get_cac_tdp_table()
326 tdp_table->usTDP = le16_to_cpu(table->usTDP); in get_cac_tdp_table()
327 tdp_table->usConfigurableTDP = le16_to_cpu(table->usConfigurableTDP); in get_cac_tdp_table()
328 tdp_table->usTDC = le16_to_cpu(table->usTDC); in get_cac_tdp_table()
329 tdp_table->usBatteryPowerLimit = le16_to_cpu(table->usBatteryPowerLimit); in get_cac_tdp_table()
330 tdp_table->usSmallPowerLimit = le16_to_cpu(table->usSmallPowerLimit); in get_cac_tdp_table()
331 tdp_table->usLowCACLeakage = le16_to_cpu(table->usLowCACLeakage); in get_cac_tdp_table()
332 tdp_table->usHighCACLeakage = le16_to_cpu(table->usHighCACLeakage); in get_cac_tdp_table()
[all …]
H A Dvega10_hwmgr.c285 if (table_info->tdp_table->usClockStretchAmount && in vega10_set_features_platform_caps()
5289 struct phm_tdp_table *tdp_table = pp_table_info->tdp_table; in vega10_get_thermal_temperature_range() local
5306 if (tdp_table->usSoftwareShutdownTemp > pp_table->ThotspotLimit && in vega10_get_thermal_temperature_range()
5307 tdp_table->usSoftwareShutdownTemp < VEGA10_THERMAL_MAXIMUM_ALERT_TEMP) in vega10_get_thermal_temperature_range()
5308 thermal_data->sw_ctf_threshold = tdp_table->usSoftwareShutdownTemp; in vega10_get_thermal_temperature_range()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h547 struct phm_tdp_table *tdp_table; member
584 struct phm_tdp_table *tdp_table; member