Searched refs:PP_HOST_TO_SMC_UL (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | pp_endian.h | 27 #define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X) macro 33 #define CONVERT_FROM_HOST_TO_SMC_UL(X) ((X) = PP_HOST_TO_SMC_UL(X))
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | ci_smumgr.c | 457 level->MinVddc = PP_HOST_TO_SMC_UL(level->MinVddc * VOLTAGE_SCALE); in ci_populate_single_graphic_level() 746 dpm_table->BAPM_TEMP_GRADIENT = PP_HOST_TO_SMC_UL(defaults->bapm_temp_gradient); in ci_populate_bapm_parameters_in_dpm_table() 1011 table->LinkLevel[i].DownT = PP_HOST_TO_SMC_UL(5); in ci_populate_smc_link_level() 1012 table->LinkLevel[i].UpT = PP_HOST_TO_SMC_UL(30); in ci_populate_smc_link_level() 1278 memory_level->MinVddc = PP_HOST_TO_SMC_UL(memory_level->MinVddc * VOLTAGE_SCALE); in ci_populate_single_memory_level() 1280 memory_level->MinVddci = PP_HOST_TO_SMC_UL(memory_level->MinVddci * VOLTAGE_SCALE); in ci_populate_single_memory_level() 1281 memory_level->MinMvdd = PP_HOST_TO_SMC_UL(memory_level->MinMvdd * VOLTAGE_SCALE); in ci_populate_single_memory_level() 1395 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->acpi_vddc * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 1397 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->min_vddc_in_pptable * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() 1453 table->MemoryACPILevel.MinVddci = PP_HOST_TO_SMC_UL(data->acpi_vddci * VOLTAGE_SCALE); in ci_populate_smc_acpi_level() [all …]
|
D | vegam_smumgr.c | 469 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count); in vegam_populate_smc_mvdd_table() 586 table->LinkLevel[i].DownThreshold = PP_HOST_TO_SMC_UL(5); in vegam_populate_smc_link_level() 587 table->LinkLevel[i].UpThreshold = PP_HOST_TO_SMC_UL(30); in vegam_populate_smc_link_level() 1174 table->MemoryACPILevel.MinMvdd = PP_HOST_TO_SMC_UL(vol_level.Voltage); in vegam_populate_smc_acpi_level() 1268 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in vegam_populate_memory_timing_parameters() 1269 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in vegam_populate_memory_timing_parameters() 1270 arb_regs->McArbBurstTime = PP_HOST_TO_SMC_UL(burst_time); in vegam_populate_memory_timing_parameters() 1271 arb_regs->McArbRfshRate = PP_HOST_TO_SMC_UL(rfsh_rate); in vegam_populate_memory_timing_parameters() 1272 arb_regs->McArbMisc3 = PP_HOST_TO_SMC_UL(misc3); in vegam_populate_memory_timing_parameters() 1585 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a0); in vegam_populate_avfs_parameters() [all …]
|
D | polaris10_smumgr.c | 685 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count); in polaris10_populate_smc_mvdd_table() 832 table->LinkLevel[i].DownThreshold = PP_HOST_TO_SMC_UL(5); in polaris10_populate_smc_link_level() 833 table->LinkLevel[i].UpThreshold = PP_HOST_TO_SMC_UL(30); in polaris10_populate_smc_link_level() 1344 table->MemoryACPILevel.MinMvdd = PP_HOST_TO_SMC_UL(vol_level.Voltage); in polaris10_populate_smc_acpi_level() 1483 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in polaris10_populate_memory_timing_parameters() 1484 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in polaris10_populate_memory_timing_parameters() 1838 table->BTCGB_VDROOP_TABLE[0].a0 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a0); in polaris10_populate_avfs_parameters() 1839 table->BTCGB_VDROOP_TABLE[0].a1 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a1); in polaris10_populate_avfs_parameters() 1840 table->BTCGB_VDROOP_TABLE[0].a2 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a2); in polaris10_populate_avfs_parameters() 1841 table->BTCGB_VDROOP_TABLE[1].a0 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0); in polaris10_populate_avfs_parameters() [all …]
|
D | iceland_smumgr.c | 782 PP_HOST_TO_SMC_UL(5); in iceland_populate_smc_link_level() 784 PP_HOST_TO_SMC_UL(30); in iceland_populate_smc_link_level() 944 graphic_level->MinVddc = PP_HOST_TO_SMC_UL(graphic_level->MinVddc * VOLTAGE_SCALE); in iceland_populate_single_graphic_level() 1324 memory_level->MinVddc = PP_HOST_TO_SMC_UL(memory_level->MinVddc * VOLTAGE_SCALE); in iceland_populate_single_memory_level() 1326 memory_level->MinVddci = PP_HOST_TO_SMC_UL(memory_level->MinVddci * VOLTAGE_SCALE); in iceland_populate_single_memory_level() 1327 memory_level->MinMvdd = PP_HOST_TO_SMC_UL(memory_level->MinMvdd * VOLTAGE_SCALE); in iceland_populate_single_memory_level() 1441 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->acpi_vddc * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level() 1443 table->ACPILevel.MinVddc = PP_HOST_TO_SMC_UL(data->min_vddc_in_pptable * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level() 1499 table->MemoryACPILevel.MinVddci = PP_HOST_TO_SMC_UL(data->acpi_vddci * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level() 1501 table->MemoryACPILevel.MinVddci = PP_HOST_TO_SMC_UL(data->min_vddci_in_pptable * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level() [all …]
|
D | tonga_smumgr.c | 525 PP_HOST_TO_SMC_UL(5); in tonga_populate_smc_link_level() 527 PP_HOST_TO_SMC_UL(30); in tonga_populate_smc_link_level() 1248 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in tonga_populate_smc_acpi_level() 1271 PP_HOST_TO_SMC_UL(dll_cntl); in tonga_populate_smc_acpi_level() 1273 PP_HOST_TO_SMC_UL(mclk_pwrmgt_cntl); in tonga_populate_smc_acpi_level() 1275 PP_HOST_TO_SMC_UL(data->clock_registers.vMPLL_AD_FUNC_CNTL); in tonga_populate_smc_acpi_level() 1277 PP_HOST_TO_SMC_UL(data->clock_registers.vMPLL_DQ_FUNC_CNTL); in tonga_populate_smc_acpi_level() 1279 PP_HOST_TO_SMC_UL(data->clock_registers.vMPLL_FUNC_CNTL); in tonga_populate_smc_acpi_level() 1281 PP_HOST_TO_SMC_UL(data->clock_registers.vMPLL_FUNC_CNTL_1); in tonga_populate_smc_acpi_level() 1283 PP_HOST_TO_SMC_UL(data->clock_registers.vMPLL_FUNC_CNTL_2); in tonga_populate_smc_acpi_level() [all …]
|
D | fiji_smumgr.c | 843 table->LinkLevel[i].DownThreshold = PP_HOST_TO_SMC_UL(5); in fiji_populate_smc_link_level() 844 table->LinkLevel[i].UpThreshold = PP_HOST_TO_SMC_UL(30); in fiji_populate_smc_link_level() 1401 PP_HOST_TO_SMC_UL(us_mvdd * VOLTAGE_SCALE); in fiji_populate_smc_acpi_level() 1515 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in fiji_populate_memory_timing_parameters() 1516 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in fiji_populate_memory_timing_parameters() 2091 table->Smio[i] = PP_HOST_TO_SMC_UL(table->Smio[i]); in fiji_init_smc_table() 2583 tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); in fiji_update_dpm_settings() 2585 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); in fiji_update_dpm_settings() 2597 tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); in fiji_update_dpm_settings() 2600 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); in fiji_update_dpm_settings() [all …]
|