Lines Matching defs:hwmgr
95 static int ci_set_smc_sram_address(struct pp_hwmgr *hwmgr, in ci_set_smc_sram_address()
109 static int ci_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, in ci_copy_bytes_to_smc()
178 static int ci_program_jump_on_start(struct pp_hwmgr *hwmgr) in ci_program_jump_on_start()
187 static bool ci_is_smc_ram_running(struct pp_hwmgr *hwmgr) in ci_is_smc_ram_running()
195 static int ci_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr, in ci_read_smc_sram_dword()
209 static int ci_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in ci_send_msg_to_smc()
228 static int ci_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in ci_send_msg_to_smc_with_parameter()
235 static void ci_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr) in ci_initialize_power_tune_defaults()
278 static int ci_get_dependency_volt_by_clk(struct pp_hwmgr *hwmgr, in ci_get_dependency_volt_by_clk()
298 static int ci_calculate_sclk_params(struct pp_hwmgr *hwmgr, in ci_calculate_sclk_params()
372 static void ci_populate_phase_value_based_on_sclk(struct pp_hwmgr *hwmgr, in ci_populate_phase_value_based_on_sclk()
409 static int ci_populate_single_graphic_level(struct pp_hwmgr *hwmgr, in ci_populate_single_graphic_level()
473 static int ci_populate_all_graphic_levels(struct pp_hwmgr *hwmgr) in ci_populate_all_graphic_levels()
514 static int ci_populate_svi_load_line(struct pp_hwmgr *hwmgr) in ci_populate_svi_load_line()
527 static int ci_populate_tdc_limit(struct pp_hwmgr *hwmgr) in ci_populate_tdc_limit()
543 static int ci_populate_dw8(struct pp_hwmgr *hwmgr, uint32_t fuse_table_offset) in ci_populate_dw8()
562 static int ci_populate_fuzzy_fan(struct pp_hwmgr *hwmgr, uint32_t fuse_table_offset) in ci_populate_fuzzy_fan()
578 static int ci_populate_bapm_vddc_vid_sidd(struct pp_hwmgr *hwmgr) in ci_populate_bapm_vddc_vid_sidd()
607 static int ci_populate_vddc_vid(struct pp_hwmgr *hwmgr) in ci_populate_vddc_vid()
624 static int ci_min_max_v_gnbl_pm_lid_from_bapm_vddc(struct pp_hwmgr *hwmgr) in ci_min_max_v_gnbl_pm_lid_from_bapm_vddc()
656 static int ci_populate_bapm_vddc_base_leakage_sidd(struct pp_hwmgr *hwmgr) in ci_populate_bapm_vddc_base_leakage_sidd()
674 static int ci_populate_pm_fuses(struct pp_hwmgr *hwmgr) in ci_populate_pm_fuses()
716 static int ci_populate_bapm_parameters_in_dpm_table(struct pp_hwmgr *hwmgr) in ci_populate_bapm_parameters_in_dpm_table()
765 static int ci_get_std_voltage_value_sidd(struct pp_hwmgr *hwmgr, in ci_get_std_voltage_value_sidd()
821 static int ci_populate_smc_voltage_table(struct pp_hwmgr *hwmgr, in ci_populate_smc_voltage_table()
842 static int ci_populate_smc_vddc_table(struct pp_hwmgr *hwmgr, in ci_populate_smc_vddc_table()
871 static int ci_populate_smc_vdd_ci_table(struct pp_hwmgr *hwmgr, in ci_populate_smc_vdd_ci_table()
899 static int ci_populate_smc_mvdd_table(struct pp_hwmgr *hwmgr, in ci_populate_smc_mvdd_table()
928 static int ci_populate_smc_voltage_tables(struct pp_hwmgr *hwmgr, in ci_populate_smc_voltage_tables()
948 static int ci_populate_ulv_level(struct pp_hwmgr *hwmgr, in ci_populate_ulv_level()
992 static int ci_populate_ulv_state(struct pp_hwmgr *hwmgr, in ci_populate_ulv_state()
998 static int ci_populate_smc_link_level(struct pp_hwmgr *hwmgr, SMU7_Discrete_DpmTable *table) in ci_populate_smc_link_level()
1025 struct pp_hwmgr *hwmgr, in ci_calculate_mclk_params()
1158 static int ci_populate_phase_value_based_on_mclk(struct pp_hwmgr *hwmgr, const struct phm_phase_she… in ci_populate_phase_value_based_on_mclk()
1176 struct pp_hwmgr *hwmgr, in ci_populate_single_memory_level()
1301 static int ci_populate_all_memory_levels(struct pp_hwmgr *hwmgr) in ci_populate_all_memory_levels()
1351 static int ci_populate_mvdd_value(struct pp_hwmgr *hwmgr, uint32_t mclk, in ci_populate_mvdd_value()
1378 static int ci_populate_smc_acpi_level(struct pp_hwmgr *hwmgr, in ci_populate_smc_acpi_level()
1519 static int ci_populate_smc_uvd_level(struct pp_hwmgr *hwmgr, in ci_populate_smc_uvd_level()
1560 static int ci_populate_smc_vce_level(struct pp_hwmgr *hwmgr, in ci_populate_smc_vce_level()
1592 static int ci_populate_smc_acp_level(struct pp_hwmgr *hwmgr, in ci_populate_smc_acp_level()
1623 struct pp_hwmgr *hwmgr, in ci_populate_memory_timing_parameters()
1651 static int ci_program_memory_timing_parameters(struct pp_hwmgr *hwmgr) in ci_program_memory_timing_parameters()
1686 static int ci_populate_smc_boot_level(struct pp_hwmgr *hwmgr, in ci_populate_smc_boot_level()
1724 static int ci_populate_mc_reg_address(struct pp_hwmgr *hwmgr, in ci_populate_mc_reg_address()
1764 struct pp_hwmgr *hwmgr, in ci_convert_mc_reg_table_entry_to_smc()
1789 static int ci_convert_mc_reg_table_to_smc(struct pp_hwmgr *hwmgr, in ci_convert_mc_reg_table_to_smc()
1811 static int ci_update_and_upload_mc_reg_table(struct pp_hwmgr *hwmgr) in ci_update_and_upload_mc_reg_table()
1837 static int ci_populate_initial_mc_reg_table(struct pp_hwmgr *hwmgr) in ci_populate_initial_mc_reg_table()
1855 static int ci_populate_smc_initial_state(struct pp_hwmgr *hwmgr) in ci_populate_smc_initial_state()
1884 static int ci_populate_smc_svi2_config(struct pp_hwmgr *hwmgr, in ci_populate_smc_svi2_config()
1896 static int ci_start_smc(struct pp_hwmgr *hwmgr) in ci_start_smc()
1912 static int ci_populate_vr_config(struct pp_hwmgr *hwmgr, SMU7_Discrete_DpmTable *table) in ci_populate_vr_config()
1943 static int ci_init_smc_table(struct pp_hwmgr *hwmgr) in ci_init_smc_table()
2126 static int ci_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in ci_thermal_setup_fan_table()
2201 static int ci_program_mem_timing_parameters(struct pp_hwmgr *hwmgr) in ci_program_mem_timing_parameters()
2212 static int ci_update_sclk_threshold(struct pp_hwmgr *hwmgr) in ci_update_sclk_threshold()
2313 static int ci_load_smc_ucode(struct pp_hwmgr *hwmgr) in ci_load_smc_ucode()
2352 static int ci_upload_firmware(struct pp_hwmgr *hwmgr) in ci_upload_firmware()
2368 static int ci_process_firmware_header(struct pp_hwmgr *hwmgr) in ci_process_firmware_header()
2443 static uint8_t ci_get_memory_modile_index(struct pp_hwmgr *hwmgr) in ci_get_memory_modile_index()
2583 static int ci_set_mc_special_registers(struct pp_hwmgr *hwmgr, in ci_set_mc_special_registers()
2676 static int ci_initialize_mc_reg_table(struct pp_hwmgr *hwmgr) in ci_initialize_mc_reg_table()
2729 static bool ci_is_dpm_running(struct pp_hwmgr *hwmgr) in ci_is_dpm_running()
2734 static int ci_smu_init(struct pp_hwmgr *hwmgr) in ci_smu_init()
2748 static int ci_smu_fini(struct pp_hwmgr *hwmgr) in ci_smu_fini()
2755 static int ci_start_smu(struct pp_hwmgr *hwmgr) in ci_start_smu()
2760 static int ci_update_dpm_settings(struct pp_hwmgr *hwmgr, in ci_update_dpm_settings()
2856 static int ci_update_uvd_smc_table(struct pp_hwmgr *hwmgr) in ci_update_uvd_smc_table()
2894 static int ci_update_vce_smc_table(struct pp_hwmgr *hwmgr) in ci_update_vce_smc_table()
2926 static int ci_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type) in ci_update_smc_table()
2941 static void ci_reset_smc(struct pp_hwmgr *hwmgr) in ci_reset_smc()
2949 static void ci_stop_smc_clock(struct pp_hwmgr *hwmgr) in ci_stop_smc_clock()
2956 static int ci_stop_smc(struct pp_hwmgr *hwmgr) in ci_stop_smc()