Home
last modified time | relevance | path

Searched defs:smumgr (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/amd/powerplay/smumgr/
Dcz_smumgr.c53 static int cz_smum_get_argument(struct pp_smumgr *smumgr) in cz_smum_get_argument()
62 static int cz_send_msg_to_smc_async(struct pp_smumgr *smumgr, in cz_send_msg_to_smc_async()
84 static int cz_send_msg_to_smc(struct pp_smumgr *smumgr, uint16_t msg) in cz_send_msg_to_smc()
96 static int cz_set_smc_sram_address(struct pp_smumgr *smumgr, in cz_set_smc_sram_address()
118 static int cz_write_smc_sram_dword(struct pp_smumgr *smumgr, in cz_write_smc_sram_dword()
133 static int cz_send_msg_to_smc_with_parameter(struct pp_smumgr *smumgr, in cz_send_msg_to_smc_with_parameter()
144 static int cz_request_smu_load_fw(struct pp_smumgr *smumgr) in cz_request_smu_load_fw()
180 static int cz_check_fw_load_finish(struct pp_smumgr *smumgr, in cz_check_fw_load_finish()
208 static int cz_load_mec_firmware(struct pp_smumgr *smumgr) in cz_load_mec_firmware()
253 static int cz_start_smu(struct pp_smumgr *smumgr) in cz_start_smu()
[all …]
Dsmu7_smumgr.c37 static int smu7_set_smc_sram_address(struct pp_smumgr *smumgr, uint32_t smc_addr, uint32_t limit) in smu7_set_smc_sram_address()
48 int smu7_copy_bytes_from_smc(struct pp_smumgr *smumgr, uint32_t smc_start_address, uint32_t *dest, … in smu7_copy_bytes_from_smc()
84 int smu7_copy_bytes_to_smc(struct pp_smumgr *smumgr, uint32_t smc_start_address, in smu7_copy_bytes_to_smc()
150 int smu7_program_jump_on_start(struct pp_smumgr *smumgr) in smu7_program_jump_on_start()
159 bool smu7_is_smc_ram_running(struct pp_smumgr *smumgr) in smu7_is_smc_ram_running()
165 int smu7_send_msg_to_smc(struct pp_smumgr *smumgr, uint16_t msg) in smu7_send_msg_to_smc()
192 int smu7_send_msg_to_smc_without_waiting(struct pp_smumgr *smumgr, uint16_t msg) in smu7_send_msg_to_smc_without_waiting()
199 int smu7_send_msg_to_smc_with_parameter(struct pp_smumgr *smumgr, uint16_t msg, uint32_t parameter) in smu7_send_msg_to_smc_with_parameter()
212 int smu7_send_msg_to_smc_with_parameter_without_waiting(struct pp_smumgr *smumgr, uint16_t msg, uin… in smu7_send_msg_to_smc_with_parameter_without_waiting()
219 int smu7_send_msg_to_smc_offset(struct pp_smumgr *smumgr) in smu7_send_msg_to_smc_offset()
[all …]
Diceland_smumgr.c42 static int iceland_start_smc(struct pp_smumgr *smumgr) in iceland_start_smc()
50 static void iceland_reset_smc(struct pp_smumgr *smumgr) in iceland_reset_smc()
58 static void iceland_stop_smc_clock(struct pp_smumgr *smumgr) in iceland_stop_smc_clock()
65 static void iceland_start_smc_clock(struct pp_smumgr *smumgr) in iceland_start_smc_clock()
72 static int iceland_smu_start_smc(struct pp_smumgr *smumgr) in iceland_smu_start_smc()
90 static int iceland_upload_smc_firmware_data(struct pp_smumgr *smumgr, in iceland_upload_smc_firmware_data()
117 static int iceland_smu_upload_firmware_image(struct pp_smumgr *smumgr) in iceland_smu_upload_firmware_image()
161 static int iceland_request_smu_load_specific_fw(struct pp_smumgr *smumgr, in iceland_request_smu_load_specific_fw()
167 static int iceland_start_smu(struct pp_smumgr *smumgr) in iceland_start_smu()
201 static int iceland_smu_init(struct pp_smumgr *smumgr) in iceland_smu_init()
[all …]
Dfiji_smumgr.c61 static int fiji_start_smu_in_protection_mode(struct pp_smumgr *smumgr) in fiji_start_smu_in_protection_mode()
124 static int fiji_start_smu_in_non_protection_mode(struct pp_smumgr *smumgr) in fiji_start_smu_in_non_protection_mode()
162 int fiji_setup_pwr_virus(struct pp_smumgr *smumgr) in fiji_setup_pwr_virus()
192 static int fiji_start_avfs_btc(struct pp_smumgr *smumgr) in fiji_start_avfs_btc()
227 int fiji_setup_pm_fuse_for_avfs(struct pp_smumgr *smumgr) in fiji_setup_pm_fuse_for_avfs()
263 int fiji_setup_graphics_level_structure(struct pp_smumgr *smumgr) in fiji_setup_graphics_level_structure()
302 int fiji_restore_vft_table(struct pp_smumgr *smumgr) in fiji_restore_vft_table()
314 int fiji_save_vft_table(struct pp_smumgr *smumgr) in fiji_save_vft_table()
325 int fiji_avfs_event_mgr(struct pp_smumgr *smumgr, bool smu_started) in fiji_avfs_event_mgr()
393 static int fiji_start_smu(struct pp_smumgr *smumgr) in fiji_start_smu()
[all …]
Dpolaris10_smumgr.c64 static int polaris10_setup_pwr_virus(struct pp_smumgr *smumgr) in polaris10_setup_pwr_virus()
98 static int polaris10_perform_btc(struct pp_smumgr *smumgr) in polaris10_perform_btc()
121 int polaris10_setup_graphics_level_structure(struct pp_smumgr *smumgr) in polaris10_setup_graphics_level_structure()
175 int polaris10_avfs_event_mgr(struct pp_smumgr *smumgr, bool SMU_VFT_INTACT) in polaris10_avfs_event_mgr()
217 static int polaris10_start_smu_in_protection_mode(struct pp_smumgr *smumgr) in polaris10_start_smu_in_protection_mode()
272 static int polaris10_start_smu_in_non_protection_mode(struct pp_smumgr *smumgr) in polaris10_start_smu_in_non_protection_mode()
309 static int polaris10_start_smu(struct pp_smumgr *smumgr) in polaris10_start_smu()
351 static bool polaris10_is_hw_avfs_present(struct pp_smumgr *smumgr) in polaris10_is_hw_avfs_present()
363 static int polaris10_smu_init(struct pp_smumgr *smumgr) in polaris10_smu_init()
406 int polaris10_smum_init(struct pp_smumgr *smumgr) in polaris10_smum_init()
Dsmumgr.c35 struct pp_smumgr *smumgr; in smum_init() local
82 int smum_fini(struct pp_smumgr *smumgr) in smum_fini()
125 uint32_t smum_get_offsetof(struct pp_smumgr *smumgr, uint32_t type, uint32_t member) in smum_get_offsetof()
140 int smum_get_argument(struct pp_smumgr *smumgr) in smum_get_argument()
148 uint32_t smum_get_mac_definition(struct pp_smumgr *smumgr, uint32_t value) in smum_get_mac_definition()
156 int smum_download_powerplay_table(struct pp_smumgr *smumgr, in smum_download_powerplay_table()
165 int smum_upload_powerplay_table(struct pp_smumgr *smumgr) in smum_upload_powerplay_table()
173 int smum_send_msg_to_smc(struct pp_smumgr *smumgr, uint16_t msg) in smum_send_msg_to_smc()
181 int smum_send_msg_to_smc_with_parameter(struct pp_smumgr *smumgr, in smum_send_msg_to_smc_with_parameter()
195 int smum_wait_on_register(struct pp_smumgr *smumgr, in smum_wait_on_register()
[all …]
Dtonga_smumgr.c40 static int tonga_start_in_protection_mode(struct pp_smumgr *smumgr) in tonga_start_in_protection_mode()
99 static int tonga_start_in_non_protection_mode(struct pp_smumgr *smumgr) in tonga_start_in_non_protection_mode()
138 static int tonga_start_smu(struct pp_smumgr *smumgr) in tonga_start_smu()
169 static int tonga_smu_init(struct pp_smumgr *smumgr) in tonga_smu_init()
208 int tonga_smum_init(struct pp_smumgr *smumgr) in tonga_smum_init()
Dpolaris10_smc.c555 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_get_sclk_range_table() local
606 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_calculate_sclk_params() local
750 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_populate_all_graphic_levels() local
899 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_populate_all_memory_levels() local
1200 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_program_memory_timing_parameters() local
1320 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_populate_smc_initailial_state() local
1353 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_populate_clock_stretcher_data_table() local
1481 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_populate_avfs_parameters() local
1568 static int polaris10_init_arb_table_index(struct pp_smumgr *smumgr) in polaris10_init_arb_table_index()
1621 struct pp_smumgr *smumgr = hwmgr->smumgr; in polaris10_init_smc_table() local
[all …]
Dtonga_smc.c1785 static int tonga_init_arb_table_index(struct pp_smumgr *smumgr) in tonga_init_arb_table_index()
2063 static int tonga_populate_mc_reg_address(struct pp_smumgr *smumgr, in tonga_populate_mc_reg_address()
2107 struct pp_smumgr *smumgr, in tonga_convert_mc_reg_table_entry_to_smc()
2156 struct pp_smumgr *smumgr = hwmgr->smumgr; in tonga_update_and_upload_mc_reg_table() local
2188 struct pp_smumgr *smumgr = hwmgr->smumgr; in tonga_populate_initial_mc_reg_table() local
Diceland_smc.c1575 static int iceland_populate_mc_reg_address(struct pp_smumgr *smumgr, in iceland_populate_mc_reg_address()
1616 struct pp_smumgr *smumgr, in iceland_convert_mc_reg_table_entry_to_smc()
1665 struct pp_smumgr *smumgr = hwmgr->smumgr; in iceland_update_and_upload_mc_reg_table() local
1694 struct pp_smumgr *smumgr = hwmgr->smumgr; in iceland_populate_initial_mc_reg_table() local
Dfiji_smc.c1697 static int fiji_init_arb_table_index(struct pp_smumgr *smumgr) in fiji_init_arb_table_index()
/drivers/gpu/drm/amd/powerplay/inc/
Dsmumgr.h204 #define SMUM_WAIT_INDIRECT_REGISTER_GIVEN_INDEX(smumgr, \ argument
209 #define SMUM_WAIT_INDIRECT_REGISTER(smumgr, port, reg, value, mask) \ argument
212 #define SMUM_WAIT_INDIRECT_FIELD(smumgr, port, reg, field, fieldval) \ argument
216 #define SMUM_WAIT_REGISTER_UNEQUAL_GIVEN_INDEX(smumgr, \ argument
221 #define SMUM_WAIT_REGISTER_UNEQUAL(smumgr, reg, value, mask) \ argument
225 #define SMUM_WAIT_FIELD_UNEQUAL(smumgr, reg, field, fieldval) \ argument
246 #define SMUM_WAIT_VFPF_INDIRECT_REGISTER_GIVEN_INDEX(smumgr, \ argument
251 #define SMUM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(smumgr, \ argument
257 #define SMUM_WAIT_VFPF_INDIRECT_REGISTER(smumgr, port, reg, value, mask) \ argument
260 #define SMUM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL(smumgr, port, reg, value, mask) \ argument
[all …]
Deventmgr.h103 struct pp_smumgr *smumgr; member
Dhwmgr.h617 struct pp_smumgr *smumgr; member
/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c116 struct pp_smumgr *smumgr; in pp_hw_init() local
157 struct pp_smumgr *smumgr; in pp_hw_fini() local
255 struct pp_smumgr *smumgr; in pp_resume() local