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()
1928 static int smu_handle_dpm_task(void *handle, in smu_handle_dpm_task()
1939 static int smu_switch_power_profile(void *handle, in smu_switch_power_profile()
1973 static enum amd_dpm_forced_level smu_get_performance_level(void *handle) in smu_get_performance_level()
1987 static int smu_force_performance_level(void *handle, in smu_force_performance_level()
2016 static int smu_set_display_count(void *handle, uint32_t count) in smu_set_display_count()
2052 static int smu_force_ppclk_levels(void *handle, in smu_force_ppclk_levels()
2102 static int smu_set_mp1_state(void *handle, in smu_set_mp1_state()
2118 static int smu_set_df_cstate(void *handle, in smu_set_df_cstate()
2162 static int smu_set_watermarks_for_clock_ranges(void *handle, in smu_set_watermarks_for_clock_ranges()
2240 static int smu_load_microcode(void *handle) in smu_load_microcode()
2282 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed) in smu_set_fan_speed_rpm()
2319 int smu_get_power_limit(void *handle, in smu_get_power_limit()
2397 static int smu_set_power_limit(void *handle, uint32_t limit) in smu_set_power_limit()
2487 static int smu_print_ppclk_levels(void *handle, in smu_print_ppclk_levels()
2501 static int smu_emit_ppclk_levels(void *handle, enum pp_clock_type type, char *buf, int *offset) in smu_emit_ppclk_levels()
2520 static int smu_od_edit_dpm_table(void *handle, in smu_od_edit_dpm_table()
2537 static int smu_read_sensor(void *handle, in smu_read_sensor()
2611 static int smu_get_apu_thermal_limit(void *handle, uint32_t *limit) in smu_get_apu_thermal_limit()
2622 static int smu_set_apu_thermal_limit(void *handle, uint32_t limit) in smu_set_apu_thermal_limit()
2633 static int smu_get_power_profile_mode(void *handle, char *buf) in smu_get_power_profile_mode()
2646 static int smu_set_power_profile_mode(void *handle, in smu_set_power_profile_mode()
2659 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode()
2677 static int smu_set_fan_control_mode(void *handle, u32 value) in smu_set_fan_control_mode()
2710 static int smu_get_fan_speed_pwm(void *handle, u32 *speed) in smu_get_fan_speed_pwm()
2729 static int smu_set_fan_speed_pwm(void *handle, u32 speed) in smu_set_fan_speed_pwm()
2756 static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed) in smu_get_fan_speed_rpm()
2775 static int smu_set_deep_sleep_dcefclk(void *handle, uint32_t clk) in smu_set_deep_sleep_dcefclk()
2785 static int smu_get_clock_by_type_with_latency(void *handle, in smu_get_clock_by_type_with_latency()
2821 static int smu_display_clock_voltage_request(void *handle, in smu_display_clock_voltage_request()
2837 static int smu_display_disable_memory_clock_switch(void *handle, in smu_display_disable_memory_clock_switch()
2852 static int smu_set_xgmi_pstate(void *handle, in smu_set_xgmi_pstate()
2870 static int smu_get_baco_capability(void *handle, bool *cap) in smu_get_baco_capability()
2885 static int smu_baco_set_state(void *handle, int state) in smu_baco_set_state()
2949 static int smu_mode2_reset(void *handle) in smu_mode2_reset()
2966 static int smu_enable_gfx_features(void *handle) in smu_enable_gfx_features()
2983 static int smu_get_max_sustainable_clocks_by_dc(void *handle, in smu_get_max_sustainable_clocks_by_dc()
2998 static int smu_get_uclk_dpm_states(void *handle, in smu_get_uclk_dpm_states()
3014 static enum amd_pm_state_type smu_get_current_power_state(void *handle) in smu_get_current_power_state()
3028 static int smu_get_dpm_clock_table(void *handle, in smu_get_dpm_clock_table()
3043 static ssize_t smu_sys_get_gpu_metrics(void *handle, void **table) in smu_sys_get_gpu_metrics()
3056 static int smu_enable_mgpu_fan_boost(void *handle) in smu_enable_mgpu_fan_boost()
3070 static int smu_gfx_state_change_set(void *handle, in smu_gfx_state_change_set()
3104 static int smu_get_prv_buffer_details(void *handle, void **addr, size_t *size) in smu_get_prv_buffer_details()