smumgr_funcs 279 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (!hwmgr || !hwmgr->smumgr_funcs || !hwmgr->smumgr_funcs->start_smu) smumgr_funcs 282 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (hwmgr->smumgr_funcs->start_smu(hwmgr)) { smumgr_funcs 99 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &ci_smu_funcs; smumgr_funcs 110 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &smu8_smu_funcs; smumgr_funcs 118 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &iceland_smu_funcs; smumgr_funcs 126 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &tonga_smu_funcs; smumgr_funcs 131 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &fiji_smu_funcs; smumgr_funcs 139 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &polaris10_smu_funcs; smumgr_funcs 144 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &vegam_smu_funcs; smumgr_funcs 157 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &vega10_smu_funcs; smumgr_funcs 161 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &vega12_smu_funcs; smumgr_funcs 166 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &vega20_smu_funcs; smumgr_funcs 177 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs = &smu10_smu_funcs; smumgr_funcs 193 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c if (!hwmgr|| !hwmgr->smumgr_funcs || !hwmgr->smumgr_funcs->smu_init) smumgr_funcs 197 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c pr_info("hwmgr_sw_init smu backed is %s\n", hwmgr->smumgr_funcs->name); smumgr_funcs 199 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c return hwmgr->smumgr_funcs->smu_init(hwmgr); smumgr_funcs 205 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c if (hwmgr && hwmgr->smumgr_funcs && hwmgr->smumgr_funcs->smu_fini) smumgr_funcs 206 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->smumgr_funcs->smu_fini(hwmgr); smumgr_funcs 762 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h const struct pp_smumgr_func *smumgr_funcs; smumgr_funcs 458 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c return hwmgr->smumgr_funcs->start_smu(hwmgr); smumgr_funcs 59 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->thermal_avfs_enable) smumgr_funcs 60 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->thermal_avfs_enable(hwmgr); smumgr_funcs 67 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->thermal_setup_fan_table) smumgr_funcs 68 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->thermal_setup_fan_table(hwmgr); smumgr_funcs 76 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->update_sclk_threshold) smumgr_funcs 77 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->update_sclk_threshold(hwmgr); smumgr_funcs 85 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->update_smc_table) smumgr_funcs 86 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->update_smc_table(hwmgr, type); smumgr_funcs 93 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->get_offsetof) smumgr_funcs 94 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->get_offsetof(type, member); smumgr_funcs 101 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->process_firmware_header) smumgr_funcs 102 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->process_firmware_header(hwmgr); smumgr_funcs 108 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->get_argument) smumgr_funcs 109 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->get_argument(hwmgr); smumgr_funcs 116 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->get_mac_definition) smumgr_funcs 117 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->get_mac_definition(value); smumgr_funcs 124 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->download_pptable_settings) smumgr_funcs 125 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->download_pptable_settings(hwmgr, smumgr_funcs 132 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->upload_pptable_settings) smumgr_funcs 133 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->upload_pptable_settings(hwmgr); smumgr_funcs 140 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (hwmgr == NULL || hwmgr->smumgr_funcs->send_msg_to_smc == NULL) smumgr_funcs 143 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->send_msg_to_smc(hwmgr, msg); smumgr_funcs 150 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c hwmgr->smumgr_funcs->send_msg_to_smc_with_parameter == NULL) smumgr_funcs 152 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->send_msg_to_smc_with_parameter( smumgr_funcs 158 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->init_smc_table) smumgr_funcs 159 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->init_smc_table(hwmgr); smumgr_funcs 166 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->populate_all_graphic_levels) smumgr_funcs 167 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->populate_all_graphic_levels(hwmgr); smumgr_funcs 174 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->populate_all_memory_levels) smumgr_funcs 175 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->populate_all_memory_levels(hwmgr); smumgr_funcs 183 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->initialize_mc_reg_table) smumgr_funcs 184 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->initialize_mc_reg_table(hwmgr); smumgr_funcs 191 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (NULL != hwmgr->smumgr_funcs->is_dpm_running) smumgr_funcs 192 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->is_dpm_running(hwmgr); smumgr_funcs 199 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (hwmgr->smumgr_funcs->is_hw_avfs_present) smumgr_funcs 200 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->is_hw_avfs_present(hwmgr); smumgr_funcs 207 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (hwmgr->smumgr_funcs->update_dpm_settings) smumgr_funcs 208 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->update_dpm_settings(hwmgr, profile_setting); smumgr_funcs 215 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c if (hwmgr->smumgr_funcs->smc_table_manager) smumgr_funcs 216 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->smc_table_manager(hwmgr, table, table_id, rw);