Searched refs:tdp_table (Results 1 – 6 of 6) sorted by relevance
358 struct phm_tdp_table *tdp_table; in get_tdp_table() local367 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_tdp_table()369 if (!tdp_table) in get_tdp_table()374 tdp_table->usMaximumPowerDeliveryLimit = le16_to_cpu(power_tune_table->usSocketPowerLimit); in get_tdp_table()375 tdp_table->usTDC = le16_to_cpu(power_tune_table->usTdcLimit); in get_tdp_table()376 tdp_table->usEDCLimit = le16_to_cpu(power_tune_table->usEdcLimit); in get_tdp_table()377 tdp_table->usSoftwareShutdownTemp = in get_tdp_table()379 tdp_table->usTemperatureLimitTedge = in get_tdp_table()381 tdp_table->usTemperatureLimitHotspot = in get_tdp_table()383 tdp_table->usTemperatureLimitLiquid1 = in get_tdp_table()[all …]
594 struct phm_cac_tdp_table *tdp_table; in get_cac_tdp_table() local597 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()599 if (NULL == tdp_table) in get_cac_tdp_table()605 kfree(tdp_table); in get_cac_tdp_table()612 tdp_table->usTDP = tonga_table->usTDP; in get_cac_tdp_table()613 tdp_table->usConfigurableTDP = in get_cac_tdp_table()615 tdp_table->usTDC = tonga_table->usTDC; in get_cac_tdp_table()616 tdp_table->usBatteryPowerLimit = in get_cac_tdp_table()618 tdp_table->usSmallPowerLimit = in get_cac_tdp_table()620 tdp_table->usLowCACLeakage = in get_cac_tdp_table()[all …]
1289 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_initialize_power_tune_defaults() local1293 tdp_table->usMaximumPowerDeliveryLimit); in vega10_initialize_power_tune_defaults()1294 table->TdcLimit = cpu_to_le16(tdp_table->usTDC); in vega10_initialize_power_tune_defaults()1295 table->EdcLimit = cpu_to_le16(tdp_table->usEDCLimit); in vega10_initialize_power_tune_defaults()1296 table->TedgeLimit = cpu_to_le16(tdp_table->usTemperatureLimitTedge); in vega10_initialize_power_tune_defaults()1297 table->ThotspotLimit = cpu_to_le16(tdp_table->usTemperatureLimitHotspot); in vega10_initialize_power_tune_defaults()1298 table->ThbmLimit = cpu_to_le16(tdp_table->usTemperatureLimitHBM); in vega10_initialize_power_tune_defaults()1299 table->Tvr_socLimit = cpu_to_le16(tdp_table->usTemperatureLimitVrVddc); in vega10_initialize_power_tune_defaults()1300 table->Tvr_memLimit = cpu_to_le16(tdp_table->usTemperatureLimitVrMvdd); in vega10_initialize_power_tune_defaults()1301 table->Tliquid1Limit = cpu_to_le16(tdp_table->usTemperatureLimitLiquid1); in vega10_initialize_power_tune_defaults()[all …]
316 struct phm_cac_tdp_table *tdp_table; in get_cac_tdp_table() local320 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()321 if (NULL == tdp_table) in get_cac_tdp_table()324 tdp_table->usTDP = le16_to_cpu(table->usTDP); in get_cac_tdp_table()325 tdp_table->usConfigurableTDP = le16_to_cpu(table->usConfigurableTDP); in get_cac_tdp_table()326 tdp_table->usTDC = le16_to_cpu(table->usTDC); in get_cac_tdp_table()327 tdp_table->usBatteryPowerLimit = le16_to_cpu(table->usBatteryPowerLimit); in get_cac_tdp_table()328 tdp_table->usSmallPowerLimit = le16_to_cpu(table->usSmallPowerLimit); in get_cac_tdp_table()329 tdp_table->usLowCACLeakage = le16_to_cpu(table->usLowCACLeakage); in get_cac_tdp_table()330 tdp_table->usHighCACLeakage = le16_to_cpu(table->usHighCACLeakage); in get_cac_tdp_table()[all …]
264 if (table_info->tdp_table->usClockStretchAmount && in vega10_set_features_platform_caps()4620 thermal_data->max = table_info->tdp_table->usSoftwareShutdownTemp * in vega10_get_thermal_temperature_range()
509 struct phm_tdp_table *tdp_table; member546 struct phm_tdp_table *tdp_table; member