Lines Matching refs:table

428 	SMU74_Discrete_DpmTable  *table = &(smu_data->smc_state_table);  in polaris10_populate_bapm_parameters_in_dpm_table()  local
438 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
439 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
445 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
447 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
449 table->FanGainEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
451 table->FanGainHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
460 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in polaris10_populate_bapm_parameters_in_dpm_table()
461 table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*pdef2); in polaris10_populate_bapm_parameters_in_dpm_table()
646 SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_mvdd_table() argument
656 table->SmioTable2.Pattern[level].Voltage = in polaris10_populate_smc_mvdd_table()
659 table->SmioTable2.Pattern[level].Smio = in polaris10_populate_smc_mvdd_table()
661 table->Smio[level] |= in polaris10_populate_smc_mvdd_table()
664 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in polaris10_populate_smc_mvdd_table()
666 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count); in polaris10_populate_smc_mvdd_table()
673 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_vddci_table() argument
684 table->SmioTable1.Pattern[level].Voltage = in polaris10_populate_smc_vddci_table()
686 table->SmioTable1.Pattern[level].Smio = (uint8_t) level; in polaris10_populate_smc_vddci_table()
688 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in polaris10_populate_smc_vddci_table()
692 table->SmioMask1 = data->vddci_voltage_table.mask_low; in polaris10_populate_smc_vddci_table()
698 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_cac_table() argument
715 table->BapmVddcVidLoSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_low); in polaris10_populate_cac_table()
716 table->BapmVddcVidHiSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_mid); in polaris10_populate_cac_table()
717 table->BapmVddcVidHiSidd2[count] = convert_to_vid(lookup_table->entries[index].us_cac_high); in polaris10_populate_cac_table()
724 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_voltage_tables() argument
726 polaris10_populate_smc_vddci_table(hwmgr, table); in polaris10_populate_smc_voltage_tables()
727 polaris10_populate_smc_mvdd_table(hwmgr, table); in polaris10_populate_smc_voltage_tables()
728 polaris10_populate_cac_table(hwmgr, table); in polaris10_populate_smc_voltage_tables()
760 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_ulv_state() argument
762 return polaris10_populate_ulv_level(hwmgr, &table->Ulv); in polaris10_populate_ulv_state()
766 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_link_level() argument
776 table->LinkLevel[i].PcieGenSpeed = in polaris10_populate_smc_link_level()
778 table->LinkLevel[i].PcieLaneCount = (uint8_t)encode_pcie_lane_width( in polaris10_populate_smc_link_level()
780 table->LinkLevel[i].EnabledForActivity = 1; in polaris10_populate_smc_link_level()
781 table->LinkLevel[i].SPC = (uint8_t)(data->pcie_spc_cap & 0xff); in polaris10_populate_smc_link_level()
782 table->LinkLevel[i].DownThreshold = PP_HOST_TO_SMC_UL(5); in polaris10_populate_smc_link_level()
783 table->LinkLevel[i].UpThreshold = PP_HOST_TO_SMC_UL(30); in polaris10_populate_smc_link_level()
798 SMU74_Discrete_DpmTable *table) in polaris10_get_sclk_range_table() argument
809 table->SclkFcwRangeTable[i].vco_setting = range_table_from_vbios.entry[i].ucVco_setting; in polaris10_get_sclk_range_table()
810 table->SclkFcwRangeTable[i].postdiv = range_table_from_vbios.entry[i].ucPostdiv; in polaris10_get_sclk_range_table()
811 table->SclkFcwRangeTable[i].fcw_pcc = range_table_from_vbios.entry[i].usFcw_pcc; in polaris10_get_sclk_range_table()
813 table->SclkFcwRangeTable[i].fcw_trans_upper = range_table_from_vbios.entry[i].usFcw_trans_upper; in polaris10_get_sclk_range_table()
814 table->SclkFcwRangeTable[i].fcw_trans_lower = range_table_from_vbios.entry[i].usRcw_trans_lower; in polaris10_get_sclk_range_table()
816 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_pcc); in polaris10_get_sclk_range_table()
817 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_upper); in polaris10_get_sclk_range_table()
818 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_lower); in polaris10_get_sclk_range_table()
827 table->SclkFcwRangeTable[i].vco_setting = Range_Table[i].vco_setting; in polaris10_get_sclk_range_table()
828 table->SclkFcwRangeTable[i].postdiv = Range_Table[i].postdiv; in polaris10_get_sclk_range_table()
829 table->SclkFcwRangeTable[i].fcw_pcc = Range_Table[i].fcw_pcc; in polaris10_get_sclk_range_table()
831 table->SclkFcwRangeTable[i].fcw_trans_upper = Range_Table[i].fcw_trans_upper; in polaris10_get_sclk_range_table()
832 table->SclkFcwRangeTable[i].fcw_trans_lower = Range_Table[i].fcw_trans_lower; in polaris10_get_sclk_range_table()
834 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_pcc); in polaris10_get_sclk_range_table()
835 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_upper); in polaris10_get_sclk_range_table()
836 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_lower); in polaris10_get_sclk_range_table()
844 const SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_calculate_sclk_params() local
880 …sclk_setting->Fcw_int = (uint16_t)((clock << table->SclkFcwRangeTable[sclk_setting->PllRange].post… in polaris10_calculate_sclk_params()
881 temp = clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in polaris10_calculate_sclk_params()
888 …sclk_setting->Pcc_fcw_int = (uint16_t)((pcc_target_freq << table->SclkFcwRangeTable[sclk_setting->… in polaris10_calculate_sclk_params()
895 …sclk_setting->Fcw1_int = (uint16_t)((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllR… in polaris10_calculate_sclk_params()
896 temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in polaris10_calculate_sclk_params()
1198 SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_acpi_level() argument
1208 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in polaris10_populate_smc_acpi_level()
1216 &table->ACPILevel.MinVoltage, &mvdd); in polaris10_populate_smc_acpi_level()
1222 result = polaris10_calculate_sclk_params(hwmgr, sclk_frequency, &(table->ACPILevel.SclkSetting)); in polaris10_populate_smc_acpi_level()
1225 table->ACPILevel.DeepSleepDivId = 0; in polaris10_populate_smc_acpi_level()
1226 table->ACPILevel.CcPwrDynRm = 0; in polaris10_populate_smc_acpi_level()
1227 table->ACPILevel.CcPwrDynRm1 = 0; in polaris10_populate_smc_acpi_level()
1229 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.Flags); in polaris10_populate_smc_acpi_level()
1230 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.MinVoltage); in polaris10_populate_smc_acpi_level()
1231 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm); in polaris10_populate_smc_acpi_level()
1232 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm1); in polaris10_populate_smc_acpi_level()
1234 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.SclkSetting.SclkFrequency); in polaris10_populate_smc_acpi_level()
1235 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw_int); in polaris10_populate_smc_acpi_level()
1236 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw_frac); in polaris10_populate_smc_acpi_level()
1237 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Pcc_fcw_int); in polaris10_populate_smc_acpi_level()
1238 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Sclk_slew_rate); in polaris10_populate_smc_acpi_level()
1239 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Pcc_up_slew_rate); in polaris10_populate_smc_acpi_level()
1240 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Pcc_down_slew_rate); in polaris10_populate_smc_acpi_level()
1241 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw1_int); in polaris10_populate_smc_acpi_level()
1242 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw1_frac); in polaris10_populate_smc_acpi_level()
1243 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Sclk_ss_slew_rate); in polaris10_populate_smc_acpi_level()
1247 table->MemoryACPILevel.MclkFrequency = data->vbios_boot_state.mclk_bootup_value; in polaris10_populate_smc_acpi_level()
1250 table->MemoryACPILevel.MclkFrequency, in polaris10_populate_smc_acpi_level()
1251 &table->MemoryACPILevel.MinVoltage, &mvdd); in polaris10_populate_smc_acpi_level()
1264 table->MemoryACPILevel.MinMvdd = PP_HOST_TO_SMC_UL(vol_level.Voltage); in polaris10_populate_smc_acpi_level()
1266 table->MemoryACPILevel.MinMvdd = 0; in polaris10_populate_smc_acpi_level()
1268 table->MemoryACPILevel.StutterEnable = false; in polaris10_populate_smc_acpi_level()
1270 table->MemoryACPILevel.EnabledForThrottle = 0; in polaris10_populate_smc_acpi_level()
1271 table->MemoryACPILevel.EnabledForActivity = 0; in polaris10_populate_smc_acpi_level()
1272 table->MemoryACPILevel.UpHyst = 0; in polaris10_populate_smc_acpi_level()
1273 table->MemoryACPILevel.DownHyst = 100; in polaris10_populate_smc_acpi_level()
1274 table->MemoryACPILevel.VoltageDownHyst = 0; in polaris10_populate_smc_acpi_level()
1275 table->MemoryACPILevel.ActivityLevel = in polaris10_populate_smc_acpi_level()
1278 CONVERT_FROM_HOST_TO_SMC_UL(table->MemoryACPILevel.MclkFrequency); in polaris10_populate_smc_acpi_level()
1279 CONVERT_FROM_HOST_TO_SMC_UL(table->MemoryACPILevel.MinVoltage); in polaris10_populate_smc_acpi_level()
1285 SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_vce_level() argument
1297 table->VceLevelCount = (uint8_t)(mm_table->count); in polaris10_populate_smc_vce_level()
1298 table->VceBootLevel = 0; in polaris10_populate_smc_vce_level()
1300 for (count = 0; count < table->VceLevelCount; count++) { in polaris10_populate_smc_vce_level()
1301 table->VceLevel[count].Frequency = mm_table->entries[count].eclk; in polaris10_populate_smc_vce_level()
1302 table->VceLevel[count].MinVoltage = 0; in polaris10_populate_smc_vce_level()
1303 table->VceLevel[count].MinVoltage |= in polaris10_populate_smc_vce_level()
1315 table->VceLevel[count].MinVoltage |= in polaris10_populate_smc_vce_level()
1317 table->VceLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in polaris10_populate_smc_vce_level()
1321 table->VceLevel[count].Frequency, &dividers); in polaris10_populate_smc_vce_level()
1326 table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider; in polaris10_populate_smc_vce_level()
1328 CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency); in polaris10_populate_smc_vce_level()
1329 CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].MinVoltage); in polaris10_populate_smc_vce_level()
1391 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_uvd_level() argument
1403 table->UvdLevelCount = (uint8_t)(mm_table->count); in polaris10_populate_smc_uvd_level()
1404 table->UvdBootLevel = 0; in polaris10_populate_smc_uvd_level()
1406 for (count = 0; count < table->UvdLevelCount; count++) { in polaris10_populate_smc_uvd_level()
1407 table->UvdLevel[count].MinVoltage = 0; in polaris10_populate_smc_uvd_level()
1408 table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk; in polaris10_populate_smc_uvd_level()
1409 table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk; in polaris10_populate_smc_uvd_level()
1410 table->UvdLevel[count].MinVoltage |= (mm_table->entries[count].vddc * in polaris10_populate_smc_uvd_level()
1421 table->UvdLevel[count].MinVoltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in polaris10_populate_smc_uvd_level()
1422 table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in polaris10_populate_smc_uvd_level()
1426 table->UvdLevel[count].VclkFrequency, &dividers); in polaris10_populate_smc_uvd_level()
1430 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in polaris10_populate_smc_uvd_level()
1433 table->UvdLevel[count].DclkFrequency, &dividers); in polaris10_populate_smc_uvd_level()
1437 table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider; in polaris10_populate_smc_uvd_level()
1439 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); in polaris10_populate_smc_uvd_level()
1440 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency); in polaris10_populate_smc_uvd_level()
1441 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].MinVoltage); in polaris10_populate_smc_uvd_level()
1448 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_boot_level() argument
1453 table->GraphicsBootLevel = 0; in polaris10_populate_smc_boot_level()
1454 table->MemoryBootLevel = 0; in polaris10_populate_smc_boot_level()
1459 (uint32_t *)&(table->GraphicsBootLevel)); in polaris10_populate_smc_boot_level()
1463 (uint32_t *)&(table->MemoryBootLevel)); in polaris10_populate_smc_boot_level()
1465 table->BootVddc = data->vbios_boot_state.vddc_bootup_value * in polaris10_populate_smc_boot_level()
1467 table->BootVddci = data->vbios_boot_state.vddci_bootup_value * in polaris10_populate_smc_boot_level()
1469 table->BootMVdd = data->vbios_boot_state.mvdd_bootup_value * in polaris10_populate_smc_boot_level()
1472 CONVERT_FROM_HOST_TO_SMC_US(table->BootVddc); in polaris10_populate_smc_boot_level()
1473 CONVERT_FROM_HOST_TO_SMC_US(table->BootVddci); in polaris10_populate_smc_boot_level()
1474 CONVERT_FROM_HOST_TO_SMC_US(table->BootMVdd); in polaris10_populate_smc_boot_level()
1594 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_vr_config() argument
1601 table->VRConfig |= (config << VRCONF_VDDGFX_SHIFT); in polaris10_populate_vr_config()
1606 table->VRConfig |= config; in polaris10_populate_vr_config()
1615 table->VRConfig |= (config << VRCONF_VDDCI_SHIFT); in polaris10_populate_vr_config()
1618 table->VRConfig |= (config << VRCONF_VDDCI_SHIFT); in polaris10_populate_vr_config()
1621 table->VRConfig |= (config << VRCONF_VDDCI_SHIFT); in polaris10_populate_vr_config()
1626 table->VRConfig |= (config << VRCONF_MVDD_SHIFT); in polaris10_populate_vr_config()
1631 table->VRConfig |= (config << VRCONF_MVDD_SHIFT); in polaris10_populate_vr_config()
1643 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_avfs_parameters() local
1662 table->BTCGB_VDROOP_TABLE[0].a0 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a0); in polaris10_populate_avfs_parameters()
1663 table->BTCGB_VDROOP_TABLE[0].a1 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a1); in polaris10_populate_avfs_parameters()
1664 table->BTCGB_VDROOP_TABLE[0].a2 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a2); in polaris10_populate_avfs_parameters()
1665 table->BTCGB_VDROOP_TABLE[1].a0 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0); in polaris10_populate_avfs_parameters()
1666 table->BTCGB_VDROOP_TABLE[1].a1 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a1); in polaris10_populate_avfs_parameters()
1667 table->BTCGB_VDROOP_TABLE[1].a2 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a2); in polaris10_populate_avfs_parameters()
1668 table->AVFSGB_VDROOP_TABLE[0].m1 = PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSON_m1); in polaris10_populate_avfs_parameters()
1669 table->AVFSGB_VDROOP_TABLE[0].m2 = PP_HOST_TO_SMC_US(avfs_params.usAVFSGB_FUSE_TABLE_CKSON_m2); in polaris10_populate_avfs_parameters()
1670 table->AVFSGB_VDROOP_TABLE[0].b = PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSON_b); in polaris10_populate_avfs_parameters()
1671 table->AVFSGB_VDROOP_TABLE[0].m1_shift = 24; in polaris10_populate_avfs_parameters()
1672 table->AVFSGB_VDROOP_TABLE[0].m2_shift = 12; in polaris10_populate_avfs_parameters()
1673 table->AVFSGB_VDROOP_TABLE[1].m1 = PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSOFF_m1); in polaris10_populate_avfs_parameters()
1674 table->AVFSGB_VDROOP_TABLE[1].m2 = PP_HOST_TO_SMC_US(avfs_params.usAVFSGB_FUSE_TABLE_CKSOFF_m2); in polaris10_populate_avfs_parameters()
1675 table->AVFSGB_VDROOP_TABLE[1].b = PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSOFF_b); in polaris10_populate_avfs_parameters()
1676 table->AVFSGB_VDROOP_TABLE[1].m1_shift = 24; in polaris10_populate_avfs_parameters()
1677 table->AVFSGB_VDROOP_TABLE[1].m2_shift = 12; in polaris10_populate_avfs_parameters()
1678 table->MaxVoltage = PP_HOST_TO_SMC_US(avfs_params.usMaxVoltage_0_25mv); in polaris10_populate_avfs_parameters()
1772 struct SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_init_smc_table() local
1780 polaris10_populate_smc_voltage_tables(hwmgr, table); in polaris10_init_smc_table()
1782 table->SystemFlags = 0; in polaris10_init_smc_table()
1785 table->SystemFlags |= PPSMC_SYSTEMFLAG_GPIO_DC; in polaris10_init_smc_table()
1789 table->SystemFlags |= PPSMC_SYSTEMFLAG_STEPVDDC; in polaris10_init_smc_table()
1792 table->SystemFlags |= PPSMC_SYSTEMFLAG_GDDR5; in polaris10_init_smc_table()
1795 result = polaris10_populate_ulv_state(hwmgr, table); in polaris10_init_smc_table()
1802 result = polaris10_populate_smc_link_level(hwmgr, table); in polaris10_init_smc_table()
1814 result = polaris10_populate_smc_acpi_level(hwmgr, table); in polaris10_init_smc_table()
1818 result = polaris10_populate_smc_vce_level(hwmgr, table); in polaris10_init_smc_table()
1830 result = polaris10_populate_smc_uvd_level(hwmgr, table); in polaris10_init_smc_table()
1834 result = polaris10_populate_smc_boot_level(hwmgr, table); in polaris10_init_smc_table()
1857 table->CurrSclkPllRange = 0xff; in polaris10_init_smc_table()
1858 table->GraphicsVoltageChangeEnable = 1; in polaris10_init_smc_table()
1859 table->GraphicsThermThrottleEnable = 1; in polaris10_init_smc_table()
1860 table->GraphicsInterval = 1; in polaris10_init_smc_table()
1861 table->VoltageInterval = 1; in polaris10_init_smc_table()
1862 table->ThermalInterval = 1; in polaris10_init_smc_table()
1863 table->TemperatureLimitHigh = in polaris10_init_smc_table()
1866 table->TemperatureLimitLow = in polaris10_init_smc_table()
1869 table->MemoryVoltageChangeEnable = 1; in polaris10_init_smc_table()
1870 table->MemoryInterval = 1; in polaris10_init_smc_table()
1871 table->VoltageResponseTime = 0; in polaris10_init_smc_table()
1872 table->PhaseResponseTime = 0; in polaris10_init_smc_table()
1873 table->MemoryThermThrottleEnable = 1; in polaris10_init_smc_table()
1874 table->PCIeBootLinkLevel = 0; in polaris10_init_smc_table()
1875 table->PCIeGenInterval = 1; in polaris10_init_smc_table()
1876 table->VRConfig = 0; in polaris10_init_smc_table()
1878 result = polaris10_populate_vr_config(hwmgr, table); in polaris10_init_smc_table()
1881 hw_data->vr_config = table->VRConfig; in polaris10_init_smc_table()
1882 table->ThermGpio = 17; in polaris10_init_smc_table()
1883 table->SclkStepSize = 0x4000; in polaris10_init_smc_table()
1886 table->VRHotGpio = gpio_pin.uc_gpio_pin_bit_shift; in polaris10_init_smc_table()
1888 table->VRHotGpio = SMU7_UNUSED_GPIO_PIN; in polaris10_init_smc_table()
1895 table->AcDcGpio = gpio_pin.uc_gpio_pin_bit_shift; in polaris10_init_smc_table()
1899 table->AcDcGpio = SMU7_UNUSED_GPIO_PIN; in polaris10_init_smc_table()
1910 table->ThermOutGpio = gpio_pin.uc_gpio_pin_bit_shift; in polaris10_init_smc_table()
1917 table->ThermOutPolarity = (0 == (cgs_read_register(hwmgr->device, mmGPIOPAD_A) in polaris10_init_smc_table()
1919 table->ThermOutMode = SMU7_THERM_OUT_MODE_THERM_ONLY; in polaris10_init_smc_table()
1924 table->ThermOutMode = SMU7_THERM_OUT_MODE_THERM_VRHOT; in polaris10_init_smc_table()
1926 table->ThermOutGpio = 17; in polaris10_init_smc_table()
1927 table->ThermOutPolarity = 1; in polaris10_init_smc_table()
1928 table->ThermOutMode = SMU7_THERM_OUT_MODE_DISABLE; in polaris10_init_smc_table()
1937 table->Ulv.BifSclkDfs = PP_HOST_TO_SMC_US((USHORT)(dividers.pll_post_divider)); in polaris10_init_smc_table()
1939 table->LinkLevel[i-1].BifSclkDfs = PP_HOST_TO_SMC_US((USHORT)(dividers.pll_post_divider)); in polaris10_init_smc_table()
1943 table->Smio[i] = PP_HOST_TO_SMC_UL(table->Smio[i]); in polaris10_init_smc_table()
1945 CONVERT_FROM_HOST_TO_SMC_UL(table->SystemFlags); in polaris10_init_smc_table()
1946 CONVERT_FROM_HOST_TO_SMC_UL(table->VRConfig); in polaris10_init_smc_table()
1947 CONVERT_FROM_HOST_TO_SMC_UL(table->SmioMask1); in polaris10_init_smc_table()
1948 CONVERT_FROM_HOST_TO_SMC_UL(table->SmioMask2); in polaris10_init_smc_table()
1949 CONVERT_FROM_HOST_TO_SMC_UL(table->SclkStepSize); in polaris10_init_smc_table()
1950 CONVERT_FROM_HOST_TO_SMC_UL(table->CurrSclkPllRange); in polaris10_init_smc_table()
1951 CONVERT_FROM_HOST_TO_SMC_US(table->TemperatureLimitHigh); in polaris10_init_smc_table()
1952 CONVERT_FROM_HOST_TO_SMC_US(table->TemperatureLimitLow); in polaris10_init_smc_table()
1953 CONVERT_FROM_HOST_TO_SMC_US(table->VoltageResponseTime); in polaris10_init_smc_table()
1954 CONVERT_FROM_HOST_TO_SMC_US(table->PhaseResponseTime); in polaris10_init_smc_table()
1960 (uint8_t *)&(table->SystemFlags), in polaris10_init_smc_table()