Searched refs:PP_HOST_TO_SMC_US (Results 1 – 7 of 7) sorted by relevance
30 #define PP_HOST_TO_SMC_US(X) cpu_to_be16(X) macro36 #define CONVERT_FROM_HOST_TO_SMC_US(X) ((X) = PP_HOST_TO_SMC_US(X))
458 table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_mvdd_table()486 table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_vddci_table()1195 PP_HOST_TO_SMC_US(data->current_profile_setting.mclk_activity); in vegam_populate_smc_acpi_level()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()[all …]
128 u16_boot_mvdd = PP_HOST_TO_SMC_US(1300 * VOLTAGE_SCALE); in polaris10_setup_graphics_level_structure()439 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()440 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()446 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()448 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()450 table->FanGainEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()452 table->FanGainHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()461 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in polaris10_populate_bapm_parameters_in_dpm_table()462 table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*pdef2); in polaris10_populate_bapm_parameters_in_dpm_table()549 smu_data->power_tune_table.FuzzyFan_PwmSetDelta = PP_HOST_TO_SMC_US( in polaris10_populate_fuzzy_fan()[all …]
504 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()506 dpm_table->TargetTdp = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()519 dpm_table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()521 dpm_table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()523 dpm_table->TemperatureLimitLiquid1 = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()525 dpm_table->TemperatureLimitLiquid2 = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()527 dpm_table->TemperatureLimitVrVddc = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()529 dpm_table->TemperatureLimitVrMvdd = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()531 dpm_table->TemperatureLimitPlx = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()534 dpm_table->FanGainEdge = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()[all …]
312 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vddc_table()329 PP_HOST_TO_SMC_US(data->vddgfx_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_gfx_table()346 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table()349 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table()356 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table()376 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_mvdd_table()1296 PP_HOST_TO_SMC_US(data->current_profile_setting.mclk_activity); in tonga_populate_smc_acpi_level()1838 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US( in tonga_populate_bapm_parameters_in_dpm_table()1840 dpm_table->TargetTdp = PP_HOST_TO_SMC_US( in tonga_populate_bapm_parameters_in_dpm_table()1861 PP_HOST_TO_SMC_US(*pdef1); in tonga_populate_bapm_parameters_in_dpm_table()[all …]
610 smc_voltage_tab->Voltage = PP_HOST_TO_SMC_US(tab->value * VOLTAGE_SCALE); in iceland_populate_smc_voltage_table()1553 …table->MemoryACPILevel.ActivityLevel = PP_HOST_TO_SMC_US(data->current_profile_setting.mclk_activi… in iceland_populate_smc_acpi_level()1700 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s0); in iceland_populate_mc_reg_address()1702 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s1); in iceland_populate_mc_reg_address()1866 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); in iceland_populate_bapm_parameters_in_dpm_table()1867 dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in iceland_populate_bapm_parameters_in_dpm_table()1896 dpm_table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*def1); in iceland_populate_bapm_parameters_in_dpm_table()1897 dpm_table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*def2); in iceland_populate_bapm_parameters_in_dpm_table()2052 table->BootVddc = PP_HOST_TO_SMC_US(table->BootVddc * VOLTAGE_SCALE); in iceland_init_smc_table()2053 table->BootVddci = PP_HOST_TO_SMC_US(table->BootVddci * VOLTAGE_SCALE); in iceland_init_smc_table()[all …]
724 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()725 dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()751 dpm_table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*def1); in ci_populate_bapm_parameters_in_dpm_table()752 dpm_table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*def2); in ci_populate_bapm_parameters_in_dpm_table()832 smc_voltage_tab->Voltage = PP_HOST_TO_SMC_US(tab->value * VOLTAGE_SCALE); in ci_populate_smc_voltage_table()1505 …table->MemoryACPILevel.ActivityLevel = PP_HOST_TO_SMC_US(data->current_profile_setting.mclk_activi… in ci_populate_smc_acpi_level()1733 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s0); in ci_populate_mc_reg_address()1735 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s1); in ci_populate_mc_reg_address()2092 table->VddcVddciDelta = PP_HOST_TO_SMC_US(table->VddcVddciDelta); in ci_init_smc_table()2096 table->BootVddc = PP_HOST_TO_SMC_US(table->BootVddc * VOLTAGE_SCALE); in ci_init_smc_table()[all …]