Lines Matching full:table

448 			SMU75_Discrete_DpmTable *table)  in vegam_populate_smc_mvdd_table()  argument
458 table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_mvdd_table()
461 table->SmioTable2.Pattern[level].Smio = in vegam_populate_smc_mvdd_table()
463 table->Smio[level] |= in vegam_populate_smc_mvdd_table()
466 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in vegam_populate_smc_mvdd_table()
468 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count); in vegam_populate_smc_mvdd_table()
475 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_vddci_table() argument
486 table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_vddci_table()
488 table->SmioTable1.Pattern[level].Smio = (uint8_t) level; in vegam_populate_smc_vddci_table()
490 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in vegam_populate_smc_vddci_table()
494 table->SmioMask1 = data->vddci_voltage_table.mask_low; in vegam_populate_smc_vddci_table()
500 struct SMU75_Discrete_DpmTable *table) in vegam_populate_cac_table() argument
511 * We are populating vddc CAC data to BapmVddc table in vegam_populate_cac_table()
517 table->BapmVddcVidLoSidd[count] = in vegam_populate_cac_table()
519 table->BapmVddcVidHiSidd[count] = in vegam_populate_cac_table()
521 table->BapmVddcVidHiSidd2[count] = in vegam_populate_cac_table()
529 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_voltage_tables() argument
531 vegam_populate_smc_vddci_table(hwmgr, table); in vegam_populate_smc_voltage_tables()
532 vegam_populate_smc_mvdd_table(hwmgr, table); in vegam_populate_smc_voltage_tables()
533 vegam_populate_cac_table(hwmgr, table); in vegam_populate_smc_voltage_tables()
562 struct SMU75_Discrete_DpmTable *table) in vegam_populate_ulv_state() argument
564 return vegam_populate_ulv_level(hwmgr, &table->Ulv); in vegam_populate_ulv_state()
568 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_link_level() argument
579 table->LinkLevel[i].PcieGenSpeed = in vegam_populate_smc_link_level()
581 table->LinkLevel[i].PcieLaneCount = (uint8_t)encode_pcie_lane_width( in vegam_populate_smc_link_level()
583 table->LinkLevel[i].EnabledForActivity = 1; in vegam_populate_smc_link_level()
584 table->LinkLevel[i].SPC = (uint8_t)(data->pcie_spc_cap & 0xff); in vegam_populate_smc_link_level()
585 table->LinkLevel[i].DownThreshold = PP_HOST_TO_SMC_UL(5); in vegam_populate_smc_link_level()
586 table->LinkLevel[i].UpThreshold = PP_HOST_TO_SMC_UL(30); in vegam_populate_smc_link_level()
609 /* clock - voltage dependency table is empty table */ in vegam_get_dependency_volt_by_clk()
643 /* sclk is bigger than max sclk in the dependence table */ in vegam_get_dependency_volt_by_clk()
667 SMU75_Discrete_DpmTable *table) in vegam_get_sclk_range_table() argument
678 table->SclkFcwRangeTable[i].vco_setting = in vegam_get_sclk_range_table()
680 table->SclkFcwRangeTable[i].postdiv = in vegam_get_sclk_range_table()
682 table->SclkFcwRangeTable[i].fcw_pcc = in vegam_get_sclk_range_table()
685 table->SclkFcwRangeTable[i].fcw_trans_upper = in vegam_get_sclk_range_table()
687 table->SclkFcwRangeTable[i].fcw_trans_lower = in vegam_get_sclk_range_table()
690 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_pcc); in vegam_get_sclk_range_table()
691 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_upper); in vegam_get_sclk_range_table()
692 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_lower); in vegam_get_sclk_range_table()
703 table->SclkFcwRangeTable[i].vco_setting = Range_Table[i].vco_setting; in vegam_get_sclk_range_table()
704 table->SclkFcwRangeTable[i].postdiv = Range_Table[i].postdiv; in vegam_get_sclk_range_table()
705 table->SclkFcwRangeTable[i].fcw_pcc = Range_Table[i].fcw_pcc; in vegam_get_sclk_range_table()
707 table->SclkFcwRangeTable[i].fcw_trans_upper = Range_Table[i].fcw_trans_upper; in vegam_get_sclk_range_table()
708 table->SclkFcwRangeTable[i].fcw_trans_lower = Range_Table[i].fcw_trans_lower; in vegam_get_sclk_range_table()
710 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_pcc); in vegam_get_sclk_range_table()
711 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_upper); in vegam_get_sclk_range_table()
712 CONVERT_FROM_HOST_TO_SMC_US(table->SclkFcwRangeTable[i].fcw_trans_lower); in vegam_get_sclk_range_table()
720 const SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); in vegam_calculate_sclk_params() local
757 ((clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / in vegam_calculate_sclk_params()
759 temp = clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in vegam_calculate_sclk_params()
767 ((pcc_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / in vegam_calculate_sclk_params()
776 ((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / in vegam_calculate_sclk_params()
778 temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in vegam_calculate_sclk_params()
826 "VDDC engine clock dependency table", in vegam_populate_single_graphic_level()
953 /* level count will send to smc once at init smc table and never change */ in vegam_populate_all_graphic_levels()
994 "VDDC voltage dependency table", return result); in vegam_populate_single_memory_level()
1037 /* populate MCLK dpm table to SMU7 */ in vegam_populate_all_memory_levels()
1075 /* level count will send to smc once at init smc table and never change */ in vegam_populate_all_memory_levels()
1108 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_acpi_level() argument
1119 table->ACPILevel.Flags &= ~PPSMC_SWSTATE_FLAG_DC; in vegam_populate_smc_acpi_level()
1127 &table->ACPILevel.MinVoltage, &mvdd); in vegam_populate_smc_acpi_level()
1130 "in Clock Dependency Table", in vegam_populate_smc_acpi_level()
1134 &(table->ACPILevel.SclkSetting)); in vegam_populate_smc_acpi_level()
1139 table->ACPILevel.DeepSleepDivId = 0; in vegam_populate_smc_acpi_level()
1140 table->ACPILevel.CcPwrDynRm = 0; in vegam_populate_smc_acpi_level()
1141 table->ACPILevel.CcPwrDynRm1 = 0; in vegam_populate_smc_acpi_level()
1143 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.Flags); in vegam_populate_smc_acpi_level()
1144 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.MinVoltage); in vegam_populate_smc_acpi_level()
1145 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm); in vegam_populate_smc_acpi_level()
1146 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.CcPwrDynRm1); in vegam_populate_smc_acpi_level()
1148 CONVERT_FROM_HOST_TO_SMC_UL(table->ACPILevel.SclkSetting.SclkFrequency); in vegam_populate_smc_acpi_level()
1149 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw_int); in vegam_populate_smc_acpi_level()
1150 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw_frac); in vegam_populate_smc_acpi_level()
1151 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Pcc_fcw_int); in vegam_populate_smc_acpi_level()
1152 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Sclk_slew_rate); in vegam_populate_smc_acpi_level()
1153 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Pcc_up_slew_rate); in vegam_populate_smc_acpi_level()
1154 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Pcc_down_slew_rate); in vegam_populate_smc_acpi_level()
1155 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw1_int); in vegam_populate_smc_acpi_level()
1156 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Fcw1_frac); in vegam_populate_smc_acpi_level()
1157 CONVERT_FROM_HOST_TO_SMC_US(table->ACPILevel.SclkSetting.Sclk_ss_slew_rate); in vegam_populate_smc_acpi_level()
1161 table->MemoryACPILevel.MclkFrequency = data->vbios_boot_state.mclk_bootup_value; in vegam_populate_smc_acpi_level()
1164 table->MemoryACPILevel.MclkFrequency, in vegam_populate_smc_acpi_level()
1165 &table->MemoryACPILevel.MinVoltage, &mvdd); in vegam_populate_smc_acpi_level()
1168 "in Clock Dependency Table", in vegam_populate_smc_acpi_level()
1183 table->MemoryACPILevel.MinMvdd = PP_HOST_TO_SMC_UL(vol_level.Voltage); in vegam_populate_smc_acpi_level()
1185 table->MemoryACPILevel.MinMvdd = 0; in vegam_populate_smc_acpi_level()
1187 table->MemoryACPILevel.StutterEnable = false; in vegam_populate_smc_acpi_level()
1189 table->MemoryACPILevel.EnabledForThrottle = 0; in vegam_populate_smc_acpi_level()
1190 table->MemoryACPILevel.EnabledForActivity = 0; in vegam_populate_smc_acpi_level()
1191 table->MemoryACPILevel.UpHyst = 0; in vegam_populate_smc_acpi_level()
1192 table->MemoryACPILevel.DownHyst = 100; in vegam_populate_smc_acpi_level()
1193 table->MemoryACPILevel.VoltageDownHyst = 0; in vegam_populate_smc_acpi_level()
1194 table->MemoryACPILevel.ActivityLevel = in vegam_populate_smc_acpi_level()
1197 CONVERT_FROM_HOST_TO_SMC_UL(table->MemoryACPILevel.MclkFrequency); in vegam_populate_smc_acpi_level()
1198 CONVERT_FROM_HOST_TO_SMC_UL(table->MemoryACPILevel.MinVoltage); in vegam_populate_smc_acpi_level()
1204 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_vce_level() argument
1216 table->VceLevelCount = (uint8_t)(mm_table->count); in vegam_populate_smc_vce_level()
1217 table->VceBootLevel = 0; in vegam_populate_smc_vce_level()
1219 for (count = 0; count < table->VceLevelCount; count++) { in vegam_populate_smc_vce_level()
1220 table->VceLevel[count].Frequency = mm_table->entries[count].eclk; in vegam_populate_smc_vce_level()
1221 table->VceLevel[count].MinVoltage = 0; in vegam_populate_smc_vce_level()
1222 table->VceLevel[count].MinVoltage |= in vegam_populate_smc_vce_level()
1234 table->VceLevel[count].MinVoltage |= in vegam_populate_smc_vce_level()
1236 table->VceLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in vegam_populate_smc_vce_level()
1240 table->VceLevel[count].Frequency, &dividers); in vegam_populate_smc_vce_level()
1245 table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider; in vegam_populate_smc_vce_level()
1247 CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency); in vegam_populate_smc_vce_level()
1248 CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].MinVoltage); in vegam_populate_smc_vce_level()
1317 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_uvd_level() argument
1329 table->UvdLevelCount = (uint8_t)(mm_table->count); in vegam_populate_smc_uvd_level()
1330 table->UvdBootLevel = 0; in vegam_populate_smc_uvd_level()
1332 for (count = 0; count < table->UvdLevelCount; count++) { in vegam_populate_smc_uvd_level()
1333 table->UvdLevel[count].MinVoltage = 0; in vegam_populate_smc_uvd_level()
1334 table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk; in vegam_populate_smc_uvd_level()
1335 table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk; in vegam_populate_smc_uvd_level()
1336 table->UvdLevel[count].MinVoltage |= in vegam_populate_smc_uvd_level()
1347 table->UvdLevel[count].MinVoltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in vegam_populate_smc_uvd_level()
1348 table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in vegam_populate_smc_uvd_level()
1352 table->UvdLevel[count].VclkFrequency, &dividers); in vegam_populate_smc_uvd_level()
1356 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in vegam_populate_smc_uvd_level()
1359 table->UvdLevel[count].DclkFrequency, &dividers); in vegam_populate_smc_uvd_level()
1363 table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider; in vegam_populate_smc_uvd_level()
1365 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); in vegam_populate_smc_uvd_level()
1366 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency); in vegam_populate_smc_uvd_level()
1367 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].MinVoltage); in vegam_populate_smc_uvd_level()
1374 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_boot_level() argument
1379 table->GraphicsBootLevel = 0; in vegam_populate_smc_boot_level()
1380 table->MemoryBootLevel = 0; in vegam_populate_smc_boot_level()
1382 /* find boot level from dpm table */ in vegam_populate_smc_boot_level()
1385 (uint32_t *)&(table->GraphicsBootLevel)); in vegam_populate_smc_boot_level()
1389 (uint32_t *)&(table->MemoryBootLevel)); in vegam_populate_smc_boot_level()
1391 table->BootVddc = data->vbios_boot_state.vddc_bootup_value * in vegam_populate_smc_boot_level()
1393 table->BootVddci = data->vbios_boot_state.vddci_bootup_value * in vegam_populate_smc_boot_level()
1395 table->BootMVdd = data->vbios_boot_state.mvdd_bootup_value * in vegam_populate_smc_boot_level()
1398 CONVERT_FROM_HOST_TO_SMC_US(table->BootVddc); in vegam_populate_smc_boot_level()
1399 CONVERT_FROM_HOST_TO_SMC_US(table->BootVddci); in vegam_populate_smc_boot_level()
1400 CONVERT_FROM_HOST_TO_SMC_US(table->BootMVdd); in vegam_populate_smc_boot_level()
1447 SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); in vegam_populate_bapm_parameters_in_dpm_table() local
1457 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()
1458 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()
1464 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()
1466 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()
1468 table->FanGainEdge = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()
1470 table->FanGainHotspot = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()
1479 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in vegam_populate_bapm_parameters_in_dpm_table()
1480 table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*pdef2); in vegam_populate_bapm_parameters_in_dpm_table()
1534 /* Populate CKS Lookup Table */ in vegam_populate_clock_stretcher_data_table()
1573 SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); in vegam_populate_avfs_parameters() local
1591 table->BTCGB_VDROOP_TABLE[0].a0 = in vegam_populate_avfs_parameters()
1593 table->BTCGB_VDROOP_TABLE[0].a1 = in vegam_populate_avfs_parameters()
1595 table->BTCGB_VDROOP_TABLE[0].a2 = in vegam_populate_avfs_parameters()
1597 table->BTCGB_VDROOP_TABLE[1].a0 = in vegam_populate_avfs_parameters()
1599 table->BTCGB_VDROOP_TABLE[1].a1 = in vegam_populate_avfs_parameters()
1601 table->BTCGB_VDROOP_TABLE[1].a2 = in vegam_populate_avfs_parameters()
1603 table->AVFSGB_FUSE_TABLE[0].m1 = in vegam_populate_avfs_parameters()
1605 table->AVFSGB_FUSE_TABLE[0].m2 = in vegam_populate_avfs_parameters()
1607 table->AVFSGB_FUSE_TABLE[0].b = in vegam_populate_avfs_parameters()
1609 table->AVFSGB_FUSE_TABLE[0].m1_shift = 24; in vegam_populate_avfs_parameters()
1610 table->AVFSGB_FUSE_TABLE[0].m2_shift = 12; in vegam_populate_avfs_parameters()
1611 table->AVFSGB_FUSE_TABLE[1].m1 = in vegam_populate_avfs_parameters()
1613 table->AVFSGB_FUSE_TABLE[1].m2 = in vegam_populate_avfs_parameters()
1615 table->AVFSGB_FUSE_TABLE[1].b = in vegam_populate_avfs_parameters()
1617 table->AVFSGB_FUSE_TABLE[1].m1_shift = 24; in vegam_populate_avfs_parameters()
1618 table->AVFSGB_FUSE_TABLE[1].m2_shift = 12; in vegam_populate_avfs_parameters()
1619 table->MaxVoltage = PP_HOST_TO_SMC_US(avfs_params.usMaxVoltage_0_25mv); in vegam_populate_avfs_parameters()
1675 struct SMU75_Discrete_DpmTable *table) in vegam_populate_vr_config() argument
1683 table->VRConfig |= (config << VRCONF_VDDGFX_SHIFT); in vegam_populate_vr_config()
1688 table->VRConfig |= config; in vegam_populate_vr_config()
1697 table->VRConfig |= (config << VRCONF_VDDCI_SHIFT); in vegam_populate_vr_config()
1700 table->VRConfig |= (config << VRCONF_VDDCI_SHIFT); in vegam_populate_vr_config()
1703 table->VRConfig |= (config << VRCONF_VDDCI_SHIFT); in vegam_populate_vr_config()
1709 table->VRConfig |= (config << VRCONF_MVDD_SHIFT); in vegam_populate_vr_config()
1719 table->VRConfig = (config << VRCONF_MVDD_SHIFT); in vegam_populate_vr_config()
1723 table->VRConfig = (config << VRCONF_MVDD_SHIFT); in vegam_populate_vr_config()
1731 table->VRConfig |= (config << VRCONF_MVDD_SHIFT); in vegam_populate_vr_config()
1931 struct SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); in vegam_init_smc_table() local
1944 vegam_populate_smc_voltage_tables(hwmgr, table); in vegam_init_smc_table()
1946 table->SystemFlags = 0; in vegam_init_smc_table()
1949 table->SystemFlags |= PPSMC_SYSTEMFLAG_GPIO_DC; in vegam_init_smc_table()
1953 table->SystemFlags |= PPSMC_SYSTEMFLAG_STEPVDDC; in vegam_init_smc_table()
1956 table->SystemFlags |= PPSMC_SYSTEMFLAG_GDDR5; in vegam_init_smc_table()
1959 result = vegam_populate_ulv_state(hwmgr, table); in vegam_init_smc_table()
1966 result = vegam_populate_smc_link_level(hwmgr, table); in vegam_init_smc_table()
1978 result = vegam_populate_smc_acpi_level(hwmgr, table); in vegam_init_smc_table()
1982 result = vegam_populate_smc_vce_level(hwmgr, table); in vegam_init_smc_table()
1994 result = vegam_populate_smc_uvd_level(hwmgr, table); in vegam_init_smc_table()
1998 result = vegam_populate_smc_boot_level(hwmgr, table); in vegam_init_smc_table()
2014 "Failed to populate Clock Stretcher Data Table!", in vegam_init_smc_table()
2022 table->CurrSclkPllRange = 0xff; in vegam_init_smc_table()
2023 table->GraphicsVoltageChangeEnable = 1; in vegam_init_smc_table()
2024 table->GraphicsThermThrottleEnable = 1; in vegam_init_smc_table()
2025 table->GraphicsInterval = 1; in vegam_init_smc_table()
2026 table->VoltageInterval = 1; in vegam_init_smc_table()
2027 table->ThermalInterval = 1; in vegam_init_smc_table()
2028 table->TemperatureLimitHigh = in vegam_init_smc_table()
2031 table->TemperatureLimitLow = in vegam_init_smc_table()
2034 table->MemoryVoltageChangeEnable = 1; in vegam_init_smc_table()
2035 table->MemoryInterval = 1; in vegam_init_smc_table()
2036 table->VoltageResponseTime = 0; in vegam_init_smc_table()
2037 table->PhaseResponseTime = 0; in vegam_init_smc_table()
2038 table->MemoryThermThrottleEnable = 1; in vegam_init_smc_table()
2043 table->PCIeBootLinkLevel = in vegam_init_smc_table()
2045 table->PCIeGenInterval = 1; in vegam_init_smc_table()
2046 table->VRConfig = 0; in vegam_init_smc_table()
2048 result = vegam_populate_vr_config(hwmgr, table); in vegam_init_smc_table()
2052 table->ThermGpio = 17; in vegam_init_smc_table()
2053 table->SclkStepSize = 0x4000; in vegam_init_smc_table()
2057 table->VRHotGpio = gpio_pin.uc_gpio_pin_bit_shift; in vegam_init_smc_table()
2059 table->VRHotLevel = in vegam_init_smc_table()
2062 table->VRHotGpio = SMU7_UNUSED_GPIO_PIN; in vegam_init_smc_table()
2069 table->AcDcGpio = gpio_pin.uc_gpio_pin_bit_shift; in vegam_init_smc_table()
2076 table->AcDcGpio = SMU7_UNUSED_GPIO_PIN; in vegam_init_smc_table()
2084 table->ThermOutGpio = gpio_pin.uc_gpio_pin_bit_shift; in vegam_init_smc_table()
2091 table->ThermOutPolarity = in vegam_init_smc_table()
2094 table->ThermOutMode = SMU7_THERM_OUT_MODE_THERM_ONLY; in vegam_init_smc_table()
2101 table->ThermOutMode = SMU7_THERM_OUT_MODE_THERM_VRHOT; in vegam_init_smc_table()
2103 table->ThermOutGpio = 17; in vegam_init_smc_table()
2104 table->ThermOutPolarity = 1; in vegam_init_smc_table()
2105 table->ThermOutMode = SMU7_THERM_OUT_MODE_DISABLE; in vegam_init_smc_table()
2108 /* Populate BIF_SCLK levels into SMC DPM table */ in vegam_init_smc_table()
2117 table->Ulv.BifSclkDfs = in vegam_init_smc_table()
2120 table->LinkLevel[i - 1].BifSclkDfs = in vegam_init_smc_table()
2125 table->Smio[i] = PP_HOST_TO_SMC_UL(table->Smio[i]); in vegam_init_smc_table()
2127 CONVERT_FROM_HOST_TO_SMC_UL(table->SystemFlags); in vegam_init_smc_table()
2128 CONVERT_FROM_HOST_TO_SMC_UL(table->VRConfig); in vegam_init_smc_table()
2129 CONVERT_FROM_HOST_TO_SMC_UL(table->SmioMask1); in vegam_init_smc_table()
2130 CONVERT_FROM_HOST_TO_SMC_UL(table->SmioMask2); in vegam_init_smc_table()
2131 CONVERT_FROM_HOST_TO_SMC_UL(table->SclkStepSize); in vegam_init_smc_table()
2132 CONVERT_FROM_HOST_TO_SMC_UL(table->CurrSclkPllRange); in vegam_init_smc_table()
2133 CONVERT_FROM_HOST_TO_SMC_US(table->TemperatureLimitHigh); in vegam_init_smc_table()
2134 CONVERT_FROM_HOST_TO_SMC_US(table->TemperatureLimitLow); in vegam_init_smc_table()
2135 CONVERT_FROM_HOST_TO_SMC_US(table->VoltageResponseTime); in vegam_init_smc_table()
2136 CONVERT_FROM_HOST_TO_SMC_US(table->PhaseResponseTime); in vegam_init_smc_table()
2142 (uint8_t *)&(table->SystemFlags), in vegam_init_smc_table()