/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | trinity_smc.c | 66 WREG32_SMC(SMU_SCRATCH0, 1); in trinity_dpm_config() 68 WREG32_SMC(SMU_SCRATCH0, 0); in trinity_dpm_config() 75 WREG32_SMC(SMU_SCRATCH0, n); in trinity_dpm_force_state() 82 WREG32_SMC(SMU_SCRATCH0, n); in trinity_dpm_n_levels_disabled()
|
H A D | trinity_dpm.c | 339 WREG32_SMC(GFX_POWER_GATING_CNTL, value); in trinity_gfx_powergating_initialize() 481 WREG32_SMC(PM_I_CNTL_1, value); in trinity_gfx_dynamic_mgpg_enable() 486 WREG32_SMC(SMU_S_PG_CNTL, value); in trinity_gfx_dynamic_mgpg_enable() 490 WREG32_SMC(SMU_S_PG_CNTL, value); in trinity_gfx_dynamic_mgpg_enable() 494 WREG32_SMC(PM_I_CNTL_1, value); in trinity_gfx_dynamic_mgpg_enable() 716 WREG32_SMC(SMU_SCLK_DPM_CNTL, value); in trinity_start_dpm() 849 WREG32_SMC(SMU_UVD_DPM_CNTL, val); in trinity_setup_uvd_dpm_interval() 969 WREG32_SMC(SMU_SCLK_DPM_TTT, value); in trinity_program_ttt() 978 WREG32_SMC(SMU_SCLK_DPM_TT_CNTL, value); in trinity_enable_att() 996 WREG32_SMC(PM_I_CNTL_1, value); in trinity_program_sclk_dpm() [all …]
|
H A D | ci_smc.c | 119 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in ci_start_smc() 127 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in ci_reset_smc() 143 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in ci_stop_smc_clock() 152 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in ci_start_smc_clock()
|
H A D | si_smc.c | 119 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in si_start_smc() 133 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in si_reset_smc() 149 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in si_stop_smc_clock() 158 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in si_start_smc_clock()
|
H A D | ci_dpm.c | 925 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode() 929 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode() 1103 WREG32_SMC(CG_FDO_CTRL0, tmp); in ci_fan_ctrl_set_fan_speed_percent() 2046 WREG32_SMC(CG_FTV_0, 0); in ci_clear_vc() 2047 WREG32_SMC(CG_FTV_1, 0); in ci_clear_vc() 2048 WREG32_SMC(CG_FTV_2, 0); in ci_clear_vc() 2049 WREG32_SMC(CG_FTV_3, 0); in ci_clear_vc() 2050 WREG32_SMC(CG_FTV_4, 0); in ci_clear_vc() 2051 WREG32_SMC(CG_FTV_5, 0); in ci_clear_vc() 2052 WREG32_SMC(CG_FTV_6, 0); in ci_clear_vc() [all …]
|
H A D | kv_dpm.c | 191 WREG32_SMC(config_regs->offset, data); in kv_program_pt_config_registers() 368 WREG32_SMC(CG_FTV_0, 0x3FFFC100); in kv_program_vc() 373 WREG32_SMC(CG_FTV_0, 0); in kv_clear_vc() 491 WREG32_SMC(GENERAL_PWRMGT, tmp); in kv_start_dpm() 508 WREG32_SMC(SCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_start_am() 517 WREG32_SMC(SCLK_PWRMGT_CNTL, sclk_pwrmgt_cntl); in kv_reset_am() 1024 WREG32_SMC(CG_THERMAL_INT_CTRL, thermal_int); in kv_enable_thermal_int() 2245 WREG32_SMC(NB_DPM_CONFIG_1, nbdpmconfig1); in kv_program_nbps_index_settings() 2269 WREG32_SMC(CG_THERMAL_INT_CTRL, tmp); in kv_set_thermal_temperature_range()
|
H A D | cik.c | 9422 WREG32_SMC(cntl_reg, tmp); in cik_set_uvd_clock() 9469 WREG32_SMC(CG_ECLK_CNTL, tmp); in cik_set_vce_clocks() 9752 WREG32_SMC(THM_CLK_CNTL, data); in cik_program_aspm() 9758 WREG32_SMC(MISC_CLK_CTRL, data); in cik_program_aspm() 9763 WREG32_SMC(CG_CLKPIN_CNTL, data); in cik_program_aspm() 9768 WREG32_SMC(CG_CLKPIN_CNTL_2, data); in cik_program_aspm() 9774 WREG32_SMC(MPLL_BYPASSCLK_SEL, data); in cik_program_aspm()
|
H A D | si.c | 5465 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_0, 0); in si_enable_uvd_mgcg() 5466 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_1, 0); in si_enable_uvd_mgcg() 5477 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_0, 0xffffffff); in si_enable_uvd_mgcg() 5478 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_1, 0xffffffff); in si_enable_uvd_mgcg()
|
H A D | radeon.h | 2520 #define WREG32_SMC(reg, v) tn_smc_wreg(rdev, (reg), (v)) macro 2554 WREG32_SMC(reg, tmp_); \
|
H A D | si_dpm.c | 2744 WREG32_SMC(offset, data); in si_program_cac_config_registers()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_smc.c | 117 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in amdgpu_si_start_smc() 131 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in amdgpu_si_reset_smc() 150 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in amdgpu_si_smc_clock()
|
H A D | kv_dpm.c | 524 WREG32_SMC(ixLCAC_SX0_OVR_SEL, 0); 525 WREG32_SMC(ixLCAC_SX0_OVR_VAL, 0); 528 WREG32_SMC(ixLCAC_MC0_OVR_SEL, 0); 529 WREG32_SMC(ixLCAC_MC0_OVR_VAL, 0); 532 WREG32_SMC(ixLCAC_MC1_OVR_SEL, 0); 533 WREG32_SMC(ixLCAC_MC1_OVR_VAL, 0); 536 WREG32_SMC(ixLCAC_MC2_OVR_SEL, 0); 537 WREG32_SMC(ixLCAC_MC2_OVR_VAL, 0); 540 WREG32_SMC(ixLCAC_MC3_OVR_SEL, 0); 541 WREG32_SMC(ixLCAC_MC3_OVR_VAL, 0); [all …]
|
H A D | si_dpm.c | 2860 WREG32_SMC(offset, data); in si_program_cac_config_registers() 7561 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state() 7566 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state() 7578 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state() 7583 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | cik.c | 997 WREG32_SMC(ixROM_CNTL, rom_cntl | ROM_CNTL__SCK_OVERWRITE_MASK); in cik_read_disabled_bios() 1008 WREG32_SMC(ixROM_CNTL, rom_cntl); in cik_read_disabled_bios() 1468 WREG32_SMC(cntl_reg, tmp); in cik_set_uvd_clock() 1517 WREG32_SMC(ixCG_ECLK_CNTL, tmp); in cik_set_vce_clocks() 1812 WREG32_SMC(ixTHM_CLK_CNTL, data); in cik_program_aspm() 1820 WREG32_SMC(ixMISC_CLK_CTRL, data); in cik_program_aspm() 1825 WREG32_SMC(ixCG_CLKPIN_CNTL, data); in cik_program_aspm() 1830 WREG32_SMC(ixCG_CLKPIN_CNTL_2, data); in cik_program_aspm() 1836 WREG32_SMC(ixMPLL_BYPASSCLK_SEL, data); in cik_program_aspm()
|
H A D | vi.c | 620 WREG32_SMC(ixROM_CNTL, rom_cntl | ROM_CNTL__SCK_OVERWRITE_MASK); in vi_read_disabled_bios() 631 WREG32_SMC(ixROM_CNTL, rom_cntl); in vi_read_disabled_bios() 1002 WREG32_SMC(cntl_reg, tmp); in vi_set_uvd_clock() 1092 WREG32_SMC(reg_ctrl, tmp); in vi_set_vce_clocks() 1193 WREG32_SMC(ixTHM_CLK_CNTL, data); in vi_program_aspm() 1202 WREG32_SMC(ixMISC_CLK_CTRL, data); in vi_program_aspm() 1207 WREG32_SMC(ixCG_CLKPIN_CNTL, data); in vi_program_aspm() 1212 WREG32_SMC(ixCG_CLKPIN_CNTL, data); in vi_program_aspm() 1218 WREG32_SMC(ixMPLL_BYPASSCLK_SEL, data); in vi_program_aspm() 1848 WREG32_SMC(ixCGTT_ROM_CLK_CTRL0, data); in vi_update_rom_medium_grain_clock_gating()
|
H A D | amdgpu_cgs.c | 94 return WREG32_SMC(index, value); in amdgpu_cgs_write_ind_register()
|
H A D | amdgpu.h | 1186 #define WREG32_SMC(reg, v) adev->smc_wreg(adev, (reg), (v)) macro 1219 WREG32_SMC(_Reg, tmp); \
|
H A D | vce_v4_0.c | 916 WREG32_SMC(ixGCK_DFS_BYPASS_CNTL, tmp);
|
H A D | uvd_v7_0.c | 1719 WREG32_SMC(ixGCK_DFS_BYPASS_CNTL, tmp);
|
H A D | amdgpu_debugfs.c | 841 WREG32_SMC(*pos, value); in amdgpu_debugfs_regs_smc_write()
|
H A D | gfx_v8_0.c | 802 WREG32_SMC(ixCG_ACLK_CNTL, data); in gfx_v8_0_init_golden_registers()
|