Lines Matching defs:rdev
43 static struct rv6xx_power_info *rv6xx_get_pi(struct radeon_device *rdev) in rv6xx_get_pi()
50 static void rv6xx_force_pcie_gen1(struct radeon_device *rdev) in rv6xx_force_pcie_gen1()
74 static void rv6xx_enable_pcie_gen2_support(struct radeon_device *rdev) in rv6xx_enable_pcie_gen2_support()
87 static void rv6xx_enable_bif_dynamic_pcie_gen2(struct radeon_device *rdev, in rv6xx_enable_bif_dynamic_pcie_gen2()
100 static void rv6xx_enable_l0s(struct radeon_device *rdev) in rv6xx_enable_l0s()
109 static void rv6xx_enable_l1(struct radeon_device *rdev) in rv6xx_enable_l1()
121 static void rv6xx_enable_pll_sleep_in_l1(struct radeon_device *rdev) in rv6xx_enable_pll_sleep_in_l1()
138 static int rv6xx_convert_clock_to_stepping(struct radeon_device *rdev, in rv6xx_convert_clock_to_stepping()
159 static void rv6xx_output_stepping(struct radeon_device *rdev, in rv6xx_output_stepping()
193 static struct rv6xx_sclk_stepping rv6xx_next_vco_step(struct radeon_device *rdev, in rv6xx_next_vco_step()
209 static bool rv6xx_can_step_post_div(struct radeon_device *rdev, in rv6xx_can_step_post_div()
218 static struct rv6xx_sclk_stepping rv6xx_next_post_div_step(struct radeon_device *rdev, in rv6xx_next_post_div_step()
230 static bool rv6xx_reached_stepping_target(struct radeon_device *rdev, in rv6xx_reached_stepping_target()
239 static void rv6xx_generate_steps(struct radeon_device *rdev, in rv6xx_generate_steps()
296 static void rv6xx_generate_single_step(struct radeon_device *rdev, in rv6xx_generate_single_step()
305 static void rv6xx_invalidate_intermediate_steps_range(struct radeon_device *rdev, in rv6xx_invalidate_intermediate_steps_range()
314 static void rv6xx_set_engine_spread_spectrum_clk_s(struct radeon_device *rdev, in rv6xx_set_engine_spread_spectrum_clk_s()
321 static void rv6xx_set_engine_spread_spectrum_clk_v(struct radeon_device *rdev, in rv6xx_set_engine_spread_spectrum_clk_v()
328 static void rv6xx_enable_engine_spread_spectrum(struct radeon_device *rdev, in rv6xx_enable_engine_spread_spectrum()
339 static void rv6xx_set_memory_spread_spectrum_clk_s(struct radeon_device *rdev, in rv6xx_set_memory_spread_spectrum_clk_s()
345 static void rv6xx_set_memory_spread_spectrum_clk_v(struct radeon_device *rdev, in rv6xx_set_memory_spread_spectrum_clk_v()
351 static void rv6xx_enable_memory_spread_spectrum(struct radeon_device *rdev, in rv6xx_enable_memory_spread_spectrum()
360 static void rv6xx_enable_dynamic_spread_spectrum(struct radeon_device *rdev, in rv6xx_enable_dynamic_spread_spectrum()
369 static void rv6xx_memory_clock_entry_enable_post_divider(struct radeon_device *rdev, in rv6xx_memory_clock_entry_enable_post_divider()
379 static void rv6xx_memory_clock_entry_set_post_divider(struct radeon_device *rdev, in rv6xx_memory_clock_entry_set_post_divider()
386 static void rv6xx_memory_clock_entry_set_feedback_divider(struct radeon_device *rdev, in rv6xx_memory_clock_entry_set_feedback_divider()
393 static void rv6xx_memory_clock_entry_set_reference_divider(struct radeon_device *rdev, in rv6xx_memory_clock_entry_set_reference_divider()
400 static void rv6xx_vid_response_set_brt(struct radeon_device *rdev, u32 rt) in rv6xx_vid_response_set_brt()
405 static void rv6xx_enable_engine_feedback_and_reference_sync(struct radeon_device *rdev) in rv6xx_enable_engine_feedback_and_reference_sync()
417 static u32 rv6xx_scale_count_given_unit(struct radeon_device *rdev, in rv6xx_scale_count_given_unit()
425 static u32 rv6xx_compute_count_for_delay(struct radeon_device *rdev, in rv6xx_compute_count_for_delay()
433 static void rv6xx_calculate_engine_speed_stepping_parameters(struct radeon_device *rdev, in rv6xx_calculate_engine_speed_stepping_parameters()
450 static void rv6xx_calculate_memory_clock_stepping_parameters(struct radeon_device *rdev, in rv6xx_calculate_memory_clock_stepping_parameters()
480 static void rv6xx_calculate_voltage_stepping_parameters(struct radeon_device *rdev, in rv6xx_calculate_voltage_stepping_parameters()
548 static void rv6xx_program_engine_spread_spectrum(struct radeon_device *rdev, in rv6xx_program_engine_spread_spectrum()
583 … void rv6xx_program_sclk_spread_spectrum_parameters_except_lowest_entry(struct radeon_device *rdev) in rv6xx_program_sclk_spread_spectrum_parameters_except_lowest_entry()
597 static int rv6xx_program_mclk_stepping_entry(struct radeon_device *rdev, in rv6xx_program_mclk_stepping_entry()
618 static void rv6xx_program_mclk_stepping_parameters_except_lowest_entry(struct radeon_device *rdev) in rv6xx_program_mclk_stepping_parameters_except_lowest_entry()
630 static void rv6xx_find_memory_clock_with_highest_vco(struct radeon_device *rdev, in rv6xx_find_memory_clock_with_highest_vco()
652 static void rv6xx_program_mclk_spread_spectrum_parameters(struct radeon_device *rdev) in rv6xx_program_mclk_spread_spectrum_parameters()
701 static int rv6xx_program_voltage_stepping_entry(struct radeon_device *rdev, in rv6xx_program_voltage_stepping_entry()
718 …atic void rv6xx_program_voltage_stepping_parameters_except_lowest_entry(struct radeon_device *rdev) in rv6xx_program_voltage_stepping_parameters_except_lowest_entry()
729 …tic void rv6xx_program_backbias_stepping_parameters_except_lowest_entry(struct radeon_device *rdev) in rv6xx_program_backbias_stepping_parameters_except_lowest_entry()
744 static void rv6xx_program_sclk_spread_spectrum_parameters_lowest_entry(struct radeon_device *rdev) in rv6xx_program_sclk_spread_spectrum_parameters_lowest_entry()
753 static void rv6xx_program_mclk_stepping_parameters_lowest_entry(struct radeon_device *rdev) in rv6xx_program_mclk_stepping_parameters_lowest_entry()
762 static void rv6xx_program_voltage_stepping_parameters_lowest_entry(struct radeon_device *rdev) in rv6xx_program_voltage_stepping_parameters_lowest_entry()
771 static void rv6xx_program_backbias_stepping_parameters_lowest_entry(struct radeon_device *rdev) in rv6xx_program_backbias_stepping_parameters_lowest_entry()
781 static u32 calculate_memory_refresh_rate(struct radeon_device *rdev, in calculate_memory_refresh_rate()
794 static void rv6xx_program_memory_timing_parameters(struct radeon_device *rdev) in rv6xx_program_memory_timing_parameters()
828 static void rv6xx_program_mpll_timing_parameters(struct radeon_device *rdev) in rv6xx_program_mpll_timing_parameters()
837 static void rv6xx_program_bsp(struct radeon_device *rdev) in rv6xx_program_bsp()
850 static void rv6xx_program_at(struct radeon_device *rdev) in rv6xx_program_at()
861 static void rv6xx_program_git(struct radeon_device *rdev) in rv6xx_program_git()
866 static void rv6xx_program_tp(struct radeon_device *rdev) in rv6xx_program_tp()
876 static void rv6xx_program_vc(struct radeon_device *rdev) in rv6xx_program_vc()
881 static void rv6xx_clear_vc(struct radeon_device *rdev) in rv6xx_clear_vc()
886 static void rv6xx_program_tpp(struct radeon_device *rdev) in rv6xx_program_tpp()
892 static void rv6xx_program_sstp(struct radeon_device *rdev) in rv6xx_program_sstp()
898 static void rv6xx_program_fcp(struct radeon_device *rdev) in rv6xx_program_fcp()
904 static void rv6xx_program_vddc3d_parameters(struct radeon_device *rdev) in rv6xx_program_vddc3d_parameters()
913 static void rv6xx_program_voltage_timing_parameters(struct radeon_device *rdev) in rv6xx_program_voltage_timing_parameters()
931 static void rv6xx_program_engine_speed_parameters(struct radeon_device *rdev) in rv6xx_program_engine_speed_parameters()
937 static u64 rv6xx_get_master_voltage_mask(struct radeon_device *rdev) in rv6xx_get_master_voltage_mask()
959 static void rv6xx_program_voltage_gpio_pins(struct radeon_device *rdev) in rv6xx_program_voltage_gpio_pins()
965 static void rv6xx_enable_static_voltage_control(struct radeon_device *rdev, in rv6xx_enable_static_voltage_control()
980 static void rv6xx_enable_display_gap(struct radeon_device *rdev, bool enable) in rv6xx_enable_display_gap()
996 static void rv6xx_program_power_level_enter_state(struct radeon_device *rdev) in rv6xx_program_power_level_enter_state()
1018 static void rv6xx_calculate_ap(struct radeon_device *rdev, in rv6xx_calculate_ap()
1045 static void rv6xx_calculate_stepping_parameters(struct radeon_device *rdev, in rv6xx_calculate_stepping_parameters()
1056 static void rv6xx_program_stepping_parameters_except_lowest_entry(struct radeon_device *rdev) in rv6xx_program_stepping_parameters_except_lowest_entry()
1069 static void rv6xx_program_stepping_parameters_lowest_entry(struct radeon_device *rdev) in rv6xx_program_stepping_parameters_lowest_entry()
1080 static void rv6xx_program_power_level_low(struct radeon_device *rdev) in rv6xx_program_power_level_low()
1096 static void rv6xx_program_power_level_low_to_lowest_state(struct radeon_device *rdev) in rv6xx_program_power_level_low_to_lowest_state()
1112 static void rv6xx_program_power_level_medium(struct radeon_device *rdev) in rv6xx_program_power_level_medium()
1128 static void rv6xx_program_power_level_medium_for_transition(struct radeon_device *rdev) in rv6xx_program_power_level_medium_for_transition()
1152 static void rv6xx_program_power_level_high(struct radeon_device *rdev) in rv6xx_program_power_level_high()
1170 static void rv6xx_enable_backbias(struct radeon_device *rdev, bool enable) in rv6xx_enable_backbias()
1180 static void rv6xx_program_display_gap(struct radeon_device *rdev) in rv6xx_program_display_gap()
1198 static void rv6xx_set_sw_voltage_to_safe(struct radeon_device *rdev, in rv6xx_set_sw_voltage_to_safe()
1216 static void rv6xx_set_sw_voltage_to_low(struct radeon_device *rdev, in rv6xx_set_sw_voltage_to_low()
1228 static void rv6xx_set_safe_backbias(struct radeon_device *rdev, in rv6xx_set_safe_backbias()
1242 static void rv6xx_set_safe_pcie_gen2(struct radeon_device *rdev, in rv6xx_set_safe_pcie_gen2()
1254 static void rv6xx_enable_dynamic_voltage_control(struct radeon_device *rdev, in rv6xx_enable_dynamic_voltage_control()
1263 static void rv6xx_enable_dynamic_backbias_control(struct radeon_device *rdev, in rv6xx_enable_dynamic_backbias_control()
1272 static int rv6xx_step_sw_voltage(struct radeon_device *rdev, in rv6xx_step_sw_voltage()
1304 static int rv6xx_step_voltage_if_increasing(struct radeon_device *rdev, in rv6xx_step_voltage_if_increasing()
1319 static int rv6xx_step_voltage_if_decreasing(struct radeon_device *rdev, in rv6xx_step_voltage_if_decreasing()
1334 static void rv6xx_enable_high(struct radeon_device *rdev) in rv6xx_enable_high()
1343 static void rv6xx_enable_medium(struct radeon_device *rdev) in rv6xx_enable_medium()
1351 static void rv6xx_set_dpm_event_sources(struct radeon_device *rdev, u32 sources) in rv6xx_set_dpm_event_sources()
1388 static void rv6xx_enable_auto_throttle_source(struct radeon_device *rdev, in rv6xx_enable_auto_throttle_source()
1408 static void rv6xx_enable_thermal_protection(struct radeon_device *rdev, in rv6xx_enable_thermal_protection()
1417 static void rv6xx_generate_transition_stepping(struct radeon_device *rdev, in rv6xx_generate_transition_stepping()
1431 static void rv6xx_generate_low_step(struct radeon_device *rdev, in rv6xx_generate_low_step()
1443 static void rv6xx_invalidate_intermediate_steps(struct radeon_device *rdev) in rv6xx_invalidate_intermediate_steps()
1451 static void rv6xx_generate_stepping_table(struct radeon_device *rdev, in rv6xx_generate_stepping_table()
1471 static void rv6xx_enable_spread_spectrum(struct radeon_device *rdev, in rv6xx_enable_spread_spectrum()
1485 static void rv6xx_reset_lvtm_data_sync(struct radeon_device *rdev) in rv6xx_reset_lvtm_data_sync()
1493 static void rv6xx_enable_dynamic_pcie_gen2(struct radeon_device *rdev, in rv6xx_enable_dynamic_pcie_gen2()
1511 static void rv6xx_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev, in rv6xx_set_uvd_clock_before_set_eng_clock()
1528 static void rv6xx_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev, in rv6xx_set_uvd_clock_after_set_eng_clock()
1545 int rv6xx_dpm_enable(struct radeon_device *rdev) in rv6xx_dpm_enable()
1612 void rv6xx_dpm_disable(struct radeon_device *rdev) in rv6xx_dpm_disable()
1656 int rv6xx_dpm_set_power_state(struct radeon_device *rdev) in rv6xx_dpm_set_power_state()
1754 void rv6xx_setup_asic(struct radeon_device *rdev) in rv6xx_setup_asic()
1768 void rv6xx_dpm_display_configuration_changed(struct radeon_device *rdev) in rv6xx_dpm_display_configuration_changed()
1794 static void rv6xx_parse_pplib_non_clock_info(struct radeon_device *rdev, in rv6xx_parse_pplib_non_clock_info()
1816 static void rv6xx_parse_pplib_clock_info(struct radeon_device *rdev, in rv6xx_parse_pplib_clock_info()
1872 static int rv6xx_parse_power_table(struct radeon_device *rdev) in rv6xx_parse_power_table()
1932 int rv6xx_dpm_init(struct radeon_device *rdev) in rv6xx_dpm_init()
2007 void rv6xx_dpm_print_power_state(struct radeon_device *rdev, in rv6xx_dpm_print_power_state()
2028 void rv6xx_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, in rv6xx_dpm_debugfs_print_current_performance_level()
2054 u32 rv6xx_dpm_get_current_sclk(struct radeon_device *rdev) in rv6xx_dpm_get_current_sclk()
2077 u32 rv6xx_dpm_get_current_mclk(struct radeon_device *rdev) in rv6xx_dpm_get_current_mclk()
2099 void rv6xx_dpm_fini(struct radeon_device *rdev) in rv6xx_dpm_fini()
2110 u32 rv6xx_dpm_get_sclk(struct radeon_device *rdev, bool low) in rv6xx_dpm_get_sclk()
2120 u32 rv6xx_dpm_get_mclk(struct radeon_device *rdev, bool low) in rv6xx_dpm_get_mclk()
2130 int rv6xx_dpm_force_performance_level(struct radeon_device *rdev, in rv6xx_dpm_force_performance_level()