Home
last modified time | relevance | path

Searched refs:PHM_SET_FIELD (Results 1 – 7 of 7) sorted by relevance

/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Diceland_smumgr.c825 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params()
827 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params()
831 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in iceland_calculate_sclk_params()
835 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in iceland_calculate_sclk_params()
1076 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in iceland_calculate_mclk_params()
1078 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in iceland_calculate_mclk_params()
1146 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_calculate_mclk_params()
1148 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_calculate_mclk_params()
1150 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_calculate_mclk_params()
1522 dll_cntl = PHM_SET_FIELD(dll_cntl, in iceland_populate_smc_acpi_level()
[all …]
H A Dci_smumgr.c1050 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in ci_calculate_mclk_params()
1052 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in ci_calculate_mclk_params()
1054 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in ci_calculate_mclk_params()
1057 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in ci_calculate_mclk_params()
1095 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_calculate_mclk_params()
1097 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_calculate_mclk_params()
1099 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_calculate_mclk_params()
1412 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in ci_populate_smc_acpi_level()
1414 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in ci_populate_smc_acpi_level()
1474 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
[all …]
H A Dtonga_smumgr.c558 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params()
560 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params()
564 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
568 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
812 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in tonga_calculate_mclk_params()
815 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in tonga_calculate_mclk_params()
888 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_calculate_mclk_params()
890 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_calculate_mclk_params()
892 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_calculate_mclk_params()
1255 dll_cntl = PHM_SET_FIELD(dll_cntl, in tonga_populate_smc_acpi_level()
[all …]
H A Dsmu8_smumgr.c194 tmp = PHM_SET_FIELD(tmp, CP_MEC_CNTL, MEC_ME1_HALT, 1); in smu8_load_mec_firmware()
195 tmp = PHM_SET_FIELD(tmp, CP_MEC_CNTL, MEC_ME2_HALT, 1); in smu8_load_mec_firmware()
201 tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); in smu8_load_mec_firmware()
202 tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, ATC, 0); in smu8_load_mec_firmware()
203 tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, CACHE_POLICY, 0); in smu8_load_mec_firmware()
204 tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, MTYPE, 1); in smu8_load_mec_firmware()
H A Dfiji_smumgr.c897 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params()
899 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params()
903 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
907 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
929 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params()
931 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params()
933 cg_spll_spread_spectrum_2 = PHM_SET_FIELD(cg_spll_spread_spectrum_2, in fiji_calculate_sclk_params()
1356 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_populate_smc_acpi_level()
1358 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_populate_smc_acpi_level()
1360 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in fiji_populate_smc_acpi_level()
/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/
H A Dsmu_helper.h115 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ macro
138 cgs_write_register(device, mm##reg, PHM_SET_FIELD( \
143 PHM_SET_FIELD(cgs_read_ind_register(device, port, ix##reg), \
148 PHM_SET_FIELD(cgs_read_ind_register(device, port, ix##reg), \
H A Dsmu7_hwmgr.c389 display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, in smu7_enable_display_gap()
392 display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, in smu7_enable_display_gap()
2164 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x1); in smu7_thermal_parameter_init()
2167 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x2); in smu7_thermal_parameter_init()
2170 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW, 0x1); in smu7_thermal_parameter_init()
2173 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, FORCE_NB_PS1, 0x1); in smu7_thermal_parameter_init()
2176 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, DPM_ENABLED, 0x1); in smu7_thermal_parameter_init()
4070 …display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, DISP_GAP, (hwmgr->display_config->nu… in smu7_program_display_gap()