cac_dtp_table 602 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c hwmgr->dyn_state.cac_dtp_table = kzalloc(table_size, GFP_KERNEL); cac_dtp_table 604 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (NULL == hwmgr->dyn_state.cac_dtp_table) { cac_dtp_table 806 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c &pp_table_information->cac_dtp_table, pPowerTuneTable); cac_dtp_table 1135 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c kfree(pp_table_information->cac_dtp_table); cac_dtp_table 1136 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c pp_table_information->cac_dtp_table = NULL; cac_dtp_table 1138 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c kfree(hwmgr->dyn_state.cac_dtp_table); cac_dtp_table 1139 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c hwmgr->dyn_state.cac_dtp_table = NULL; cac_dtp_table 1311 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c result = get_cac_tdp_table(hwmgr, &hwmgr->dyn_state.cac_dtp_table, cac_dtp_table 1314 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c hwmgr->dyn_state.cac_dtp_table->usDefaultTargetOperatingTemp = cac_dtp_table 1321 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c &hwmgr->dyn_state.cac_dtp_table, cac_dtp_table 1712 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c kfree(hwmgr->dyn_state.cac_dtp_table); cac_dtp_table 1713 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c hwmgr->dyn_state.cac_dtp_table = NULL; cac_dtp_table 1665 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c && (table_info->cac_dtp_table->usClockStretchAmount != 0)) cac_dtp_table 2183 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (table_info->cac_dtp_table->usDefaultTargetOperatingTemp != 0 && cac_dtp_table 2200 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usDefaultTargetOperatingTemp = (table_info->cac_dtp_table->usDefaultTargetOperatingTemp >= 50) ? cac_dtp_table 2201 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (table_info->cac_dtp_table->usDefaultTargetOperatingTemp - 50) : 0; cac_dtp_table 2203 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usOperatingTempMaxLimit = table_info->cac_dtp_table->usDefaultTargetOperatingTemp; cac_dtp_table 2204 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usOperatingTempStep = 1; cac_dtp_table 2205 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usOperatingTempHyst = 1; cac_dtp_table 2213 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c hwmgr->dyn_state.cac_dtp_table->usOperatingTempMinLimit = cac_dtp_table 2214 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usOperatingTempMinLimit; cac_dtp_table 2216 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c hwmgr->dyn_state.cac_dtp_table->usOperatingTempMaxLimit = cac_dtp_table 2217 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usOperatingTempMaxLimit; cac_dtp_table 2219 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c hwmgr->dyn_state.cac_dtp_table->usDefaultTargetOperatingTemp = cac_dtp_table 2220 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usDefaultTargetOperatingTemp; cac_dtp_table 2222 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c hwmgr->dyn_state.cac_dtp_table->usOperatingTempStep = cac_dtp_table 2223 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usOperatingTempStep; cac_dtp_table 2225 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c hwmgr->dyn_state.cac_dtp_table->usTargetOperatingTemp = cac_dtp_table 2226 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c table_info->cac_dtp_table->usTargetOperatingTemp; cac_dtp_table 4802 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c thermal_data->max = table_info->cac_dtp_table->usSoftwareShutdownTemp * cac_dtp_table 1120 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c cac_table = table_info->cac_dtp_table; cac_dtp_table 1122 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c cac_table = hwmgr->dyn_state.cac_dtp_table; cac_dtp_table 1205 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c cac_table = table_info->cac_dtp_table; cac_dtp_table 1207 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c cac_table = hwmgr->dyn_state.cac_dtp_table; cac_dtp_table 1263 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c kfree(pp_table_info->cac_dtp_table); cac_dtp_table 1264 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c pp_table_info->cac_dtp_table = NULL; cac_dtp_table 1266 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c kfree(hwmgr->dyn_state.cac_dtp_table); cac_dtp_table 1267 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c hwmgr->dyn_state.cac_dtp_table = NULL; cac_dtp_table 535 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h struct phm_cac_tdp_table *cac_dtp_table; cac_dtp_table 572 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h struct phm_cac_tdp_table *cac_dtp_table; cac_dtp_table 647 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h struct phm_cac_tdp_table *cac_dtp_table; cac_dtp_table 530 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tdc_limit = (uint16_t)(hwmgr->dyn_state.cac_dtp_table->usTDC * 256); cac_dtp_table 658 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; cac_dtp_table 719 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c struct phm_cac_tdp_table *cac_dtp_table = hwmgr->dyn_state.cac_dtp_table; cac_dtp_table 724 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); cac_dtp_table 725 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); cac_dtp_table 476 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && cac_dtp_table 477 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID) cac_dtp_table 480 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; cac_dtp_table 496 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; cac_dtp_table 505 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (uint16_t)(cac_dtp_table->usTDP * 128)); cac_dtp_table 507 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (uint16_t)(cac_dtp_table->usTDP * 128)); cac_dtp_table 509 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, cac_dtp_table 513 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c dpm_table->GpuTjMax = (uint8_t)(cac_dtp_table->usTargetOperatingTemp); cac_dtp_table 520 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTargetOperatingTemp * 256); cac_dtp_table 522 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTemperatureLimitHotspot * 256); cac_dtp_table 524 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTemperatureLimitLiquid1 * 256); cac_dtp_table 526 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTemperatureLimitLiquid2 * 256); cac_dtp_table 528 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTemperatureLimitVrVddc * 256); cac_dtp_table 530 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTemperatureLimitVrMvdd * 256); cac_dtp_table 532 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cac_dtp_table->usTemperatureLimitPlx * 256); cac_dtp_table 549 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c dpm_table->Liquid1_I2C_address = cac_dtp_table->ucLiquid1_I2C_address; cac_dtp_table 550 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c dpm_table->Liquid2_I2C_address = cac_dtp_table->ucLiquid2_I2C_address; cac_dtp_table 551 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c dpm_table->Vr_I2C_address = cac_dtp_table->ucVr_I2C_address; cac_dtp_table 552 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c dpm_table->Plx_I2C_address = cac_dtp_table->ucPlx_I2C_address; cac_dtp_table 554 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c get_scl_sda_value(cac_dtp_table->ucLiquid_I2C_Line, &uc_scl, &uc_sda); cac_dtp_table 558 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c get_scl_sda_value(cac_dtp_table->ucVr_I2C_Line, &uc_scl, &uc_sda); cac_dtp_table 562 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c get_scl_sda_value(cac_dtp_table->ucPlx_I2C_Line, &uc_scl, &uc_sda); cac_dtp_table 595 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); cac_dtp_table 678 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; cac_dtp_table 1679 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; cac_dtp_table 2022 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c table_info->cac_dtp_table->usTargetOperatingTemp * cac_dtp_table 2025 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (table_info->cac_dtp_table->usTargetOperatingTemp - 1) * cac_dtp_table 325 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c tdc_limit = (uint16_t)(hwmgr->dyn_state.cac_dtp_table->usTDC * 256); cac_dtp_table 376 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; cac_dtp_table 1855 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c struct phm_cac_tdp_table *cac_dtp_table = hwmgr->dyn_state.cac_dtp_table; cac_dtp_table 1866 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); cac_dtp_table 1867 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); cac_dtp_table 432 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; cac_dtp_table 439 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); cac_dtp_table 440 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); cac_dtp_table 442 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, cac_dtp_table 447 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c cac_dtp_table->usTargetOperatingTemp * 256); cac_dtp_table 449 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c cac_dtp_table->usTemperatureLimitHotspot * 256); cac_dtp_table 493 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); cac_dtp_table 573 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; cac_dtp_table 1522 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; cac_dtp_table 1578 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smc_state_table.LdoRefSel = (table_info->cac_dtp_table->ucCKS_LDO_REFSEL != 0) ? table_info->cac_dtp_table->ucCKS_LDO_REFSEL : 6; cac_dtp_table 1810 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && cac_dtp_table 1811 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID) cac_dtp_table 1814 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; cac_dtp_table 1920 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table_info->cac_dtp_table->usTargetOperatingTemp * cac_dtp_table 1923 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c (table_info->cac_dtp_table->usTargetOperatingTemp - 1) * cac_dtp_table 1589 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; cac_dtp_table 1834 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; cac_dtp_table 1839 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (uint16_t)(cac_dtp_table->usTDP * 256)); cac_dtp_table 1841 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); cac_dtp_table 1843 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, cac_dtp_table 1847 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c dpm_table->GpuTjMax = (uint8_t)(cac_dtp_table->usTargetOperatingTemp); cac_dtp_table 1899 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 256); cac_dtp_table 1981 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; cac_dtp_table 2211 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && cac_dtp_table 2212 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID) cac_dtp_table 2215 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; cac_dtp_table 2326 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c table_info->cac_dtp_table->usTargetOperatingTemp * cac_dtp_table 2329 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (table_info->cac_dtp_table->usTargetOperatingTemp - 1) * cac_dtp_table 437 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && cac_dtp_table 438 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table_info->cac_dtp_table->usPowerTuneDataSetID) cac_dtp_table 441 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; cac_dtp_table 1450 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; cac_dtp_table 1457 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); cac_dtp_table 1458 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); cac_dtp_table 1460 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, cac_dtp_table 1465 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c cac_dtp_table->usTargetOperatingTemp * 256); cac_dtp_table 1467 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c cac_dtp_table->usTemperatureLimitHotspot * 256); cac_dtp_table 1503 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; cac_dtp_table 1532 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (table_info->cac_dtp_table->ucCKS_LDO_REFSEL != 0) ? cac_dtp_table 1533 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table_info->cac_dtp_table->ucCKS_LDO_REFSEL : 5; cac_dtp_table 1758 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); cac_dtp_table 1838 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; cac_dtp_table 2029 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table_info->cac_dtp_table->usTargetOperatingTemp * cac_dtp_table 2032 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (table_info->cac_dtp_table->usTargetOperatingTemp - 1) *