Home
last modified time | relevance | path

Searched refs:CGS_IND_REG__SMC (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c112 PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
115 PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
120 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
122 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
136 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_default_mode()
138 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_default_mode()
228 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_fan_speed_pwm()
282 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_fan_speed_rpm()
335 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_thermal_set_temperature_range()
338 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_thermal_set_temperature_range()
[all …]
H A Dsmu7_hwmgr.c248 CGS_IND_REG__SMC, PWR_SVI2_PLANE1_LOAD, PSI1, 0); in smu7_enable_smc_voltage_controller()
250 CGS_IND_REG__SMC, PWR_SVI2_PLANE1_LOAD, PSI0_EN, 0); in smu7_enable_smc_voltage_controller()
582 CGS_IND_REG__SMC, ixSMC_SCRATCH9) & in smu7_force_switch_to_arbf0()
1173 CGS_IND_REG__SMC, handshake_disables_offset); in smu7_disable_sclk_vce_handshake()
1189 CGS_IND_REG__SMC, handshake_disables_offset); in smu7_disable_handshake_uvd()
1700 CGS_IND_REG__SMC, FEATURE_STATUS, AVS_ON)) { in smu7_avfs_control()
1707 CGS_IND_REG__SMC, FEATURE_STATUS, AVS_ON)) { in smu7_avfs_control()
2517 CGS_IND_REG__SMC, in smu7_patch_voltage_workaround()
3986 CGS_IND_REG__SMC, in smu7_get_gpu_power()
4065 CGS_IND_REG__SMC, PWR_SVI2_STATUS, PLANE2_VID); in smu7_read_sensor()
[all …]
H A Dsmu8_hwmgr.c948 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in smu8_program_voting_clients()
955 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in smu8_clear_voting_clients()
1568 CGS_IND_REG__SMC, in smu8_print_clock_levels()
1580 CGS_IND_REG__SMC, in smu8_print_clock_levels()
1703 CGS_IND_REG__SMC, ixTHM_TCON_CUR_TMP); in smu8_thermal_get_temperature()
1728 …uint32_t sclk_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGE… in smu8_read_sensor()
1730 …uint32_t uvd_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGET… in smu8_read_sensor()
1732 …uint32_t vce_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGET… in smu8_read_sensor()
1753 tmp = (cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMUSVI_NB_CURRENTVID) & in smu8_read_sensor()
1759 tmp = (cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMUSVI_GFX_CURRENTVID) & in smu8_read_sensor()
H A Dsmu7_powertune.c912 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, config_regs->offset); in smu7_program_pt_config_registers()
934 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, config_regs->offset, data); in smu7_program_pt_config_registers()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c107 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in fiji_start_smu_in_protection_mode()
115 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in fiji_start_smu_in_protection_mode()
118 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in fiji_start_smu_in_protection_mode()
134 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in fiji_start_smu_in_protection_mode()
169 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in fiji_start_smu_in_non_protection_mode()
290 CGS_IND_REG__SMC, in fiji_start_smu()
1769 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in fiji_populate_clock_stretcher_data_table()
1951 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in fiji_init_smc_table()
2209 hwmgr->device, CGS_IND_REG__SMC, in fiji_thermal_setup_fan_table()
2381 CGS_IND_REG__SMC, mm_boot_level_offset); in fiji_update_uvd_smc_table()
[all …]
H A Dpolaris10_smumgr.c208 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_protection_mode()
218 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_protection_mode()
222 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_protection_mode()
243 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_protection_mode()
246 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_protection_mode()
264 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_non_protection_mode()
267 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in polaris10_start_smu_in_non_protection_mode()
1948 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in polaris10_init_smc_table()
2251 hwmgr->device, CGS_IND_REG__SMC, in polaris10_thermal_setup_fan_table()
2297 CGS_IND_REG__SMC, mm_boot_level_offset); in polaris10_update_uvd_smc_table()
[all …]
H A Dtonga_smumgr.c110 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in tonga_start_in_protection_mode()
126 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in tonga_start_in_protection_mode()
143 CGS_IND_REG__SMC, SMU_STATUS, SMU_PASS)) { in tonga_start_in_protection_mode()
164 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in tonga_start_in_non_protection_mode()
1698 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in tonga_populate_clock_stretcher_data_table()
1740 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in tonga_populate_clock_stretcher_data_table()
2264 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in tonga_init_smc_table()
2489 CGS_IND_REG__SMC, in tonga_thermal_setup_fan_table()
2692 CGS_IND_REG__SMC, mm_boot_level_offset); in tonga_update_uvd_smc_table()
2696 CGS_IND_REG__SMC, in tonga_update_uvd_smc_table()
[all …]
H A Dvegam_smumgr.c108 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in vegam_start_smu_in_protection_mode()
118 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in vegam_start_smu_in_protection_mode()
164 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in vegam_start_smu_in_non_protection_mode()
200 CGS_IND_REG__SMC, SMU_FIRMWARE, SMU_MODE)); in vegam_start_smu()
202 hwmgr->device, CGS_IND_REG__SMC, SMU_FIRMWARE, SMU_SEL)); in vegam_start_smu()
299 CGS_IND_REG__SMC, FEATURE_STATUS, VOLTAGE_CONTROLLER_ON); in vegam_is_dpm_running()
346 CGS_IND_REG__SMC, mm_boot_level_offset); in vegam_update_uvd_smc_table()
382 CGS_IND_REG__SMC, mm_boot_level_offset); in vegam_update_vce_smc_table()
1704 CGS_IND_REG__SMC, in vegam_populate_vr_config()
1718 CGS_IND_REG__SMC, in vegam_populate_vr_config()
[all …]
H A Dci_smumgr.c189 CGS_IND_REG__SMC, SMC_SYSCON_CLOCK_CNTL_0, ck_disable)) in ci_is_smc_ram_running()
191 CGS_IND_REG__SMC, ixSMC_PC_C))); in ci_is_smc_ram_running()
1974 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in ci_init_smc_table()
2359 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, SMC_SYSCON_MISC_CNTL, in ci_upload_firmware()
2794 tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); in ci_update_dpm_settings()
2796 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); in ci_update_dpm_settings()
2808 tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); in ci_update_dpm_settings()
2875 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, DPM_TABLE_475, in ci_update_uvd_smc_table()
2907 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, DPM_TABLE_475, in ci_update_vce_smc_table()
2942 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in ci_reset_smc()
[all …]
H A Dsmu7_smumgr.c162 …return ((0 == PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, SMC_SYSCON_CLOCK_CNTL_… in smu7_is_smc_ram_running()
163 && (0x20100 <= cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMC_PC_C))); in smu7_is_smc_ram_running()
334 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in smu7_request_smu_load_fw()
H A Diceland_smumgr.c111 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in iceland_start_smc()
119 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in iceland_reset_smc()
127 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in iceland_stop_smc_clock()
134 PHM_WRITE_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in iceland_start_smc_clock()
211 val = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, in iceland_smu_upload_firmware_image()
213 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in iceland_smu_upload_firmware_image()
1962 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in iceland_init_smc_table()
2110 …duty100 = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, CG_FDO_CTRL1, FMAX_DUTY100… in iceland_thermal_setup_fan_table()
2153 …fan_table.TempSrc = (uint8_t)PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, CG_MULT… in iceland_thermal_setup_fan_table()
2658 CGS_IND_REG__SMC, FEATURE_STATUS, VOLTAGE_CONTROLLER_ON)) in iceland_is_dpm_running()
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Dcgs_common.h36 CGS_IND_REG__SMC, enumerator
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cgs.c65 case CGS_IND_REG__SMC: in amdgpu_cgs_read_ind_register()
93 case CGS_IND_REG__SMC: in amdgpu_cgs_write_ind_register()