powerplay_table 486 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c struct smu_11_0_powerplay_table *powerplay_table = NULL; powerplay_table 493 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c powerplay_table = table_context->power_play_table; powerplay_table 495 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, powerplay_table 498 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c table_context->thermal_controller_type = powerplay_table->thermal_controller_type; powerplay_table 248 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c const ATOM_Tonga_POWERPLAYTABLE *powerplay_table powerplay_table 258 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usUlvVoltageOffset); powerplay_table 265 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usPowerControlLimit); powerplay_table 281 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (0 != powerplay_table->usVddcLookupTableOffset) { powerplay_table 283 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (ATOM_Tonga_Voltage_Lookup_Table *)(((unsigned long)powerplay_table) + powerplay_table 284 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); powerplay_table 290 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (0 != powerplay_table->usVddgfxLookupTableOffset) { powerplay_table 292 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (ATOM_Tonga_Voltage_Lookup_Table *)(((unsigned long)powerplay_table) + powerplay_table 293 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usVddgfxLookupTableOffset)); powerplay_table 302 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (((unsigned long)powerplay_table) + le16_to_cpu(powerplay_table->usPPMTableOffset)); powerplay_table 304 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (0 != powerplay_table->usPPMTableOffset) { powerplay_table 765 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c const ATOM_Tonga_POWERPLAYTABLE *powerplay_table powerplay_table 773 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const ATOM_Tonga_MM_Dependency_Table *)(((unsigned long) powerplay_table) + powerplay_table 774 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usMMDependencyTableOffset)); powerplay_table 776 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const PPTable_Generic_SubTable_Header *)(((unsigned long) powerplay_table) + powerplay_table 777 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usPowerTuneTableOffset)); powerplay_table 779 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const ATOM_Tonga_MCLK_Dependency_Table *)(((unsigned long) powerplay_table) + powerplay_table 780 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); powerplay_table 782 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const PPTable_Generic_SubTable_Header *)(((unsigned long) powerplay_table) + powerplay_table 783 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usSclkDependencyTableOffset)); powerplay_table 785 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const ATOM_Tonga_Hard_Limit_Table *)(((unsigned long) powerplay_table) + powerplay_table 786 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usHardLimitTableOffset)); powerplay_table 788 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const PPTable_Generic_SubTable_Header *)(((unsigned long) powerplay_table) + powerplay_table 789 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usPCIETableOffset)); powerplay_table 791 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (const ATOM_Tonga_GPIO_Table *)(((unsigned long) powerplay_table) + powerplay_table 792 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usGPIOTableOffset)); powerplay_table 800 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (powerplay_table->usMMDependencyTableOffset != 0) powerplay_table 804 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (result == 0 && powerplay_table->usPowerTuneTableOffset != 0) powerplay_table 808 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (result == 0 && powerplay_table->usSclkDependencyTableOffset != 0) powerplay_table 812 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (result == 0 && powerplay_table->usMclkDependencyTableOffset != 0) powerplay_table 816 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (result == 0 && powerplay_table->usPCIETableOffset != 0) powerplay_table 820 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (result == 0 && powerplay_table->usHardLimitTableOffset != 0) powerplay_table 862 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c const ATOM_Tonga_POWERPLAYTABLE *powerplay_table) powerplay_table 865 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le32_to_cpu(powerplay_table->ulMaxODEngineClock); powerplay_table 867 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le32_to_cpu(powerplay_table->ulMaxODMemoryClock); powerplay_table 885 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c const ATOM_Tonga_POWERPLAYTABLE *powerplay_table powerplay_table 892 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (((unsigned long)powerplay_table) + powerplay_table 893 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usThermalControllerOffset)); powerplay_table 894 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c PP_ASSERT_WITH_CODE((0 != powerplay_table->usThermalControllerOffset), powerplay_table 919 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (0 == powerplay_table->usFanTableOffset) { powerplay_table 925 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c (((unsigned long)powerplay_table) + powerplay_table 926 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usFanTableOffset)); powerplay_table 928 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c PP_ASSERT_WITH_CODE((0 != powerplay_table->usFanTableOffset), powerplay_table 1039 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c const ATOM_Tonga_POWERPLAYTABLE *powerplay_table powerplay_table 1044 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c state_arrays = (ATOM_Tonga_State_Array *)(((unsigned long)powerplay_table) + powerplay_table 1045 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le16_to_cpu(powerplay_table->usStateArrayOffset)); powerplay_table 1048 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c powerplay_table->sHeader.ucTableFormatRevision), powerplay_table 1050 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c PP_ASSERT_WITH_CODE((0 != powerplay_table->usStateArrayOffset), powerplay_table 1052 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c PP_ASSERT_WITH_CODE((0 < powerplay_table->sHeader.usStructureSize), powerplay_table 1063 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c const ATOM_Tonga_POWERPLAYTABLE *powerplay_table; powerplay_table 1070 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c powerplay_table = get_powerplay_table(hwmgr); powerplay_table 1072 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c PP_ASSERT_WITH_CODE((NULL != powerplay_table), powerplay_table 1075 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c result = check_powerplay_tables(hwmgr, powerplay_table); powerplay_table 1081 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c le32_to_cpu(powerplay_table->ulPlatformCaps)); powerplay_table 1086 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c result = init_thermal_controller(hwmgr, powerplay_table); powerplay_table 1091 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c result = init_over_drive_limits(hwmgr, powerplay_table); powerplay_table 1096 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c result = init_clock_voltage_dependency(hwmgr, powerplay_table); powerplay_table 1101 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c result = init_dpm_2_parameters(hwmgr, powerplay_table); powerplay_table 49 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 53 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 56 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 73 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 76 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 85 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 88 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 93 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 101 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 104 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 108 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 114 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 116 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c uint16_t table_offset = get_vce_clock_voltage_limit_table_offset(hwmgr, powerplay_table); powerplay_table 121 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *)(((unsigned long) powerplay_table) + table_offset); powerplay_table 128 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c static uint16_t get_vce_state_table_offset(struct pp_hwmgr *hwmgr, const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 130 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c uint16_t table_offset = get_vce_clock_voltage_limit_table_offset(hwmgr, powerplay_table); powerplay_table 133 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c return table_offset + get_vce_clock_voltage_limit_table_size(hwmgr, powerplay_table); powerplay_table 140 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 142 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c uint16_t table_offset = get_vce_state_table_offset(hwmgr, powerplay_table); powerplay_table 145 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c return (const ATOM_PPLIB_VCE_State_Table *)(((unsigned long) powerplay_table) + table_offset); powerplay_table 151 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 155 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 158 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 173 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 176 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 184 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 187 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 192 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) powerplay_table 203 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 206 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 210 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c get_uvd_clock_info_array_size(hwmgr, powerplay_table); powerplay_table 216 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 220 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 223 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 240 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 243 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 252 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 256 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 259 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 276 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 278 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c uint16_t tableOffset = get_acp_table_offset(hwmgr, powerplay_table); powerplay_table 288 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 292 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 295 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 339 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 343 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 346 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 364 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 366 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c uint16_t tableOffset = get_sclk_vdd_gfx_table_offset(hwmgr, powerplay_table); powerplay_table 869 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table = get_powerplay_table(hwmgr); powerplay_table 871 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (powerplay_table == NULL) powerplay_table 874 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (powerplay_table->sHeader.ucTableFormatRevision >= 6) { powerplay_table 875 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pstate_arrays = (StateArray *)(((unsigned long)powerplay_table) + powerplay_table 876 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usStateArrayOffset)); powerplay_table 880 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c *num_of_entries = (unsigned long)(powerplay_table->ucNumStates); powerplay_table 894 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table = get_powerplay_table(hwmgr); powerplay_table 904 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (powerplay_table == NULL) powerplay_table 909 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (powerplay_table->sHeader.ucTableFormatRevision >= 6) { powerplay_table 910 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pstate_arrays = (StateArray *)(((unsigned long)powerplay_table) + powerplay_table 911 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usStateArrayOffset)); powerplay_table 917 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pclock_arrays = (ClockInfoArray *)(((unsigned long)powerplay_table) + powerplay_table 918 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usClockInfoArrayOffset)); powerplay_table 920 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pnon_clock_arrays = (NonClockInfoArray *)(((unsigned long)powerplay_table) + powerplay_table 921 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usNonClockInfoArrayOffset)); powerplay_table 937 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (entry_index > powerplay_table->ucNumStates) powerplay_table 940 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pstate_entry = (ATOM_PPLIB_STATE *)((unsigned long)powerplay_table + powerplay_table 941 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usStateArrayOffset) + powerplay_table 942 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c entry_index * powerplay_table->ucStateEntrySize); powerplay_table 944 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pnon_clock_info = (ATOM_PPLIB_NONCLOCK_INFO *)((unsigned long)powerplay_table + powerplay_table 945 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usNonClockInfoArrayOffset) + powerplay_table 947 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->ucNonClockSize); powerplay_table 950 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->ucNonClockSize, powerplay_table 953 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c for (i = 0; i < powerplay_table->ucStateEntrySize-1; i++) { powerplay_table 954 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const void *pclock_info = (const void *)((unsigned long)powerplay_table + powerplay_table 955 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usClockInfoArrayOffset) + powerplay_table 957 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->ucClockInfoSize); powerplay_table 976 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table powerplay_table 985 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 988 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->sThermalController.ucType; powerplay_table 990 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->sThermalController.ucI2cLine; powerplay_table 992 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->sThermalController.ucI2cAddress; powerplay_table 995 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (0 != (powerplay_table->sThermalController.ucFanParameters & powerplay_table 999 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table->sThermalController.ucFanParameters & powerplay_table 1003 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c = powerplay_table->sThermalController.ucFanMinRPM * 100UL; powerplay_table 1005 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c = powerplay_table->sThermalController.ucFanMaxRPM * 100UL; powerplay_table 1017 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table, powerplay_table 1040 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table, powerplay_table 1046 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) < powerplay_table 1050 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table3 = (const ATOM_PPLIB_POWERPLAYTABLE3 *)powerplay_table; powerplay_table 1055 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c header = (ATOM_PPLIB_EXTENDEDHEADER *)(((unsigned long) powerplay_table) + powerplay_table 1070 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 1095 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table, powerplay_table 1101 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table, powerplay_table 1229 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 1252 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c hwmgr, powerplay_table); powerplay_table 1254 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 1257 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + powerplay_table 1261 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1267 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c uvd_clock_info_array_offset = get_uvd_clock_info_array_offset(hwmgr, powerplay_table); powerplay_table 1268 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c table_offset = get_uvd_clock_voltage_limit_table_offset(hwmgr, powerplay_table); powerplay_table 1272 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + powerplay_table 1276 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1282 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 1287 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1293 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 1298 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1303 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c table_offset = get_cacp_tdp_table_offset(hwmgr, powerplay_table); powerplay_table 1305 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c UCHAR rev_id = *(UCHAR *)(((unsigned long)powerplay_table) + table_offset); powerplay_table 1310 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1319 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1326 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 1329 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE4 *)powerplay_table; powerplay_table 1383 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 1387 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long) powerplay_table) + table_offset); powerplay_table 1456 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 1460 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 1463 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE5 *)powerplay_table; powerplay_table 1512 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long)powerplay_table) + powerplay_table 1519 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (((unsigned long)powerplay_table) + table_offset); powerplay_table 1530 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table) powerplay_table 1532 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (le16_to_cpu(powerplay_table->usTableSize) >= powerplay_table 1535 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c (const ATOM_PPLIB_POWERPLAYTABLE4 *)powerplay_table; powerplay_table 1591 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table = get_powerplay_table(hwmgr); powerplay_table 1593 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_VCE_State_Table *vce_state_table = get_vce_state_table(hwmgr, powerplay_table); powerplay_table 1595 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c unsigned short vce_clock_info_array_offset = get_vce_clock_info_array_offset(hwmgr, powerplay_table); powerplay_table 1597 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const VCEClockInfoArray *vce_clock_info_array = (const VCEClockInfoArray *)(((unsigned long) powerplay_table) + vce_clock_info_array_offset); powerplay_table 1599 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ClockInfoArray *clock_arrays = (ClockInfoArray *)(((unsigned long)powerplay_table) + powerplay_table 1600 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le16_to_cpu(powerplay_table->usClockInfoArrayOffset)); powerplay_table 1622 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table; powerplay_table 1629 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table = get_powerplay_table(hwmgr); powerplay_table 1631 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c result = init_powerplay_tables(hwmgr, powerplay_table); powerplay_table 1637 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c le32_to_cpu(powerplay_table->ulPlatformCaps)); powerplay_table 1642 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c result = init_thermal_controller(hwmgr, powerplay_table); powerplay_table 1647 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c result = init_overdrive_limits(hwmgr, powerplay_table); powerplay_table 1653 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c powerplay_table); powerplay_table 1658 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c result = init_dpm2_parameters(hwmgr, powerplay_table); powerplay_table 1663 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c result = init_phase_shedding_table(hwmgr, powerplay_table); powerplay_table 3127 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c ATOM_Tonga_POWERPLAYTABLE *powerplay_table = powerplay_table 3131 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (((unsigned long)powerplay_table) + powerplay_table 3132 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c le16_to_cpu(powerplay_table->usSclkDependencyTableOffset)); powerplay_table 3136 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (((unsigned long)powerplay_table) + powerplay_table 3137 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); powerplay_table 3010 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c ATOM_Vega10_POWERPLAYTABLE *powerplay_table = powerplay_table 3014 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (((unsigned long)powerplay_table) + powerplay_table 3015 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c le16_to_cpu(powerplay_table->usSocclkDependencyTableOffset)); powerplay_table 3018 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (((unsigned long)powerplay_table) + powerplay_table 3019 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c le16_to_cpu(powerplay_table->usGfxclkDependencyTableOffset)); powerplay_table 3022 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (((unsigned long)powerplay_table) + powerplay_table 3023 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); powerplay_table 69 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) powerplay_table 73 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c state_arrays = (ATOM_Vega10_State_Array *)(((unsigned long)powerplay_table) + powerplay_table 74 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usStateArrayOffset)); powerplay_table 76 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= powerplay_table 79 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c PP_ASSERT_WITH_CODE(powerplay_table->usStateArrayOffset, powerplay_table 81 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, powerplay_table 121 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) powerplay_table 130 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long)powerplay_table) + powerplay_table 131 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usThermalControllerOffset)); powerplay_table 133 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table->usThermalControllerOffset != 0), powerplay_table 161 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!powerplay_table->usFanTableOffset) powerplay_table 165 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long)powerplay_table) + powerplay_table 166 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usFanTableOffset)); powerplay_table 309 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) powerplay_table 313 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 314 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usGfxclkDependencyTableOffset)); powerplay_table 325 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (powerplay_table->ulMaxODEngineClock > VEGA10_ENGINECLOCK_HARDMAX && powerplay_table 331 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le32_to_cpu(powerplay_table->ulMaxODEngineClock); powerplay_table 333 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le32_to_cpu(powerplay_table->ulMaxODMemoryClock); powerplay_table 904 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) powerplay_table 912 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 913 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usMMDependencyTableOffset)); powerplay_table 916 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 917 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usPowerTuneTableOffset)); powerplay_table 920 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 921 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usSocclkDependencyTableOffset)); powerplay_table 924 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 925 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usGfxclkDependencyTableOffset)); powerplay_table 928 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 929 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usDcefclkDependencyTableOffset)); powerplay_table 932 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 933 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usMclkDependencyTableOffset)); powerplay_table 936 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 937 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usHardLimitTableOffset)); powerplay_table 940 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 941 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usPCIETableOffset)); powerplay_table 944 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 945 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usPixclkDependencyTableOffset)); powerplay_table 948 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 949 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usPhyClkDependencyTableOffset)); powerplay_table 952 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long) powerplay_table) + powerplay_table 953 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usDispClkDependencyTableOffset)); powerplay_table 965 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (powerplay_table->usMMDependencyTableOffset) powerplay_table 970 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usPowerTuneTableOffset) powerplay_table 975 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usSocclkDependencyTableOffset) powerplay_table 980 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usGfxclkDependencyTableOffset) powerplay_table 985 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usPixclkDependencyTableOffset) powerplay_table 991 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usPhyClkDependencyTableOffset) powerplay_table 997 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usDispClkDependencyTableOffset) powerplay_table 1003 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usDcefclkDependencyTableOffset) powerplay_table 1008 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usMclkDependencyTableOffset) powerplay_table 1013 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usPCIETableOffset) powerplay_table 1018 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (!result && powerplay_table->usHardLimitTableOffset) powerplay_table 1096 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table) powerplay_table 1104 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usUlvVoltageOffset); powerplay_table 1107 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usUlvSmnclkDid); powerplay_table 1109 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usUlvMp1clkDid); powerplay_table 1111 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usUlvGfxclkBypass); powerplay_table 1113 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usGfxclkSlewRate); powerplay_table 1115 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucGfxVoltageMode); powerplay_table 1117 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucSocVoltageMode); powerplay_table 1119 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucUclkVoltageMode); powerplay_table 1121 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucUvdVoltageMode); powerplay_table 1123 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucVceVoltageMode); powerplay_table 1125 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucMp0VoltageMode); powerplay_table 1127 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->ucDcefVoltageMode); powerplay_table 1136 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usPowerControlLimit); powerplay_table 1152 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (powerplay_table->usVddcLookupTableOffset) { powerplay_table 1155 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long)powerplay_table) + powerplay_table 1156 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); powerplay_table 1161 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (powerplay_table->usVddmemLookupTableOffset) { powerplay_table 1164 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long)powerplay_table) + powerplay_table 1165 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usVddmemLookupTableOffset)); powerplay_table 1170 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c if (powerplay_table->usVddciLookupTableOffset) { powerplay_table 1173 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c (((unsigned long)powerplay_table) + powerplay_table 1174 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le16_to_cpu(powerplay_table->usVddciLookupTableOffset)); powerplay_table 1185 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table; powerplay_table 1192 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c powerplay_table = get_powerplay_table(hwmgr); powerplay_table 1194 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table != NULL), powerplay_table 1197 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c result = check_powerplay_tables(hwmgr, powerplay_table); powerplay_table 1203 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c le32_to_cpu(powerplay_table->ulPlatformCaps)); powerplay_table 1208 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c result = init_thermal_controller(hwmgr, powerplay_table); powerplay_table 1213 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c result = init_over_drive_limits(hwmgr, powerplay_table); powerplay_table 1218 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c result = init_powerplay_extended_tables(hwmgr, powerplay_table); powerplay_table 1223 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c result = init_dpm_2_parameters(hwmgr, powerplay_table); powerplay_table 1380 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c const ATOM_Vega10_POWERPLAYTABLE *powerplay_table; powerplay_table 1382 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c powerplay_table = get_powerplay_table(hwmgr); powerplay_table 1384 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table != NULL), powerplay_table 1387 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c result = check_powerplay_tables(hwmgr, powerplay_table); powerplay_table 1394 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 0 != (le32_to_cpu(powerplay_table->ulPlatformCaps) & ATOM_VEGA10_PP_PLATFORM_CAP_BACO), powerplay_table 66 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) powerplay_table 68 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= powerplay_table 71 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, powerplay_table 193 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) powerplay_table 200 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType; powerplay_table 201 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; powerplay_table 209 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c if (le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_GFXCLKFMAX]) > VEGA12_ENGINECLOCK_HARDMAX) powerplay_table 213 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_GFXCLKFMAX]); powerplay_table 215 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_UCLKFMAX]); powerplay_table 219 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c powerplay_table->ODSettingsMax, powerplay_table 223 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c powerplay_table->ODSettingsMin, powerplay_table 234 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->us_small_power_limit1 = le16_to_cpu(powerplay_table->usSmallPowerLimit1); powerplay_table 235 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->us_small_power_limit2 = le16_to_cpu(powerplay_table->usSmallPowerLimit2); powerplay_table 236 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->us_boost_power_limit = le16_to_cpu(powerplay_table->usBoostPowerLimit); powerplay_table 237 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->us_od_turbo_power_limit = le16_to_cpu(powerplay_table->usODTurboPowerLimit); powerplay_table 238 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->us_od_powersave_power_limit = le16_to_cpu(powerplay_table->usODPowerSavePowerLimit); powerplay_table 240 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c pptable_information->us_software_shutdown_temp = le16_to_cpu(powerplay_table->usSoftwareShutdownTemp); powerplay_table 242 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c hwmgr->platform_descriptor.TDPODLimit = le32_to_cpu(powerplay_table->ODSettingsMax[ATOM_VEGA12_ODSETTING_POWERPERCENTAGE]); powerplay_table 252 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c phm_copy_clock_limits_array(hwmgr, &pptable_information->power_saving_clock_max, powerplay_table->PowerSavingClockMax, ATOM_VEGA12_PPCLOCK_COUNT); powerplay_table 253 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c phm_copy_clock_limits_array(hwmgr, &pptable_information->power_saving_clock_min, powerplay_table->PowerSavingClockMin, ATOM_VEGA12_PPCLOCK_COUNT); powerplay_table 259 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c memcpy(pptable_information->smc_pptable, &(powerplay_table->smcPPTable), sizeof(PPTable_t)); powerplay_table 269 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c const ATOM_Vega12_POWERPLAYTABLE *powerplay_table; powerplay_table 275 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c powerplay_table = get_powerplay_table(hwmgr); powerplay_table 276 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table != NULL), powerplay_table 279 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c result = check_powerplay_tables(hwmgr, powerplay_table); powerplay_table 284 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c le32_to_cpu(powerplay_table->ulPlatformCaps)); powerplay_table 288 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c result = init_powerplay_table_information(hwmgr, powerplay_table); powerplay_table 640 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c const ATOM_Vega20_POWERPLAYTABLE *powerplay_table) powerplay_table 642 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= powerplay_table 645 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, powerplay_table 648 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c if (powerplay_table->smcPPTable.Version != PPTABLE_V20_SMU_VERSION) { powerplay_table 651 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table->smcPPTable.Version, powerplay_table 817 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c const ATOM_Vega20_POWERPLAYTABLE *powerplay_table) powerplay_table 825 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType; powerplay_table 826 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; powerplay_table 828 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c hwmgr->thermal_controller.fanInfo.ulMaxRPM = powerplay_table->smcPPTable.FanMaximumRpm; powerplay_table 836 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c if (powerplay_table->OverDrive8Table.ucODTableRevision == 1) { powerplay_table 838 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c (le32_to_cpu(powerplay_table->OverDrive8Table.ODFeatureCount) > powerplay_table 841 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c le32_to_cpu(powerplay_table->OverDrive8Table.ODFeatureCount); powerplay_table 843 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c (le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingCount) > powerplay_table 846 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingCount); powerplay_table 850 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table->OverDrive8Table.ODFeatureCapabilities, powerplay_table 854 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table->OverDrive8Table.ODSettingsMax, powerplay_table 858 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table->OverDrive8Table.ODSettingsMin, powerplay_table 862 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->us_small_power_limit1 = le16_to_cpu(powerplay_table->usSmallPowerLimit1); powerplay_table 863 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->us_small_power_limit2 = le16_to_cpu(powerplay_table->usSmallPowerLimit2); powerplay_table 864 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->us_boost_power_limit = le16_to_cpu(powerplay_table->usBoostPowerLimit); powerplay_table 865 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->us_od_turbo_power_limit = le16_to_cpu(powerplay_table->usODTurboPowerLimit); powerplay_table 866 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->us_od_powersave_power_limit = le16_to_cpu(powerplay_table->usODPowerSavePowerLimit); powerplay_table 868 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c pptable_information->us_software_shutdown_temp = le16_to_cpu(powerplay_table->usSoftwareShutdownTemp); powerplay_table 870 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c hwmgr->platform_descriptor.TDPODLimit = le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingsMax[ATOM_VEGA20_ODSETTING_POWERPERCENTAGE]); powerplay_table 877 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c if (powerplay_table->PowerSavingClockTable.ucTableRevision == 1) { powerplay_table 879 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c (le32_to_cpu(powerplay_table->PowerSavingClockTable.PowerSavingClockCount) >= powerplay_table 882 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c le32_to_cpu(powerplay_table->PowerSavingClockTable.PowerSavingClockCount); powerplay_table 885 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table->PowerSavingClockTable.PowerSavingClockMax, powerplay_table 889 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table->PowerSavingClockTable.PowerSavingClockMin, powerplay_table 898 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c &(powerplay_table->smcPPTable), powerplay_table 914 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c const ATOM_Vega20_POWERPLAYTABLE *powerplay_table; powerplay_table 920 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c powerplay_table = get_powerplay_table(hwmgr); powerplay_table 921 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c PP_ASSERT_WITH_CODE((powerplay_table != NULL), powerplay_table 924 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c result = check_powerplay_tables(hwmgr, powerplay_table); powerplay_table 929 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c le32_to_cpu(powerplay_table->ulPlatformCaps)); powerplay_table 933 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c result = init_powerplay_table_information(hwmgr, powerplay_table); powerplay_table 495 drivers/gpu/drm/amd/powerplay/navi10_ppt.c struct smu_11_0_powerplay_table *powerplay_table = NULL; powerplay_table 502 drivers/gpu/drm/amd/powerplay/navi10_ppt.c powerplay_table = table_context->power_play_table; powerplay_table 504 drivers/gpu/drm/amd/powerplay/navi10_ppt.c memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, powerplay_table 507 drivers/gpu/drm/amd/powerplay/navi10_ppt.c table_context->thermal_controller_type = powerplay_table->thermal_controller_type; powerplay_table 510 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_BACO || powerplay_table 511 drivers/gpu/drm/amd/powerplay/navi10_ppt.c powerplay_table->platform_caps & SMU_11_0_PP_PLATFORM_CAP_MACO) powerplay_table 1518 drivers/gpu/drm/amd/powerplay/navi10_ppt.c struct smu_11_0_powerplay_table *powerplay_table = table_context->power_play_table; powerplay_table 1520 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (!range || !powerplay_table) powerplay_table 1523 drivers/gpu/drm/amd/powerplay/navi10_ppt.c range->max = powerplay_table->software_shutdown_temp * powerplay_table 379 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ATOM_Vega20_POWERPLAYTABLE *powerplay_table = NULL; powerplay_table 389 drivers/gpu/drm/amd/powerplay/vega20_ppt.c powerplay_table = table_context->power_play_table; powerplay_table 391 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (powerplay_table->OverDrive8Table.ucODTableRevision == 1) { powerplay_table 395 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (le32_to_cpu(powerplay_table->OverDrive8Table.ODFeatureCount) > powerplay_table 398 drivers/gpu/drm/amd/powerplay/vega20_ppt.c le32_to_cpu(powerplay_table->OverDrive8Table.ODFeatureCount); powerplay_table 405 drivers/gpu/drm/amd/powerplay/vega20_ppt.c od8_settings->od_feature_capabilities = kmemdup(&powerplay_table->OverDrive8Table.ODFeatureCapabilities, powerplay_table 414 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingCount) > powerplay_table 417 drivers/gpu/drm/amd/powerplay/vega20_ppt.c le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingCount); powerplay_table 424 drivers/gpu/drm/amd/powerplay/vega20_ppt.c od8_settings->od_settings_max = kmemdup(&powerplay_table->OverDrive8Table.ODSettingsMax, powerplay_table 437 drivers/gpu/drm/amd/powerplay/vega20_ppt.c od8_settings->od_settings_min = kmemdup(&powerplay_table->OverDrive8Table.ODSettingsMin, powerplay_table 455 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ATOM_Vega20_POWERPLAYTABLE *powerplay_table = NULL; powerplay_table 461 drivers/gpu/drm/amd/powerplay/vega20_ppt.c powerplay_table = table_context->power_play_table; powerplay_table 463 drivers/gpu/drm/amd/powerplay/vega20_ppt.c memcpy(table_context->driver_pptable, &powerplay_table->smcPPTable, powerplay_table 466 drivers/gpu/drm/amd/powerplay/vega20_ppt.c table_context->thermal_controller_type = powerplay_table->ucThermalControllerType; powerplay_table 467 drivers/gpu/drm/amd/powerplay/vega20_ppt.c table_context->TDPODLimit = le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingsMax[ATOM_VEGA20_ODSETTING_POWERPERCENTAGE]); powerplay_table 565 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ATOM_Vega20_POWERPLAYTABLE *powerplay_table = NULL; powerplay_table 568 drivers/gpu/drm/amd/powerplay/vega20_ppt.c powerplay_table = table_context->power_play_table; powerplay_table 570 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (powerplay_table->sHeader.format_revision < ATOM_VEGA20_TABLE_REVISION_VEGA20) { powerplay_table 575 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!powerplay_table->sHeader.structuresize) { powerplay_table 3124 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ATOM_Vega20_POWERPLAYTABLE *powerplay_table = table_context->power_play_table; powerplay_table 3127 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!range || !powerplay_table) powerplay_table 3130 drivers/gpu/drm/amd/powerplay/vega20_ppt.c range->max = powerplay_table->usSoftwareShutdownTemp *