Lines Matching defs:handle
67 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()
159 static u32 smu_get_mclk(void *handle, bool low) in smu_get_mclk()
173 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()
442 static int smu_get_power_num_states(void *handle, in smu_get_power_num_states()
478 static int smu_sys_get_pp_table(void *handle, in smu_sys_get_pp_table()
505 static int smu_sys_set_pp_table(void *handle, in smu_sys_set_pp_table()
620 static int smu_early_init(void *handle) in smu_early_init()
680 static int smu_late_init(void *handle) in smu_late_init()
1015 static int smu_sw_init(void *handle) in smu_sw_init()
1090 static int smu_sw_fini(void *handle) in smu_sw_fini()
1315 static int smu_hw_init(void *handle) in smu_hw_init()
1469 static int smu_hw_fini(void *handle) in smu_hw_fini()
1519 static int smu_suspend(void *handle) in smu_suspend()
1544 static int smu_resume(void *handle) in smu_resume()
1581 static int smu_display_configuration_change(void *handle, in smu_display_configuration_change()
1609 static int smu_set_clockgating_state(void *handle, in smu_set_clockgating_state()
1615 static int smu_set_powergating_state(void *handle, in smu_set_powergating_state()
1621 static int smu_enable_umd_pstate(void *handle, in smu_enable_umd_pstate()
1775 static int smu_handle_dpm_task(void *handle, in smu_handle_dpm_task()
1786 static int smu_switch_power_profile(void *handle, in smu_switch_power_profile()
1824 static enum amd_dpm_forced_level smu_get_performance_level(void *handle) in smu_get_performance_level()
1843 static int smu_force_performance_level(void *handle, in smu_force_performance_level()
1879 static int smu_set_display_count(void *handle, uint32_t count) in smu_set_display_count()
1924 static int smu_force_ppclk_levels(void *handle, in smu_force_ppclk_levels()
1970 static int smu_set_mp1_state(void *handle, in smu_set_mp1_state()
1990 static int smu_set_df_cstate(void *handle, in smu_set_df_cstate()
2050 static int smu_set_watermarks_for_clock_ranges(void *handle, in smu_set_watermarks_for_clock_ranges()
2140 static int smu_load_microcode(void *handle) in smu_load_microcode()
2186 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed) in smu_set_fan_speed_rpm()
2223 int smu_get_power_limit(void *handle, in smu_get_power_limit()
2299 static int smu_set_power_limit(void *handle, uint32_t limit) in smu_set_power_limit()
2356 static int smu_print_ppclk_levels(void *handle, in smu_print_ppclk_levels()
2399 static int smu_od_edit_dpm_table(void *handle, in smu_od_edit_dpm_table()
2420 static int smu_read_sensor(void *handle, in smu_read_sensor()
2490 static int smu_get_power_profile_mode(void *handle, char *buf) in smu_get_power_profile_mode()
2508 static int smu_set_power_profile_mode(void *handle, in smu_set_power_profile_mode()
2528 static u32 smu_get_fan_control_mode(void *handle) in smu_get_fan_control_mode()
2574 static void smu_pp_set_fan_control_mode(void *handle, u32 value) in smu_pp_set_fan_control_mode()
2582 static int smu_get_fan_speed_pwm(void *handle, u32 *speed) in smu_get_fan_speed_pwm()
2600 static int smu_set_fan_speed_pwm(void *handle, u32 speed) in smu_set_fan_speed_pwm()
2627 static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed) in smu_get_fan_speed_rpm()
2645 static int smu_set_deep_sleep_dcefclk(void *handle, uint32_t clk) in smu_set_deep_sleep_dcefclk()
2662 static int smu_get_clock_by_type_with_latency(void *handle, in smu_get_clock_by_type_with_latency()
2703 static int smu_display_clock_voltage_request(void *handle, in smu_display_clock_voltage_request()
2723 static int smu_display_disable_memory_clock_switch(void *handle, in smu_display_disable_memory_clock_switch()
2742 static int smu_set_xgmi_pstate(void *handle, in smu_set_xgmi_pstate()
2764 static int smu_get_baco_capability(void *handle, bool *cap) in smu_get_baco_capability()
2784 static int smu_baco_set_state(void *handle, int state) in smu_baco_set_state()
2869 static int smu_mode2_reset(void *handle) in smu_mode2_reset()
2890 static int smu_get_max_sustainable_clocks_by_dc(void *handle, in smu_get_max_sustainable_clocks_by_dc()
2909 static int smu_get_uclk_dpm_states(void *handle, in smu_get_uclk_dpm_states()
2929 static enum amd_pm_state_type smu_get_current_power_state(void *handle) in smu_get_current_power_state()
2947 static int smu_get_dpm_clock_table(void *handle, in smu_get_dpm_clock_table()
2966 static ssize_t smu_sys_get_gpu_metrics(void *handle, void **table) in smu_sys_get_gpu_metrics()
2986 static int smu_enable_mgpu_fan_boost(void *handle) in smu_enable_mgpu_fan_boost()
3004 static int smu_gfx_state_change_set(void *handle, in smu_gfx_state_change_set()
3030 static int smu_get_prv_buffer_details(void *handle, void **addr, size_t *size) in smu_get_prv_buffer_details()