Lines Matching defs:rdev
172 static struct ci_power_info *ci_get_pi(struct radeon_device *rdev) in ci_get_pi()
186 static void ci_initialize_powertune_defaults(struct radeon_device *rdev) in ci_initialize_powertune_defaults()
251 static int ci_populate_bapm_vddc_vid_sidd(struct radeon_device *rdev) in ci_populate_bapm_vddc_vid_sidd()
280 static int ci_populate_vddc_vid(struct radeon_device *rdev) in ci_populate_vddc_vid()
295 static int ci_populate_svi_load_line(struct radeon_device *rdev) in ci_populate_svi_load_line()
308 static int ci_populate_tdc_limit(struct radeon_device *rdev) in ci_populate_tdc_limit()
323 static int ci_populate_dw8(struct radeon_device *rdev) in ci_populate_dw8()
343 static int ci_populate_fuzzy_fan(struct radeon_device *rdev) in ci_populate_fuzzy_fan()
358 static int ci_min_max_v_gnbl_pm_lid_from_bapm_vddc(struct radeon_device *rdev) in ci_min_max_v_gnbl_pm_lid_from_bapm_vddc()
390 static int ci_populate_bapm_vddc_base_leakage_sidd(struct radeon_device *rdev) in ci_populate_bapm_vddc_base_leakage_sidd()
406 static int ci_populate_bapm_parameters_in_dpm_table(struct radeon_device *rdev) in ci_populate_bapm_parameters_in_dpm_table()
454 static int ci_populate_pm_base(struct radeon_device *rdev) in ci_populate_pm_base()
501 static void ci_do_enable_didt(struct radeon_device *rdev, const bool enable) in ci_do_enable_didt()
543 static int ci_program_pt_config_registers(struct radeon_device *rdev, in ci_program_pt_config_registers()
591 static int ci_enable_didt(struct radeon_device *rdev, bool enable) in ci_enable_didt()
616 static int ci_enable_power_containment(struct radeon_device *rdev, bool enable) in ci_enable_power_containment()
674 static int ci_enable_smc_cac(struct radeon_device *rdev, bool enable) in ci_enable_smc_cac()
698 static int ci_enable_thermal_based_sclk_dpm(struct radeon_device *rdev, in ci_enable_thermal_based_sclk_dpm()
717 static int ci_power_control_set_level(struct radeon_device *rdev) in ci_power_control_set_level()
739 void ci_dpm_powergate_uvd(struct radeon_device *rdev, bool gate) in ci_dpm_powergate_uvd()
751 bool ci_dpm_vblank_too_short(struct radeon_device *rdev) in ci_dpm_vblank_too_short()
770 static void ci_apply_state_adjust_rules(struct radeon_device *rdev, in ci_apply_state_adjust_rules()
845 static int ci_thermal_set_temperature_range(struct radeon_device *rdev, in ci_thermal_set_temperature_range()
881 static int ci_thermal_enable_alert(struct radeon_device *rdev, in ci_thermal_enable_alert()
910 static void ci_fan_ctrl_set_static_mode(struct radeon_device *rdev, u32 mode) in ci_fan_ctrl_set_static_mode()
932 static int ci_thermal_setup_fan_table(struct radeon_device *rdev) in ci_thermal_setup_fan_table()
1009 static int ci_fan_ctrl_start_smc_fan_control(struct radeon_device *rdev) in ci_fan_ctrl_start_smc_fan_control()
1037 static int ci_fan_ctrl_stop_smc_fan_control(struct radeon_device *rdev) in ci_fan_ctrl_stop_smc_fan_control()
1050 int ci_fan_ctrl_get_fan_speed_percent(struct radeon_device *rdev, in ci_fan_ctrl_get_fan_speed_percent()
1075 int ci_fan_ctrl_set_fan_speed_percent(struct radeon_device *rdev, in ci_fan_ctrl_set_fan_speed_percent()
1108 void ci_fan_ctrl_set_mode(struct radeon_device *rdev, u32 mode) in ci_fan_ctrl_set_mode()
1124 u32 ci_fan_ctrl_get_mode(struct radeon_device *rdev) in ci_fan_ctrl_get_mode()
1188 static void ci_fan_ctrl_set_default_mode(struct radeon_device *rdev) in ci_fan_ctrl_set_default_mode()
1205 static void ci_thermal_start_smc_fan_control(struct radeon_device *rdev) in ci_thermal_start_smc_fan_control()
1213 static void ci_thermal_initialize(struct radeon_device *rdev) in ci_thermal_initialize()
1228 static int ci_thermal_start_thermal_controller(struct radeon_device *rdev) in ci_thermal_start_thermal_controller()
1249 static void ci_thermal_stop_thermal_controller(struct radeon_device *rdev) in ci_thermal_stop_thermal_controller()
1267 static int ci_write_smc_soft_register(struct radeon_device *rdev, in ci_write_smc_soft_register()
1277 static void ci_init_fps_limits(struct radeon_device *rdev) in ci_init_fps_limits()
1293 static int ci_update_sclk_t(struct radeon_device *rdev) in ci_update_sclk_t()
1313 static void ci_get_leakage_voltages(struct radeon_device *rdev) in ci_get_leakage_voltages()
1355 static void ci_set_dpm_event_sources(struct radeon_device *rdev, u32 sources) in ci_set_dpm_event_sources()
1392 static void ci_enable_auto_throttle_source(struct radeon_device *rdev, in ci_enable_auto_throttle_source()
1411 static void ci_enable_vr_hot_gpio_interrupt(struct radeon_device *rdev) in ci_enable_vr_hot_gpio_interrupt()
1417 static int ci_unfreeze_sclk_mclk_dpm(struct radeon_device *rdev) in ci_unfreeze_sclk_mclk_dpm()
1443 static int ci_enable_sclk_mclk_dpm(struct radeon_device *rdev, bool enable) in ci_enable_sclk_mclk_dpm()
1489 static int ci_start_dpm(struct radeon_device *rdev) in ci_start_dpm()
1525 static int ci_freeze_sclk_mclk_dpm(struct radeon_device *rdev) in ci_freeze_sclk_mclk_dpm()
1550 static int ci_stop_dpm(struct radeon_device *rdev) in ci_stop_dpm()
1582 static void ci_enable_sclk_control(struct radeon_device *rdev, bool enable) in ci_enable_sclk_control()
1620 static PPSMC_Result ci_send_msg_to_smc(struct radeon_device *rdev, PPSMC_Msg msg) in ci_send_msg_to_smc()
1641 static PPSMC_Result ci_send_msg_to_smc_with_parameter(struct radeon_device *rdev, in ci_send_msg_to_smc_with_parameter()
1648 static PPSMC_Result ci_send_msg_to_smc_return_parameter(struct radeon_device *rdev, in ci_send_msg_to_smc_return_parameter()
1661 static int ci_dpm_force_state_sclk(struct radeon_device *rdev, u32 n) in ci_dpm_force_state_sclk()
1675 static int ci_dpm_force_state_mclk(struct radeon_device *rdev, u32 n) in ci_dpm_force_state_mclk()
1689 static int ci_dpm_force_state_pcie(struct radeon_device *rdev, u32 n) in ci_dpm_force_state_pcie()
1703 static int ci_set_power_limit(struct radeon_device *rdev, u32 n) in ci_set_power_limit()
1717 static int ci_set_overdrive_target_tdp(struct radeon_device *rdev, in ci_set_overdrive_target_tdp()
1734 static u32 ci_get_average_sclk_freq(struct radeon_device *rdev) in ci_get_average_sclk_freq()
1747 static u32 ci_get_average_mclk_freq(struct radeon_device *rdev) in ci_get_average_mclk_freq()
1760 static void ci_dpm_start_smc(struct radeon_device *rdev) in ci_dpm_start_smc()
1773 static void ci_dpm_stop_smc(struct radeon_device *rdev) in ci_dpm_stop_smc()
1779 static int ci_process_firmware_header(struct radeon_device *rdev) in ci_process_firmware_header()
1833 static void ci_read_clock_registers(struct radeon_device *rdev) in ci_read_clock_registers()
1860 static void ci_init_sclk_t(struct radeon_device *rdev) in ci_init_sclk_t()
1867 static void ci_enable_thermal_protection(struct radeon_device *rdev, in ci_enable_thermal_protection()
1879 static void ci_enable_acpi_power_management(struct radeon_device *rdev) in ci_enable_acpi_power_management()
1917 static int ci_notify_smc_display_change(struct radeon_device *rdev, in ci_notify_smc_display_change()
1925 static int ci_enable_ds_master_switch(struct radeon_device *rdev, in ci_enable_ds_master_switch()
1948 static void ci_program_display_gap(struct radeon_device *rdev) in ci_program_display_gap()
1982 static void ci_enable_spread_spectrum(struct radeon_device *rdev, bool enable) in ci_enable_spread_spectrum()
2004 static void ci_program_sstp(struct radeon_device *rdev) in ci_program_sstp()
2009 static void ci_enable_display_gap(struct radeon_device *rdev) in ci_enable_display_gap()
2020 static void ci_program_vc(struct radeon_device *rdev) in ci_program_vc()
2038 static void ci_clear_vc(struct radeon_device *rdev) in ci_clear_vc()
2056 static int ci_upload_firmware(struct radeon_device *rdev) in ci_upload_firmware()
2074 static int ci_get_svi2_voltage_table(struct radeon_device *rdev, in ci_get_svi2_voltage_table()
2095 static int ci_construct_voltage_tables(struct radeon_device *rdev) in ci_construct_voltage_tables()
2157 static void ci_populate_smc_voltage_table(struct radeon_device *rdev, in ci_populate_smc_voltage_table()
2179 static int ci_populate_smc_vddc_table(struct radeon_device *rdev, in ci_populate_smc_vddc_table()
2202 static int ci_populate_smc_vddci_table(struct radeon_device *rdev, in ci_populate_smc_vddci_table()
2225 static int ci_populate_smc_mvdd_table(struct radeon_device *rdev, in ci_populate_smc_mvdd_table()
2248 static int ci_populate_smc_voltage_tables(struct radeon_device *rdev, in ci_populate_smc_voltage_tables()
2268 static int ci_populate_mvdd_value(struct radeon_device *rdev, u32 mclk, in ci_populate_mvdd_value()
2289 static int ci_get_std_voltage_value_sidd(struct radeon_device *rdev, in ci_get_std_voltage_value_sidd()
2340 static void ci_populate_phase_value_based_on_sclk(struct radeon_device *rdev, in ci_populate_phase_value_based_on_sclk()
2357 static void ci_populate_phase_value_based_on_mclk(struct radeon_device *rdev, in ci_populate_phase_value_based_on_mclk()
2374 static int ci_init_arb_table_index(struct radeon_device *rdev) in ci_init_arb_table_index()
2392 static int ci_get_dependency_volt_by_clk(struct radeon_device *rdev, in ci_get_dependency_volt_by_clk()
2413 static u8 ci_get_sleep_divider_id_from_clock(struct radeon_device *rdev, in ci_get_sleep_divider_id_from_clock()
2433 static int ci_initial_switch_from_arb_f0_to_f1(struct radeon_device *rdev) in ci_initial_switch_from_arb_f0_to_f1()
2438 static int ci_reset_to_default(struct radeon_device *rdev) in ci_reset_to_default()
2444 static int ci_force_switch_to_arb_f0(struct radeon_device *rdev) in ci_force_switch_to_arb_f0()
2456 static void ci_register_patching_mc_arb(struct radeon_device *rdev, in ci_register_patching_mc_arb()
2483 static int ci_populate_memory_timing_parameters(struct radeon_device *rdev, in ci_populate_memory_timing_parameters()
2507 static int ci_do_program_memory_timing_parameters(struct radeon_device *rdev) in ci_do_program_memory_timing_parameters()
2537 static int ci_program_memory_timing_parameters(struct radeon_device *rdev) in ci_program_memory_timing_parameters()
2547 static void ci_populate_smc_initial_state(struct radeon_device *rdev, in ci_populate_smc_initial_state()
2587 static void ci_populate_smc_link_level(struct radeon_device *rdev, in ci_populate_smc_link_level()
2609 static int ci_populate_smc_uvd_level(struct radeon_device *rdev, in ci_populate_smc_uvd_level()
2652 static int ci_populate_smc_vce_level(struct radeon_device *rdev, in ci_populate_smc_vce_level()
2685 static int ci_populate_smc_acp_level(struct radeon_device *rdev, in ci_populate_smc_acp_level()
2717 static int ci_populate_smc_samu_level(struct radeon_device *rdev, in ci_populate_smc_samu_level()
2749 static int ci_calculate_mclk_params(struct radeon_device *rdev, in ci_calculate_mclk_params()
2836 static int ci_populate_single_memory_level(struct radeon_device *rdev, in ci_populate_single_memory_level()
2950 static int ci_populate_smc_acpi_level(struct radeon_device *rdev, in ci_populate_smc_acpi_level()
3066 static int ci_enable_ulv(struct radeon_device *rdev, bool enable) in ci_enable_ulv()
3083 static int ci_populate_ulv_level(struct radeon_device *rdev, in ci_populate_ulv_level()
3120 static int ci_calculate_sclk_params(struct radeon_device *rdev, in ci_calculate_sclk_params()
3176 static int ci_populate_single_graphic_level(struct radeon_device *rdev, in ci_populate_single_graphic_level()
3237 static int ci_populate_all_graphic_levels(struct radeon_device *rdev) in ci_populate_all_graphic_levels()
3278 static int ci_populate_ulv_state(struct radeon_device *rdev, in ci_populate_ulv_state()
3284 static int ci_populate_all_memory_levels(struct radeon_device *rdev) in ci_populate_all_memory_levels()
3335 static void ci_reset_single_dpm_table(struct radeon_device *rdev, in ci_reset_single_dpm_table()
3354 static int ci_setup_default_pcie_tables(struct radeon_device *rdev) in ci_setup_default_pcie_tables()
3402 static int ci_setup_default_dpm_tables(struct radeon_device *rdev) in ci_setup_default_dpm_tables()
3516 static int ci_init_smc_table(struct radeon_device *rdev) in ci_init_smc_table()
3664 static void ci_trim_single_dpm_states(struct radeon_device *rdev, in ci_trim_single_dpm_states()
3679 static void ci_trim_pcie_dpm_states(struct radeon_device *rdev, in ci_trim_pcie_dpm_states()
3710 static int ci_trim_dpm_states(struct radeon_device *rdev, in ci_trim_dpm_states()
3744 static int ci_apply_disp_minimum_voltage_request(struct radeon_device *rdev) in ci_apply_disp_minimum_voltage_request()
3776 static int ci_upload_dpm_level_enable_mask(struct radeon_device *rdev) in ci_upload_dpm_level_enable_mask()
3816 static void ci_find_dpm_states_clocks_in_dpm_table(struct radeon_device *rdev, in ci_find_dpm_states_clocks_in_dpm_table()
3858 static int ci_populate_and_upload_sclk_mclk_dpm_levels(struct radeon_device *rdev, in ci_populate_and_upload_sclk_mclk_dpm_levels()
3892 static int ci_enable_uvd_dpm(struct radeon_device *rdev, bool enable) in ci_enable_uvd_dpm()
3941 static int ci_enable_vce_dpm(struct radeon_device *rdev, bool enable) in ci_enable_vce_dpm()
4038 static int ci_update_uvd_dpm(struct radeon_device *rdev, bool gate) in ci_update_uvd_dpm()
4060 static u8 ci_get_vce_boot_level(struct radeon_device *rdev) in ci_get_vce_boot_level()
4075 static int ci_update_vce_dpm(struct radeon_device *rdev, in ci_update_vce_dpm()
4129 static int ci_generate_dpm_level_enable_mask(struct radeon_device *rdev, in ci_generate_dpm_level_enable_mask()
4155 static u32 ci_get_lowest_enabled_level(struct radeon_device *rdev, in ci_get_lowest_enabled_level()
4167 int ci_dpm_force_performance_level(struct radeon_device *rdev, in ci_dpm_force_performance_level()
4297 static int ci_set_mc_special_registers(struct radeon_device *rdev, in ci_set_mc_special_registers()
4495 static int ci_register_patching_mc_seq(struct radeon_device *rdev, in ci_register_patching_mc_seq()
4585 static int ci_initialize_mc_reg_table(struct radeon_device *rdev) in ci_initialize_mc_reg_table()
4644 static int ci_populate_mc_reg_addresses(struct radeon_device *rdev, in ci_populate_mc_reg_addresses()
4679 static void ci_convert_mc_reg_table_entry_to_smc(struct radeon_device *rdev, in ci_convert_mc_reg_table_entry_to_smc()
4699 static void ci_convert_mc_reg_table_to_smc(struct radeon_device *rdev, in ci_convert_mc_reg_table_to_smc()
4711 static int ci_populate_initial_mc_reg_table(struct radeon_device *rdev) in ci_populate_initial_mc_reg_table()
4730 static int ci_update_and_upload_mc_reg_table(struct radeon_device *rdev) in ci_update_and_upload_mc_reg_table()
4750 static void ci_enable_voltage_control(struct radeon_device *rdev) in ci_enable_voltage_control()
4758 static enum radeon_pcie_gen ci_get_maximum_link_speed(struct radeon_device *rdev, in ci_get_maximum_link_speed()
4774 static u16 ci_get_current_pcie_speed(struct radeon_device *rdev) in ci_get_current_pcie_speed()
4784 static int ci_get_current_pcie_lane_number(struct radeon_device *rdev) in ci_get_current_pcie_lane_number()
4810 static void ci_request_link_speed_change_before_state_change(struct radeon_device *rdev, in ci_request_link_speed_change_before_state_change()
4851 static void ci_notify_link_speed_change_after_state_change(struct radeon_device *rdev, in ci_notify_link_speed_change_after_state_change()
4878 static int ci_set_private_data_variables_based_on_pptable(struct radeon_device *rdev) in ci_set_private_data_variables_based_on_pptable()
4921 static void ci_patch_with_vddc_leakage(struct radeon_device *rdev, u16 *vddc) in ci_patch_with_vddc_leakage()
4935 static void ci_patch_with_vddci_leakage(struct radeon_device *rdev, u16 *vddci) in ci_patch_with_vddci_leakage()
4949 static void ci_patch_clock_voltage_dependency_table_with_vddc_leakage(struct radeon_device *rdev, in ci_patch_clock_voltage_dependency_table_with_vddc_leakage()
4960 static void ci_patch_clock_voltage_dependency_table_with_vddci_leakage(struct radeon_device *rdev, in ci_patch_clock_voltage_dependency_table_with_vddci_leakage()
4971 …atic void ci_patch_vce_clock_voltage_dependency_table_with_vddc_leakage(struct radeon_device *rdev, in ci_patch_vce_clock_voltage_dependency_table_with_vddc_leakage()
4982 …atic void ci_patch_uvd_clock_voltage_dependency_table_with_vddc_leakage(struct radeon_device *rdev, in ci_patch_uvd_clock_voltage_dependency_table_with_vddc_leakage()
4993 static void ci_patch_vddc_phase_shed_limit_table_with_vddc_leakage(struct radeon_device *rdev, in ci_patch_vddc_phase_shed_limit_table_with_vddc_leakage()
5004 static void ci_patch_clock_voltage_limits_with_vddc_leakage(struct radeon_device *rdev, in ci_patch_clock_voltage_limits_with_vddc_leakage()
5013 static void ci_patch_cac_leakage_table_with_vddc_leakage(struct radeon_device *rdev, in ci_patch_cac_leakage_table_with_vddc_leakage()
5024 static void ci_patch_dependency_tables_with_leakage(struct radeon_device *rdev) in ci_patch_dependency_tables_with_leakage()
5054 static void ci_get_memory_type(struct radeon_device *rdev) in ci_get_memory_type()
5069 static void ci_update_current_ps(struct radeon_device *rdev, in ci_update_current_ps()
5080 static void ci_update_requested_ps(struct radeon_device *rdev, in ci_update_requested_ps()
5091 int ci_dpm_pre_set_power_state(struct radeon_device *rdev) in ci_dpm_pre_set_power_state()
5104 void ci_dpm_post_set_power_state(struct radeon_device *rdev) in ci_dpm_post_set_power_state()
5113 void ci_dpm_setup_asic(struct radeon_device *rdev) in ci_dpm_setup_asic()
5126 int ci_dpm_enable(struct radeon_device *rdev) in ci_dpm_enable()
5251 static int ci_set_temperature_range(struct radeon_device *rdev) in ci_set_temperature_range()
5268 int ci_dpm_late_enable(struct radeon_device *rdev) in ci_dpm_late_enable()
5281 void ci_dpm_disable(struct radeon_device *rdev) in ci_dpm_disable()
5312 int ci_dpm_set_power_state(struct radeon_device *rdev) in ci_dpm_set_power_state()
5384 void ci_dpm_display_configuration_changed(struct radeon_device *rdev) in ci_dpm_display_configuration_changed()
5412 static void ci_parse_pplib_non_clock_info(struct radeon_device *rdev, in ci_parse_pplib_non_clock_info()
5435 static void ci_parse_pplib_clock_info(struct radeon_device *rdev, in ci_parse_pplib_clock_info()
5504 static int ci_parse_power_table(struct radeon_device *rdev) in ci_parse_power_table()
5606 static int ci_get_vbios_boot_values(struct radeon_device *rdev, in ci_get_vbios_boot_values()
5633 void ci_dpm_fini(struct radeon_device *rdev) in ci_dpm_fini()
5646 int ci_dpm_init(struct radeon_device *rdev) in ci_dpm_init()
5914 void ci_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, in ci_dpm_debugfs_print_current_performance_level()
5928 void ci_dpm_print_power_state(struct radeon_device *rdev, in ci_dpm_print_power_state()
5946 u32 ci_dpm_get_current_sclk(struct radeon_device *rdev) in ci_dpm_get_current_sclk()
5953 u32 ci_dpm_get_current_mclk(struct radeon_device *rdev) in ci_dpm_get_current_mclk()
5960 u32 ci_dpm_get_sclk(struct radeon_device *rdev, bool low) in ci_dpm_get_sclk()
5971 u32 ci_dpm_get_mclk(struct radeon_device *rdev, bool low) in ci_dpm_get_mclk()