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))
460 table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_mvdd_table()488 table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_vddci_table()1187 PP_HOST_TO_SMC_US(data->current_profile_setting.mclk_activity); in vegam_populate_smc_acpi_level()1454 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()1455 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in vegam_populate_bapm_parameters_in_dpm_table()1461 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()1463 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()1465 table->FanGainEdge = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()1467 table->FanGainHotspot = PP_HOST_TO_SMC_US( in vegam_populate_bapm_parameters_in_dpm_table()1476 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in vegam_populate_bapm_parameters_in_dpm_table()[all …]
129 u16_boot_mvdd = PP_HOST_TO_SMC_US(1300 * VOLTAGE_SCALE); in polaris10_setup_graphics_level_structure()442 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()443 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()449 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()451 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()453 table->FanGainEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()455 table->FanGainHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()464 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in polaris10_populate_bapm_parameters_in_dpm_table()465 table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*pdef2); in polaris10_populate_bapm_parameters_in_dpm_table()485 table->FanStartTemperature = PP_HOST_TO_SMC_US(fan_start_temp); in polaris10_populate_zero_rpm_parameters()[all …]
502 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()504 dpm_table->TargetTdp = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()517 dpm_table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()519 dpm_table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()521 dpm_table->TemperatureLimitLiquid1 = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()523 dpm_table->TemperatureLimitLiquid2 = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()525 dpm_table->TemperatureLimitVrVddc = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()527 dpm_table->TemperatureLimitVrMvdd = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()529 dpm_table->TemperatureLimitPlx = PP_HOST_TO_SMC_US( in fiji_populate_bapm_parameters_in_dpm_table()532 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 …]
727 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()728 dpm_table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usConfigurableTDP * 256)); in ci_populate_bapm_parameters_in_dpm_table()754 dpm_table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*def1); in ci_populate_bapm_parameters_in_dpm_table()755 dpm_table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*def2); in ci_populate_bapm_parameters_in_dpm_table()835 smc_voltage_tab->Voltage = PP_HOST_TO_SMC_US(tab->value * VOLTAGE_SCALE); in ci_populate_smc_voltage_table()1508 …table->MemoryACPILevel.ActivityLevel = PP_HOST_TO_SMC_US(data->current_profile_setting.mclk_activi… in ci_populate_smc_acpi_level()1736 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s0); in ci_populate_mc_reg_address()1738 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s1); in ci_populate_mc_reg_address()2095 table->VddcVddciDelta = PP_HOST_TO_SMC_US(table->VddcVddciDelta); in ci_init_smc_table()2099 table->BootVddc = PP_HOST_TO_SMC_US(table->BootVddc * VOLTAGE_SCALE); in ci_init_smc_table()[all …]