Lines Matching defs:handle

74 static int smu_sys_get_pp_feature_mask(void *handle,  in smu_sys_get_pp_feature_mask()
85 static int smu_sys_set_pp_feature_mask(void *handle, in smu_sys_set_pp_feature_mask()
178 static u32 smu_get_mclk(void *handle, bool low) in smu_get_mclk()
192 static u32 smu_get_sclk(void *handle, bool low) in smu_get_sclk()
273 static int smu_dpm_set_power_gate(void *handle, in smu_dpm_set_power_gate()
446 static int smu_get_power_num_states(void *handle, in smu_get_power_num_states()
483 static int smu_sys_get_pp_table(void *handle, in smu_sys_get_pp_table()
503 static int smu_sys_set_pp_table(void *handle, in smu_sys_set_pp_table()
648 static int smu_early_init(void *handle) in smu_early_init()
721 static int smu_late_init(void *handle) in smu_late_init()
1103 static int smu_sw_init(void *handle) in smu_sw_init()
1180 static int smu_sw_fini(void *handle) in smu_sw_fini()
1450 static int smu_hw_init(void *handle) in smu_hw_init()
1639 static int smu_hw_fini(void *handle) in smu_hw_fini()
1661 static void smu_late_fini(void *handle) in smu_late_fini()
1689 static int smu_suspend(void *handle) in smu_suspend()
1723 static int smu_resume(void *handle) in smu_resume()
1764 static int smu_display_configuration_change(void *handle, in smu_display_configuration_change()
1781 static int smu_set_clockgating_state(void *handle, in smu_set_clockgating_state()
1787 static int smu_set_powergating_state(void *handle, in smu_set_powergating_state()
1793 static int smu_enable_umd_pstate(void *handle, in smu_enable_umd_pstate()
1925 static int smu_handle_dpm_task(void *handle, in smu_handle_dpm_task()
1936 static int smu_switch_power_profile(void *handle, in smu_switch_power_profile()
1970 static enum amd_dpm_forced_level smu_get_performance_level(void *handle) in smu_get_performance_level()
1984 static int smu_force_performance_level(void *handle, in smu_force_performance_level()
2013 static int smu_set_display_count(void *handle, uint32_t count) in smu_set_display_count()
2049 static int smu_force_ppclk_levels(void *handle, in smu_force_ppclk_levels()
2099 static int smu_set_mp1_state(void *handle, in smu_set_mp1_state()
2115 static int smu_set_df_cstate(void *handle, in smu_set_df_cstate()
2159 static int smu_set_watermarks_for_clock_ranges(void *handle, in smu_set_watermarks_for_clock_ranges()
2237 static int smu_load_microcode(void *handle) in smu_load_microcode()
2279 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed) in smu_set_fan_speed_rpm()
2316 int smu_get_power_limit(void *handle, in smu_get_power_limit()
2394 static int smu_set_power_limit(void *handle, uint32_t limit) in smu_set_power_limit()
2484 static int smu_print_ppclk_levels(void *handle, in smu_print_ppclk_levels()
2498 static int smu_emit_ppclk_levels(void *handle, enum pp_clock_type type, char *buf, int *offset) in smu_emit_ppclk_levels()
2517 static int smu_od_edit_dpm_table(void *handle, in smu_od_edit_dpm_table()
2534 static int smu_read_sensor(void *handle, in smu_read_sensor()
2608 static int smu_get_apu_thermal_limit(void *handle, uint32_t *limit) in smu_get_apu_thermal_limit()
2619 static int smu_set_apu_thermal_limit(void *handle, uint32_t limit) in smu_set_apu_thermal_limit()
2630 static int smu_get_power_profile_mode(void *handle, char *buf) in smu_get_power_profile_mode()
2643 static int smu_set_power_profile_mode(void *handle, in smu_set_power_profile_mode()
2656 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode()
2674 static int smu_set_fan_control_mode(void *handle, u32 value) in smu_set_fan_control_mode()
2707 static int smu_get_fan_speed_pwm(void *handle, u32 *speed) in smu_get_fan_speed_pwm()
2726 static int smu_set_fan_speed_pwm(void *handle, u32 speed) in smu_set_fan_speed_pwm()
2753 static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed) in smu_get_fan_speed_rpm()
2772 static int smu_set_deep_sleep_dcefclk(void *handle, uint32_t clk) in smu_set_deep_sleep_dcefclk()
2782 static int smu_get_clock_by_type_with_latency(void *handle, in smu_get_clock_by_type_with_latency()
2818 static int smu_display_clock_voltage_request(void *handle, in smu_display_clock_voltage_request()
2834 static int smu_display_disable_memory_clock_switch(void *handle, in smu_display_disable_memory_clock_switch()
2849 static int smu_set_xgmi_pstate(void *handle, in smu_set_xgmi_pstate()
2867 static int smu_get_baco_capability(void *handle, bool *cap) in smu_get_baco_capability()
2882 static int smu_baco_set_state(void *handle, int state) in smu_baco_set_state()
2946 static int smu_mode2_reset(void *handle) in smu_mode2_reset()
2963 static int smu_enable_gfx_features(void *handle) in smu_enable_gfx_features()
2980 static int smu_get_max_sustainable_clocks_by_dc(void *handle, in smu_get_max_sustainable_clocks_by_dc()
2995 static int smu_get_uclk_dpm_states(void *handle, in smu_get_uclk_dpm_states()
3011 static enum amd_pm_state_type smu_get_current_power_state(void *handle) in smu_get_current_power_state()
3025 static int smu_get_dpm_clock_table(void *handle, in smu_get_dpm_clock_table()
3040 static ssize_t smu_sys_get_gpu_metrics(void *handle, void **table) in smu_sys_get_gpu_metrics()
3053 static int smu_enable_mgpu_fan_boost(void *handle) in smu_enable_mgpu_fan_boost()
3067 static int smu_gfx_state_change_set(void *handle, in smu_gfx_state_change_set()
3101 static int smu_get_prv_buffer_details(void *handle, void **addr, size_t *size) in smu_get_prv_buffer_details()