Lines Matching defs:handle

73 static int smu_sys_get_pp_feature_mask(void *handle,  in smu_sys_get_pp_feature_mask()
84 static int smu_sys_set_pp_feature_mask(void *handle, in smu_sys_set_pp_feature_mask()
177 static u32 smu_get_mclk(void *handle, bool low) in smu_get_mclk()
191 static u32 smu_get_sclk(void *handle, bool low) in smu_get_sclk()
272 static int smu_dpm_set_power_gate(void *handle, in smu_dpm_set_power_gate()
445 static int smu_get_power_num_states(void *handle, in smu_get_power_num_states()
482 static int smu_sys_get_pp_table(void *handle, in smu_sys_get_pp_table()
502 static int smu_sys_set_pp_table(void *handle, in smu_sys_set_pp_table()
647 static int smu_early_init(void *handle) in smu_early_init()
720 static int smu_late_init(void *handle) in smu_late_init()
1110 static int smu_sw_init(void *handle) in smu_sw_init()
1187 static int smu_sw_fini(void *handle) in smu_sw_fini()
1457 static int smu_hw_init(void *handle) in smu_hw_init()
1646 static int smu_hw_fini(void *handle) in smu_hw_fini()
1668 static void smu_late_fini(void *handle) in smu_late_fini()
1696 static int smu_suspend(void *handle) in smu_suspend()
1730 static int smu_resume(void *handle) in smu_resume()
1771 static int smu_display_configuration_change(void *handle, in smu_display_configuration_change()
1788 static int smu_set_clockgating_state(void *handle, in smu_set_clockgating_state()
1794 static int smu_set_powergating_state(void *handle, in smu_set_powergating_state()
1800 static int smu_enable_umd_pstate(void *handle, in smu_enable_umd_pstate()
1932 static int smu_handle_dpm_task(void *handle, in smu_handle_dpm_task()
1943 static int smu_switch_power_profile(void *handle, in smu_switch_power_profile()
1977 static enum amd_dpm_forced_level smu_get_performance_level(void *handle) in smu_get_performance_level()
1991 static int smu_force_performance_level(void *handle, in smu_force_performance_level()
2020 static int smu_set_display_count(void *handle, uint32_t count) in smu_set_display_count()
2056 static int smu_force_ppclk_levels(void *handle, in smu_force_ppclk_levels()
2106 static int smu_set_mp1_state(void *handle, in smu_set_mp1_state()
2122 static int smu_set_df_cstate(void *handle, in smu_set_df_cstate()
2166 static int smu_set_watermarks_for_clock_ranges(void *handle, in smu_set_watermarks_for_clock_ranges()
2244 static int smu_load_microcode(void *handle) in smu_load_microcode()
2286 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed) in smu_set_fan_speed_rpm()
2323 int smu_get_power_limit(void *handle, in smu_get_power_limit()
2401 static int smu_set_power_limit(void *handle, uint32_t limit) in smu_set_power_limit()
2491 static int smu_print_ppclk_levels(void *handle, in smu_print_ppclk_levels()
2505 static int smu_emit_ppclk_levels(void *handle, enum pp_clock_type type, char *buf, int *offset) in smu_emit_ppclk_levels()
2524 static int smu_od_edit_dpm_table(void *handle, in smu_od_edit_dpm_table()
2541 static int smu_read_sensor(void *handle, in smu_read_sensor()
2615 static int smu_get_apu_thermal_limit(void *handle, uint32_t *limit) in smu_get_apu_thermal_limit()
2626 static int smu_set_apu_thermal_limit(void *handle, uint32_t limit) in smu_set_apu_thermal_limit()
2637 static int smu_get_power_profile_mode(void *handle, char *buf) in smu_get_power_profile_mode()
2650 static int smu_set_power_profile_mode(void *handle, in smu_set_power_profile_mode()
2663 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode()
2681 static int smu_set_fan_control_mode(void *handle, u32 value) in smu_set_fan_control_mode()
2714 static int smu_get_fan_speed_pwm(void *handle, u32 *speed) in smu_get_fan_speed_pwm()
2733 static int smu_set_fan_speed_pwm(void *handle, u32 speed) in smu_set_fan_speed_pwm()
2760 static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed) in smu_get_fan_speed_rpm()
2779 static int smu_set_deep_sleep_dcefclk(void *handle, uint32_t clk) in smu_set_deep_sleep_dcefclk()
2789 static int smu_get_clock_by_type_with_latency(void *handle, in smu_get_clock_by_type_with_latency()
2825 static int smu_display_clock_voltage_request(void *handle, in smu_display_clock_voltage_request()
2841 static int smu_display_disable_memory_clock_switch(void *handle, in smu_display_disable_memory_clock_switch()
2856 static int smu_set_xgmi_pstate(void *handle, in smu_set_xgmi_pstate()
2874 static int smu_get_baco_capability(void *handle, bool *cap) in smu_get_baco_capability()
2889 static int smu_baco_set_state(void *handle, int state) in smu_baco_set_state()
2953 static int smu_mode2_reset(void *handle) in smu_mode2_reset()
2970 static int smu_enable_gfx_features(void *handle) in smu_enable_gfx_features()
2987 static int smu_get_max_sustainable_clocks_by_dc(void *handle, in smu_get_max_sustainable_clocks_by_dc()
3002 static int smu_get_uclk_dpm_states(void *handle, in smu_get_uclk_dpm_states()
3018 static enum amd_pm_state_type smu_get_current_power_state(void *handle) in smu_get_current_power_state()
3032 static int smu_get_dpm_clock_table(void *handle, in smu_get_dpm_clock_table()
3047 static ssize_t smu_sys_get_gpu_metrics(void *handle, void **table) in smu_sys_get_gpu_metrics()
3060 static int smu_enable_mgpu_fan_boost(void *handle) in smu_enable_mgpu_fan_boost()
3074 static int smu_gfx_state_change_set(void *handle, in smu_gfx_state_change_set()
3108 static int smu_get_prv_buffer_details(void *handle, void **addr, size_t *size) in smu_get_prv_buffer_details()