Home
last modified time | relevance | path

Searched refs:PP_ASSERT_WITH_CODE (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dvega20_smumgr.c169 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT, in vega20_copy_table_from_smc()
171 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_from_smc()
173 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_from_smc()
176 PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr, in vega20_copy_table_from_smc()
181 PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr, in vega20_copy_table_from_smc()
186 PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr, in vega20_copy_table_from_smc()
212 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT, in vega20_copy_table_to_smc()
214 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_to_smc()
216 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_to_smc()
222 PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr, in vega20_copy_table_to_smc()
[all …]
Dvega12_smumgr.c47 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT, in vega12_copy_table_from_smc()
49 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_from_smc()
51 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_from_smc()
53 PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr, in vega12_copy_table_from_smc()
57 PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr, in vega12_copy_table_from_smc()
62 PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr, in vega12_copy_table_from_smc()
88 PP_ASSERT_WITH_CODE(table_id < TABLE_COUNT, in vega12_copy_table_to_smc()
90 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_to_smc()
92 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_to_smc()
98 PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr, in vega12_copy_table_to_smc()
[all …]
Dsmu7_smumgr.c40 PP_ASSERT_WITH_CODE((0 == (3 & smc_addr)), "SMC address must be 4 byte aligned.", return -EINVAL); in smu7_set_smc_sram_address()
41PP_ASSERT_WITH_CODE((limit > (smc_addr + 3)), "SMC addr is beyond the SMC RAM area.", return -EINV… in smu7_set_smc_sram_address()
57PP_ASSERT_WITH_CODE((0 == (3 & smc_start_address)), "SMC address must be 4 byte aligned.", return … in smu7_copy_bytes_from_smc()
58PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM… in smu7_copy_bytes_from_smc()
94PP_ASSERT_WITH_CODE((0 == (3 & smc_start_address)), "SMC address must be 4 byte aligned.", return … in smu7_copy_bytes_to_smc()
95PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM… in smu7_copy_bytes_to_smc()
392 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, in smu7_request_smu_load_fw()
395 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, in smu7_request_smu_load_fw()
398 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, in smu7_request_smu_load_fw()
401 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, in smu7_request_smu_load_fw()
[all …]
Diceland_smumgr.c164PP_ASSERT_WITH_CODE((limit >= byte_count), "SMC address is beyond the SMC RAM area.", return -EINV… in iceland_upload_smc_firmware_data()
178 PP_ASSERT_WITH_CODE((0 == byte_count), "SMC size must be divisible by 4.", return -EINVAL); in iceland_upload_smc_firmware_data()
345 PP_ASSERT_WITH_CODE(false, in iceland_populate_dw8()
396 PP_ASSERT_WITH_CODE(NULL != hwmgr->dyn_state.cac_leakage_table, in iceland_populate_bapm_vddc_vid_sidd()
398 PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count <= 8, in iceland_populate_bapm_vddc_vid_sidd()
400PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count == hwmgr->dyn_state.vddc_dependency_… in iceland_populate_bapm_vddc_vid_sidd()
409 PP_ASSERT_WITH_CODE(false, "Iceland should always support EVV", return -EINVAL); in iceland_populate_bapm_vddc_vid_sidd()
422 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in iceland_populate_vddc_vid()
446 PP_ASSERT_WITH_CODE(false, in iceland_populate_pm_fuses()
452 PP_ASSERT_WITH_CODE(false, in iceland_populate_pm_fuses()
[all …]
Dvegam_smumgr.c139 PP_ASSERT_WITH_CODE(false, "SMU Firmware start failed!", return -1); in vegam_start_smu_in_protection_mode()
211 PP_ASSERT_WITH_CODE(0, "Failed to load SMU ucode.", return result); in vegam_start_smu()
794 PP_ASSERT_WITH_CODE((clock >= min), in vegam_get_sleep_divider_id_from_clock()
824 PP_ASSERT_WITH_CODE((0 == result), in vegam_populate_single_graphic_level()
915 PP_ASSERT_WITH_CODE((1 <= pcie_entry_cnt), in vegam_populate_all_graphic_levels()
965 PP_ASSERT_WITH_CODE(!atomctrl_get_memory_pll_dividers_ai(hwmgr, in vegam_calculate_mclk_params()
992 PP_ASSERT_WITH_CODE(!result, in vegam_populate_single_memory_level()
998 PP_ASSERT_WITH_CODE(!result, in vegam_populate_single_memory_level()
1047 PP_ASSERT_WITH_CODE((0 != dpm_table->mclk_table.dpm_levels[i].value), in vegam_populate_all_memory_levels()
1098 PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count, in vegam_populate_mvdd_value()
[all …]
Dfiji_smumgr.c151 PP_ASSERT_WITH_CODE(false, in fiji_start_smu_in_protection_mode()
230 PP_ASSERT_WITH_CODE(0 == smu7_read_smc_sram_dword(hwmgr, in fiji_setup_graphics_level_structure()
245 PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, vr_config_addr, in fiji_setup_graphics_level_structure()
253 PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, level_addr, in fiji_setup_graphics_level_structure()
266 PP_ASSERT_WITH_CODE(0 == fiji_setup_graphics_level_structure(hwmgr), in fiji_avfs_event_mgr()
270 PP_ASSERT_WITH_CODE(0 == smu7_setup_pwr_virus(hwmgr), in fiji_avfs_event_mgr()
274 PP_ASSERT_WITH_CODE(0 == fiji_start_avfs_btc(hwmgr), in fiji_avfs_event_mgr()
509 PP_ASSERT_WITH_CODE(cac_dtp_table->usTargetOperatingTemp <= 255, in fiji_populate_bapm_parameters_in_dpm_table()
615 PP_ASSERT_WITH_CODE(false, in fiji_populate_dw8()
702 PP_ASSERT_WITH_CODE(false, in fiji_populate_pm_fuses()
[all …]
Dpolaris10_smumgr.c130 PP_ASSERT_WITH_CODE(0 == smu7_read_smc_sram_dword(hwmgr, in polaris10_setup_graphics_level_structure()
141 PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, vr_config_address, in polaris10_setup_graphics_level_structure()
148 PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, graphics_level_address, in polaris10_setup_graphics_level_structure()
156 PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, graphics_level_address, in polaris10_setup_graphics_level_structure()
165 PP_ASSERT_WITH_CODE(0 == smu7_copy_bytes_to_smc(hwmgr, graphics_level_address, in polaris10_setup_graphics_level_structure()
181 PP_ASSERT_WITH_CODE(0 == polaris10_setup_graphics_level_structure(hwmgr), in polaris10_avfs_event_mgr()
187 PP_ASSERT_WITH_CODE(0 == smu7_setup_pwr_virus(hwmgr), in polaris10_avfs_event_mgr()
192 PP_ASSERT_WITH_CODE(0 == polaris10_perform_btc(hwmgr), in polaris10_avfs_event_mgr()
238 PP_ASSERT_WITH_CODE(false, "SMU Firmware start failed!", return -1); in polaris10_start_smu_in_protection_mode()
308 PP_ASSERT_WITH_CODE(0, "Failed to load SMU ucode.", return result); in polaris10_start_smu()
[all …]
Dtonga_smumgr.c452 PP_ASSERT_WITH_CODE(!result, in tonga_populate_smc_voltage_tables()
457 PP_ASSERT_WITH_CODE(!result, in tonga_populate_smc_voltage_tables()
462 PP_ASSERT_WITH_CODE(!result, in tonga_populate_smc_voltage_tables()
467 PP_ASSERT_WITH_CODE(!result, in tonga_populate_smc_voltage_tables()
472 PP_ASSERT_WITH_CODE(!result, in tonga_populate_smc_voltage_tables()
556 PP_ASSERT_WITH_CODE(result == 0, in tonga_calculate_sclk_params()
638 PP_ASSERT_WITH_CODE((!result), in tonga_populate_single_graphic_level()
736 PP_ASSERT_WITH_CODE((pcie_entry_count >= 1), in tonga_populate_all_graphic_levels()
812 PP_ASSERT_WITH_CODE( in tonga_calculate_mclk_params()
987 PP_ASSERT_WITH_CODE( in tonga_populate_single_memory_level()
[all …]
Dvega10_smumgr.c44 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE, in vega10_copy_table_from_smc()
46 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_from_smc()
48 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_from_smc()
74 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE, in vega10_copy_table_to_smc()
76 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_to_smc()
78 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_to_smc()
153 PP_ASSERT_WITH_CODE(!smu9_send_msg_to_smc(hwmgr, in vega10_verify_smc_interface()
332 PP_ASSERT_WITH_CODE(!vega10_verify_smc_interface(hwmgr), in vega10_start_smu()
Dci_smumgr.c313 PP_ASSERT_WITH_CODE(result == 0, in ci_calculate_sclk_params()
550 PP_ASSERT_WITH_CODE(false, in ci_populate_dw8()
583 PP_ASSERT_WITH_CODE(NULL != hwmgr->dyn_state.cac_leakage_table, in ci_populate_bapm_vddc_vid_sidd()
585 PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count <= 8, in ci_populate_bapm_vddc_vid_sidd()
587PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count == hwmgr->dyn_state.vddc_dependency_… in ci_populate_bapm_vddc_vid_sidd()
611 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in ci_populate_vddc_vid()
771 PP_ASSERT_WITH_CODE(NULL != hwmgr->dyn_state.vddc_dependency_on_sclk, in ci_get_std_voltage_value_sidd()
851 PP_ASSERT_WITH_CODE(0 == result, "do not populate SMC VDDC voltage table", return -EINVAL); in ci_populate_smc_vddc_table()
881 PP_ASSERT_WITH_CODE(result == 0, "do not populate SMC VDDCI voltage table", return -EINVAL); in ci_populate_smc_vdd_ci_table()
909 PP_ASSERT_WITH_CODE(result == 0, "do not populate SMC mvdd voltage table", return -EINVAL); in ci_populate_smc_mvdd_table()
[all …]
Dsmu10_smumgr.c123 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE, in smu10_copy_table_from_smc()
125 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_from_smc()
127 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_from_smc()
154 PP_ASSERT_WITH_CODE(table_id < MAX_SMU_TABLE, in smu10_copy_table_to_smc()
156 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_to_smc()
158 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_to_smc()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega12_hwmgr.c457 PP_ASSERT_WITH_CODE(!vega12_init_sclk_threshold(hwmgr), in vega12_setup_asic_task()
487 PP_ASSERT_WITH_CODE(!ret, in vega12_get_number_of_dpm_level()
492 PP_ASSERT_WITH_CODE(*num_of_levels > 0, in vega12_get_number_of_dpm_level()
508 PP_ASSERT_WITH_CODE(smum_send_msg_to_smc_with_parameter(hwmgr, in vega12_get_dpm_frequency_by_index()
525 PP_ASSERT_WITH_CODE(!ret, in vega12_setup_single_dpm_table()
533 PP_ASSERT_WITH_CODE(!ret, in vega12_setup_single_dpm_table()
565 PP_ASSERT_WITH_CODE(!ret, in vega12_setup_default_dpm_tables()
578 PP_ASSERT_WITH_CODE(!ret, in vega12_setup_default_dpm_tables()
591 PP_ASSERT_WITH_CODE(!ret, in vega12_setup_default_dpm_tables()
604 PP_ASSERT_WITH_CODE(!ret, in vega12_setup_default_dpm_tables()
[all …]
Dvega20_hwmgr.c489 PP_ASSERT_WITH_CODE(!ret, in vega20_setup_asic_task()
527 PP_ASSERT_WITH_CODE(!ret, in vega20_get_number_of_dpm_level()
532 PP_ASSERT_WITH_CODE(*num_of_levels > 0, in vega20_get_number_of_dpm_level()
547 PP_ASSERT_WITH_CODE(!ret, in vega20_get_dpm_frequency_by_index()
552 PP_ASSERT_WITH_CODE(*clk, in vega20_get_dpm_frequency_by_index()
566 PP_ASSERT_WITH_CODE(!ret, in vega20_setup_single_dpm_table()
574 PP_ASSERT_WITH_CODE(!ret, in vega20_setup_single_dpm_table()
594 PP_ASSERT_WITH_CODE(!ret, in vega20_setup_gfxclk_dpm_table()
615 PP_ASSERT_WITH_CODE(!ret, in vega20_setup_memclk_dpm_table()
647 PP_ASSERT_WITH_CODE(!ret, in vega20_setup_default_dpm_tables()
[all …]
Dprocess_pptables_v1_0.c57 PP_ASSERT_WITH_CODE((~powerplay_caps & ____RETIRE16____), in set_platform_caps()
59 PP_ASSERT_WITH_CODE((~powerplay_caps & ____RETIRE64____), in set_platform_caps()
61 PP_ASSERT_WITH_CODE((~powerplay_caps & ____RETIRE512____), in set_platform_caps()
63 PP_ASSERT_WITH_CODE((~powerplay_caps & ____RETIRE1024____), in set_platform_caps()
65 PP_ASSERT_WITH_CODE((~powerplay_caps & ____RETIRE2048____), in set_platform_caps()
165 PP_ASSERT_WITH_CODE((0 != vddc_lookup_pp_tables->ucNumEntries), in get_vddc_lookup_table()
325 PP_ASSERT_WITH_CODE((0 != clk_volt_pp_table->count), in get_valid_clk()
355 PP_ASSERT_WITH_CODE((0 != limitable->ucNumEntries), "Invalid PowerPlay Table!", return -1); in get_hard_limits()
378 PP_ASSERT_WITH_CODE((0 != mclk_dep_table->ucNumEntries), in get_mclk_voltage_dependency_table()
425 PP_ASSERT_WITH_CODE((0 != tonga_table->ucNumEntries), in get_sclk_voltage_dependency_table()
[all …]
Dvega10_hwmgr.c96 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_phw_vega10_power_state()
106 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_const_phw_vega10_power_state()
524 PP_ASSERT_WITH_CODE(lookup_table->count != 0, in vega10_get_socclk_for_voltage_evv()
535 PP_ASSERT_WITH_CODE(entry_id < table_info->vdd_dep_on_socclk->count, in vega10_get_socclk_for_voltage_evv()
579 PP_ASSERT_WITH_CODE(!atomctrl_get_voltage_evv_on_sclk_ai(hwmgr, in vega10_get_evv_voltages()
586 PP_ASSERT_WITH_CODE((vddc < 2000 && vddc != 0), in vega10_get_evv_voltages()
717 PP_ASSERT_WITH_CODE(lookup_table && lookup_table->count, in vega10_sort_lookup_table()
777 PP_ASSERT_WITH_CODE(allowed_sclk_vdd_table, in vega10_set_private_data_based_on_pptable()
779 PP_ASSERT_WITH_CODE(allowed_sclk_vdd_table->count >= 1, in vega10_set_private_data_based_on_pptable()
782 PP_ASSERT_WITH_CODE(allowed_mclk_vdd_table, in vega10_set_private_data_based_on_pptable()
[all …]
Dvega12_processpptables.c68 PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= in check_powerplay_tables()
71 PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, in check_powerplay_tables()
106 PP_ASSERT_WITH_CODE( in append_vbios_pptable()
272 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), in vega12_pp_tables_initialize()
276 PP_ASSERT_WITH_CODE((powerplay_table != NULL), in vega12_pp_tables_initialize()
280 PP_ASSERT_WITH_CODE((result == 0), in vega12_pp_tables_initialize()
285 PP_ASSERT_WITH_CODE((result == 0), in vega12_pp_tables_initialize()
289 PP_ASSERT_WITH_CODE((result == 0), in vega12_pp_tables_initialize()
367 PP_ASSERT_WITH_CODE(pp_table, "Missing PowerPlay Table!",
377 PP_ASSERT_WITH_CODE(pp_table->usStateArrayOffset > 0,
[all …]
Dsmu7_hwmgr.c115 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_phw_smu7_power_state()
125 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_const_phw_smu7_power_state()
166 PP_ASSERT_WITH_CODE((7 >= link_width), in smu7_get_current_pcie_lane_number()
227 PP_ASSERT_WITH_CODE((NULL != voltage_table), in phm_get_svi2_voltage_table_v0()
262 PP_ASSERT_WITH_CODE((0 == result), in smu7_construct_voltage_tables()
273 PP_ASSERT_WITH_CODE((0 == result), in smu7_construct_voltage_tables()
282 PP_ASSERT_WITH_CODE((0 == result), in smu7_construct_voltage_tables()
292 PP_ASSERT_WITH_CODE((0 == result), in smu7_construct_voltage_tables()
301 PP_ASSERT_WITH_CODE((0 == result), in smu7_construct_voltage_tables()
310 PP_ASSERT_WITH_CODE((0 == result), in smu7_construct_voltage_tables()
[all …]
Dvega10_processpptables.c76 PP_ASSERT_WITH_CODE((powerplay_table->sHeader.format_revision >= in check_powerplay_tables()
79 PP_ASSERT_WITH_CODE(powerplay_table->usStateArrayOffset, in check_powerplay_tables()
81 PP_ASSERT_WITH_CODE(powerplay_table->sHeader.structuresize > 0, in check_powerplay_tables()
83 PP_ASSERT_WITH_CODE(state_arrays->ucNumEntries > 0, in check_powerplay_tables()
133 PP_ASSERT_WITH_CODE((powerplay_table->usThermalControllerOffset != 0), in init_thermal_controller()
171 PP_ASSERT_WITH_CODE((fan_table_v1->ucRevId >= 8), in init_thermal_controller()
351 PP_ASSERT_WITH_CODE((mm_dependency_table->ucNumEntries != 0), in get_mm_clock_voltage_table()
577 PP_ASSERT_WITH_CODE(clk_dep_table->ucNumEntries, in get_socclk_voltage_dependency_table()
611 PP_ASSERT_WITH_CODE(mclk_dep_table->ucNumEntries, in get_mclk_voltage_dependency_table()
652 PP_ASSERT_WITH_CODE((clk_dep_table->ucNumEntries != 0), in get_gfxclk_voltage_dependency_table()
[all …]
Dvega12_thermal.c34 PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr, in vega12_get_current_rpm()
75 PP_ASSERT_WITH_CODE(!vega12_enable_smc_features( in vega12_enable_fan_control_feature()
93 PP_ASSERT_WITH_CODE(!vega12_enable_smc_features( in vega12_disable_fan_control_feature()
110 PP_ASSERT_WITH_CODE( in vega12_fan_ctrl_start_smc_fan_control()
124 PP_ASSERT_WITH_CODE(!vega12_disable_fan_control_feature(hwmgr), in vega12_fan_ctrl_stop_smc_fan_control()
Dsmu_helper.c210 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_trim_voltage_table()
253 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_mvdd_voltage_table()
256 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_get_svi2_mvdd_voltage_table()
269 PP_ASSERT_WITH_CODE((0 == result), in phm_get_svi2_mvdd_voltage_table()
281 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_vddci_voltage_table()
284 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_get_svi2_vddci_voltage_table()
297 PP_ASSERT_WITH_CODE((0 == result), in phm_get_svi2_vddci_voltage_table()
308 PP_ASSERT_WITH_CODE((0 != lookup_table->count), in phm_get_svi2_vdd_voltage_table()
311 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_get_svi2_vdd_voltage_table()
394 PP_ASSERT_WITH_CODE((NULL != lookup_table), in phm_get_voltage_index()
[all …]
Dvega10_powertune.c803PP_ASSERT_WITH_CODE((config_regs != NULL), "[vega10_program_didt_config_registers] Invalid config … in vega10_program_didt_config_registers()
1186PP_ASSERT_WITH_CODE((0 == result), "[DisableDiDtConfig] Pre DIDT disable clock gating failed!", re… in vega10_disable_se_edc_force_stall_config()
1203PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDt] Attempt to enable DiDt Mode 0 Failed!", return re… in vega10_enable_didt_config()
1207PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDt] Attempt to enable DiDt Mode 2 Failed!", return re… in vega10_enable_didt_config()
1211PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDt] Attempt to enable DiDt Mode 3 Failed!", return re… in vega10_enable_didt_config()
1217PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDt] Attempt to enable DiDt Mode 5 Failed!", return re… in vega10_enable_didt_config()
1221PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDt] Attempt to enable DiDt Mode 6 Failed!", return re… in vega10_enable_didt_config()
1230PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDtConfig] Attempt to Enable DiDt feature Failed!", re… in vega10_enable_didt_config()
1250PP_ASSERT_WITH_CODE((0 == result), "[DisableDiDt] Attempt to disable DiDt Mode 0 Failed!", return … in vega10_disable_didt_config()
1254PP_ASSERT_WITH_CODE((0 == result), "[DisableDiDt] Attempt to disable DiDt Mode 2 Failed!", return … in vega10_disable_didt_config()
[all …]
Dsmu7_powertune.c902 PP_ASSERT_WITH_CODE((config_regs != NULL), "Invalid config register table.", return -EINVAL); in smu7_program_pt_config_registers()
982 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
984 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
987 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
992 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
995 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
997 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
1000 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
1002 PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error); in smu7_enable_didt_config()
1008 PP_ASSERT_WITH_CODE((result == 0), "EnableDiDt failed.", goto error); in smu7_enable_didt_config()
[all …]
Dvega10_thermal.c188 PP_ASSERT_WITH_CODE(!vega10_enable_smc_features( in vega10_enable_fan_control_feature()
205 PP_ASSERT_WITH_CODE(!vega10_enable_smc_features( in vega10_disable_fan_control_feature()
222 PP_ASSERT_WITH_CODE(!vega10_enable_fan_control_feature(hwmgr), in vega10_fan_ctrl_start_smc_fan_control()
238 PP_ASSERT_WITH_CODE(!vega10_disable_fan_control_feature(hwmgr), in vega10_fan_ctrl_stop_smc_fan_control()
435 PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr, in vega10_thermal_enable_alert()
466 PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr, in vega10_thermal_disable_alert()
Dppatomfwctrl.c64 PP_ASSERT_WITH_CODE(table_address, in pp_atomfwctrl_get_voltage_info_table()
85 PP_ASSERT_WITH_CODE(voltage_info, in pp_atomfwctrl_is_voltage_controlled_by_gpio_v4()
106 PP_ASSERT_WITH_CODE(voltage_info, in pp_atomfwctrl_get_voltage_table_v4()
118 PP_ASSERT_WITH_CODE( in pp_atomfwctrl_get_voltage_table_v4()
154 PP_ASSERT_WITH_CODE(false, in pp_atomfwctrl_get_voltage_table_v4()
171 PP_ASSERT_WITH_CODE(table_address, in pp_atomfwctrl_get_gpio_lookup_table()
217 PP_ASSERT_WITH_CODE(gpio_lookup_table, in pp_atomfwctrl_get_pp_assign_pin()
Dvega20_thermal.c42 PP_ASSERT_WITH_CODE(!ret, in vega20_disable_fan_control_feature()
71 PP_ASSERT_WITH_CODE(!ret, in vega20_enable_fan_control_feature()
108 PP_ASSERT_WITH_CODE((ret = smum_send_msg_to_smc(hwmgr, in vega20_get_current_rpm()

12