Lines Matching defs:handle
71 static int smu_sys_get_pp_feature_mask(void *handle, in smu_sys_get_pp_feature_mask()
82 static int smu_sys_set_pp_feature_mask(void *handle, in smu_sys_set_pp_feature_mask()
170 static u32 smu_get_mclk(void *handle, bool low) in smu_get_mclk()
184 static u32 smu_get_sclk(void *handle, bool low) in smu_get_sclk()
252 static int smu_dpm_set_power_gate(void *handle, in smu_dpm_set_power_gate()
425 static int smu_get_power_num_states(void *handle, in smu_get_power_num_states()
462 static int smu_sys_get_pp_table(void *handle, in smu_sys_get_pp_table()
482 static int smu_sys_set_pp_table(void *handle, in smu_sys_set_pp_table()
621 static int smu_early_init(void *handle) in smu_early_init()
690 static int smu_late_init(void *handle) in smu_late_init()
1027 static int smu_sw_init(void *handle) in smu_sw_init()
1107 static int smu_sw_fini(void *handle) in smu_sw_fini()
1370 static int smu_hw_init(void *handle) in smu_hw_init()
1548 static int smu_hw_fini(void *handle) in smu_hw_fini()
1570 static void smu_late_fini(void *handle) in smu_late_fini()
1598 static int smu_suspend(void *handle) in smu_suspend()
1632 static int smu_resume(void *handle) in smu_resume()
1669 static int smu_display_configuration_change(void *handle, in smu_display_configuration_change()
1693 static int smu_set_clockgating_state(void *handle, in smu_set_clockgating_state()
1699 static int smu_set_powergating_state(void *handle, in smu_set_powergating_state()
1705 static int smu_enable_umd_pstate(void *handle, in smu_enable_umd_pstate()
1837 static int smu_handle_dpm_task(void *handle, in smu_handle_dpm_task()
1848 static int smu_switch_power_profile(void *handle, in smu_switch_power_profile()
1882 static enum amd_dpm_forced_level smu_get_performance_level(void *handle) in smu_get_performance_level()
1896 static int smu_force_performance_level(void *handle, in smu_force_performance_level()
1925 static int smu_set_display_count(void *handle, uint32_t count) in smu_set_display_count()
1961 static int smu_force_ppclk_levels(void *handle, in smu_force_ppclk_levels()
2007 static int smu_set_mp1_state(void *handle, in smu_set_mp1_state()
2023 static int smu_set_df_cstate(void *handle, in smu_set_df_cstate()
2067 static int smu_set_watermarks_for_clock_ranges(void *handle, in smu_set_watermarks_for_clock_ranges()
2148 static int smu_load_microcode(void *handle) in smu_load_microcode()
2190 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed) in smu_set_fan_speed_rpm()
2227 int smu_get_power_limit(void *handle, in smu_get_power_limit()
2305 static int smu_set_power_limit(void *handle, uint32_t limit) in smu_set_power_limit()
2391 static int smu_print_ppclk_levels(void *handle, in smu_print_ppclk_levels()
2405 static int smu_emit_ppclk_levels(void *handle, enum pp_clock_type type, char *buf, int *offset) in smu_emit_ppclk_levels()
2424 static int smu_od_edit_dpm_table(void *handle, in smu_od_edit_dpm_table()
2441 static int smu_read_sensor(void *handle, in smu_read_sensor()
2507 static int smu_get_power_profile_mode(void *handle, char *buf) in smu_get_power_profile_mode()
2520 static int smu_set_power_profile_mode(void *handle, in smu_set_power_profile_mode()
2533 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode()
2551 static int smu_set_fan_control_mode(void *handle, u32 value) in smu_set_fan_control_mode()
2584 static int smu_get_fan_speed_pwm(void *handle, u32 *speed) in smu_get_fan_speed_pwm()
2603 static int smu_set_fan_speed_pwm(void *handle, u32 speed) in smu_set_fan_speed_pwm()
2630 static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed) in smu_get_fan_speed_rpm()
2649 static int smu_set_deep_sleep_dcefclk(void *handle, uint32_t clk) in smu_set_deep_sleep_dcefclk()
2659 static int smu_get_clock_by_type_with_latency(void *handle, in smu_get_clock_by_type_with_latency()
2695 static int smu_display_clock_voltage_request(void *handle, in smu_display_clock_voltage_request()
2711 static int smu_display_disable_memory_clock_switch(void *handle, in smu_display_disable_memory_clock_switch()
2726 static int smu_set_xgmi_pstate(void *handle, in smu_set_xgmi_pstate()
2744 static int smu_get_baco_capability(void *handle, bool *cap) in smu_get_baco_capability()
2759 static int smu_baco_set_state(void *handle, int state) in smu_baco_set_state()
2823 static int smu_mode2_reset(void *handle) in smu_mode2_reset()
2840 static int smu_get_max_sustainable_clocks_by_dc(void *handle, in smu_get_max_sustainable_clocks_by_dc()
2855 static int smu_get_uclk_dpm_states(void *handle, in smu_get_uclk_dpm_states()
2871 static enum amd_pm_state_type smu_get_current_power_state(void *handle) in smu_get_current_power_state()
2885 static int smu_get_dpm_clock_table(void *handle, in smu_get_dpm_clock_table()
2900 static ssize_t smu_sys_get_gpu_metrics(void *handle, void **table) in smu_sys_get_gpu_metrics()
2913 static int smu_enable_mgpu_fan_boost(void *handle) in smu_enable_mgpu_fan_boost()
2927 static int smu_gfx_state_change_set(void *handle, in smu_gfx_state_change_set()
2961 static int smu_get_prv_buffer_details(void *handle, void **addr, size_t *size) in smu_get_prv_buffer_details()