Searched refs:PHM_SET_FIELD (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | iceland_smc.c | 668 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params() 670 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params() 674 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in iceland_calculate_sclk_params() 678 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in iceland_calculate_sclk_params() 698 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, CLKS, clkS); in iceland_calculate_sclk_params() 700 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, SSEN, 1); in iceland_calculate_sclk_params() 702 PHM_SET_FIELD(cg_spll_spread_spectrum_2, CG_SPLL_SPREAD_SPECTRUM_2, CLKV, clkV); in iceland_calculate_sclk_params() 938 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in iceland_calculate_mclk_params() 941 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in iceland_calculate_mclk_params() 943 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in iceland_calculate_mclk_params() [all …]
|
D | tonga_smc.c | 473 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params() 475 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params() 479 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params() 483 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params() 503 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, CLKS, clkS); in tonga_calculate_sclk_params() 505 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, SSEN, 1); in tonga_calculate_sclk_params() 507 PHM_SET_FIELD(cg_spll_spread_spectrum_2, CG_SPLL_SPREAD_SPECTRUM_2, CLKV, clkV); in tonga_calculate_sclk_params() 738 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, in tonga_calculate_mclk_params() 742 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in tonga_calculate_mclk_params() 745 mpll_func_cntl_1 = PHM_SET_FIELD(mpll_func_cntl_1, in tonga_calculate_mclk_params() [all …]
|
D | fiji_smc.c | 651 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params() 653 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params() 657 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params() 661 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params() 683 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params() 685 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params() 687 cg_spll_spread_spectrum_2 = PHM_SET_FIELD(cg_spll_spread_spectrum_2, in fiji_calculate_sclk_params() 1132 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_populate_smc_acpi_level() 1134 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_populate_smc_acpi_level() 1136 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in fiji_populate_smc_acpi_level()
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | hwmgr.h | 720 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ macro 743 cgs_write_register(device, mm##reg, PHM_SET_FIELD( \ 748 PHM_SET_FIELD(cgs_read_ind_register(device, port, ix##reg), \ 753 PHM_SET_FIELD(cgs_read_ind_register(device, port, ix##reg), \
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu7_hwmgr.c | 364 display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, in smu7_enable_display_gap() 367 display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, in smu7_enable_display_gap() 1927 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x1); in smu7_thermal_parameter_init() 1930 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x2); in smu7_thermal_parameter_init() 1933 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW, 0x1); in smu7_thermal_parameter_init() 1936 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, FORCE_NB_PS1, 0x1); in smu7_thermal_parameter_init() 1939 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, DPM_ENABLED, 0x1); in smu7_thermal_parameter_init() 3727 …display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, DISP_GAP, (num_active_displays > 0) … in smu7_program_display_gap()
|