Lines Matching defs:handle
35 static inline int pp_check(struct pp_instance *handle) in pp_check()
53 static int pp_early_init(void *handle) in pp_early_init()
83 static int pp_sw_init(void *handle) in pp_sw_init()
104 static int pp_sw_fini(void *handle) in pp_sw_fini()
122 static int pp_hw_init(void *handle) in pp_hw_init()
165 static int pp_hw_fini(void *handle) in pp_hw_fini()
184 static bool pp_is_idle(void *handle) in pp_is_idle()
189 static int pp_wait_for_idle(void *handle) in pp_wait_for_idle()
194 static int pp_sw_reset(void *handle) in pp_sw_reset()
200 int amd_set_clockgating_by_smu(void *handle, uint32_t msg_id) in amd_set_clockgating_by_smu()
221 static int pp_set_powergating_state(void *handle, in pp_set_powergating_state()
245 static int pp_suspend(void *handle) in pp_suspend()
265 static int pp_resume(void *handle) in pp_resume()
317 static int pp_dpm_load_fw(void *handle) in pp_dpm_load_fw()
322 static int pp_dpm_fw_loading_complete(void *handle) in pp_dpm_fw_loading_complete()
327 static int pp_dpm_force_performance_level(void *handle, in pp_dpm_force_performance_level()
353 void *handle) in pp_dpm_get_performance_level()
372 static int pp_dpm_get_sclk(void *handle, bool low) in pp_dpm_get_sclk()
395 static int pp_dpm_get_mclk(void *handle, bool low) in pp_dpm_get_mclk()
418 static int pp_dpm_powergate_vce(void *handle, bool gate) in pp_dpm_powergate_vce()
441 static int pp_dpm_powergate_uvd(void *handle, bool gate) in pp_dpm_powergate_uvd()
478 static int pp_dpm_dispatch_tasks(void *handle, enum amd_pp_event event_id, in pp_dpm_dispatch_tasks()
521 static enum amd_pm_state_type pp_dpm_get_current_power_state(void *handle) in pp_dpm_get_current_power_state()
565 static int pp_dpm_set_fan_control_mode(void *handle, uint32_t mode) in pp_dpm_set_fan_control_mode()
588 static int pp_dpm_get_fan_control_mode(void *handle) in pp_dpm_get_fan_control_mode()
611 static int pp_dpm_set_fan_speed_percent(void *handle, uint32_t percent) in pp_dpm_set_fan_speed_percent()
634 static int pp_dpm_get_fan_speed_percent(void *handle, uint32_t *speed) in pp_dpm_get_fan_speed_percent()
658 static int pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm) in pp_dpm_get_fan_speed_rpm()
680 static int pp_dpm_get_temperature(void *handle) in pp_dpm_get_temperature()
703 static int pp_dpm_get_pp_num_states(void *handle, in pp_dpm_get_pp_num_states()
749 static int pp_dpm_get_pp_table(void *handle, char **table) in pp_dpm_get_pp_table()
773 static int pp_dpm_set_pp_table(void *handle, const char *buf, size_t size) in pp_dpm_set_pp_table()
814 static int pp_dpm_force_clock_level(void *handle, in pp_dpm_force_clock_level()
838 static int pp_dpm_print_clock_levels(void *handle, in pp_dpm_print_clock_levels()
862 static int pp_dpm_get_sclk_od(void *handle) in pp_dpm_get_sclk_od()
885 static int pp_dpm_set_sclk_od(void *handle, uint32_t value) in pp_dpm_set_sclk_od()
909 static int pp_dpm_get_mclk_od(void *handle) in pp_dpm_get_mclk_od()
932 static int pp_dpm_set_mclk_od(void *handle, uint32_t value) in pp_dpm_set_mclk_od()
955 static int pp_dpm_read_sensor(void *handle, int idx, in pp_dpm_read_sensor()
982 pp_dpm_get_vce_clock_state(void *handle, unsigned idx) in pp_dpm_get_vce_clock_state()
1000 static int pp_dpm_reset_power_profile_state(void *handle, in pp_dpm_reset_power_profile_state()
1029 static int pp_dpm_get_power_profile_state(void *handle, in pp_dpm_get_power_profile_state()
1052 static int pp_dpm_set_power_profile_state(void *handle, in pp_dpm_set_power_profile_state()
1111 static int pp_dpm_switch_power_profile(void *handle, in pp_dpm_switch_power_profile()
1166 void **handle) in amd_powerplay_create()
1188 int amd_powerplay_destroy(void *handle) in amd_powerplay_destroy()
1206 int amd_powerplay_reset(void *handle) in amd_powerplay_reset()
1242 int amd_powerplay_display_configuration_change(void *handle, in amd_powerplay_display_configuration_change()
1261 int amd_powerplay_get_display_power_level(void *handle, in amd_powerplay_get_display_power_level()
1284 int amd_powerplay_get_current_clocks(void *handle, in amd_powerplay_get_current_clocks()
1338 int amd_powerplay_get_clock_by_type(void *handle, enum amd_pp_clock_type type, struct amd_pp_clocks… in amd_powerplay_get_clock_by_type()
1360 int amd_powerplay_get_clock_by_type_with_latency(void *handle, in amd_powerplay_get_clock_by_type_with_latency()
1382 int amd_powerplay_get_clock_by_type_with_voltage(void *handle, in amd_powerplay_get_clock_by_type_with_voltage()
1407 int amd_powerplay_set_watermarks_for_clocks_ranges(void *handle, in amd_powerplay_set_watermarks_for_clocks_ranges()
1431 int amd_powerplay_display_clock_voltage_request(void *handle, in amd_powerplay_display_clock_voltage_request()
1454 int amd_powerplay_get_display_mode_validation_clocks(void *handle, in amd_powerplay_get_display_mode_validation_clocks()