/drivers/gpu/drm/radeon/ |
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()
|
D | trinity_dpm.c | 339 WREG32_SMC(GFX_POWER_GATING_CNTL, value); in trinity_gfx_powergating_initialize() 463 WREG32_SMC(SMU_SCRATCH_A, (RREG32_SMC(SMU_SCRATCH_A) | 0x01)); in trinity_gfx_powergating_enable() 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() 555 WREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_0 + ix, value); in trinity_set_divider_value() 565 WREG32_SMC(SMU_SCLK_DPM_STATE_0_PG_CNTL + ix, value); in trinity_set_divider_value() 577 WREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_1 + ix, value); in trinity_set_ds_dividers() 589 WREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_1 + ix, value); in trinity_set_ss_dividers() [all …]
|
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()
|
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()
|
D | ci_dpm.c | 576 WREG32_SMC(config_regs->offset, data); in ci_program_pt_config_registers() 866 WREG32_SMC(CG_THERMAL_INT, tmp); in ci_thermal_set_temperature_range() 873 WREG32_SMC(CG_THERMAL_CTRL, tmp); in ci_thermal_set_temperature_range() 890 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert() 899 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert() 926 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode() 930 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode() 1104 WREG32_SMC(CG_FDO_CTRL0, tmp); in ci_fan_ctrl_set_fan_speed_percent() 1181 WREG32_SMC(CG_TACH_CTRL, tmp); 1197 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_default_mode() [all …]
|
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()
|
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()
|
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()
|
D | radeon.h | 2562 #define WREG32_SMC(reg, v) tn_smc_wreg(rdev, (reg), (v)) macro 2596 WREG32_SMC(reg, tmp_); \
|
D | si_dpm.c | 2744 WREG32_SMC(offset, data); in si_program_cac_config_registers()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
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()
|
D | kv_dpm.c | 403 WREG32_SMC(local_cac_reg->cntl, data); 443 WREG32_SMC(config_regs->offset, data); in kv_program_pt_config_registers() 534 WREG32_SMC(ixLCAC_SX0_OVR_SEL, 0); 535 WREG32_SMC(ixLCAC_SX0_OVR_VAL, 0); 538 WREG32_SMC(ixLCAC_MC0_OVR_SEL, 0); 539 WREG32_SMC(ixLCAC_MC0_OVR_VAL, 0); 542 WREG32_SMC(ixLCAC_MC1_OVR_SEL, 0); 543 WREG32_SMC(ixLCAC_MC1_OVR_VAL, 0); 546 WREG32_SMC(ixLCAC_MC2_OVR_SEL, 0); 547 WREG32_SMC(ixLCAC_MC2_OVR_VAL, 0); [all …]
|
D | si_dpm.c | 2845 WREG32_SMC(offset, data); in si_program_cac_config_registers() 7511 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state() 7516 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state() 7528 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state() 7533 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
|
/drivers/gpu/drm/amd/amdgpu/ |
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()
|
D | vi.c | 625 WREG32_SMC(ixROM_CNTL, rom_cntl | ROM_CNTL__SCK_OVERWRITE_MASK); in vi_read_disabled_bios() 636 WREG32_SMC(ixROM_CNTL, rom_cntl); in vi_read_disabled_bios() 1007 WREG32_SMC(cntl_reg, tmp); in vi_set_uvd_clock() 1097 WREG32_SMC(reg_ctrl, tmp); in vi_set_vce_clocks() 1216 WREG32_SMC(ixTHM_CLK_CNTL, data); in vi_program_aspm() 1225 WREG32_SMC(ixMISC_CLK_CTRL, data); in vi_program_aspm() 1230 WREG32_SMC(ixCG_CLKPIN_CNTL, data); in vi_program_aspm() 1235 WREG32_SMC(ixCG_CLKPIN_CNTL, data); in vi_program_aspm() 1241 WREG32_SMC(ixMPLL_BYPASSCLK_SEL, data); in vi_program_aspm() 1874 WREG32_SMC(ixCGTT_ROM_CLK_CTRL0, data); in vi_update_rom_medium_grain_clock_gating()
|
D | amdgpu_cgs.c | 94 return WREG32_SMC(index, value); in amdgpu_cgs_write_ind_register()
|
D | amdgpu.h | 1186 #define WREG32_SMC(reg, v) adev->smc_wreg(adev, (reg), (v)) macro 1219 WREG32_SMC(_Reg, tmp); \
|
D | vce_v4_0.c | 913 WREG32_SMC(ixGCK_DFS_BYPASS_CNTL, tmp);
|
D | amdgpu_debugfs.c | 558 WREG32_SMC(*pos, value); in amdgpu_debugfs_regs_smc_write()
|
D | uvd_v7_0.c | 1724 WREG32_SMC(ixGCK_DFS_BYPASS_CNTL, tmp);
|
D | gfx_v8_0.c | 802 WREG32_SMC(ixCG_ACLK_CNTL, data); in gfx_v8_0_init_golden_registers()
|