Lines Matching defs:handle
77 static int pp_early_init(void *handle) in pp_early_init()
94 static int pp_sw_init(void *handle) in pp_sw_init()
107 static int pp_sw_fini(void *handle) in pp_sw_fini()
120 static int pp_hw_init(void *handle) in pp_hw_init()
134 static int pp_hw_fini(void *handle) in pp_hw_fini()
175 static int pp_late_init(void *handle) in pp_late_init()
189 static void pp_late_fini(void *handle) in pp_late_fini()
199 static bool pp_is_idle(void *handle) in pp_is_idle()
204 static int pp_wait_for_idle(void *handle) in pp_wait_for_idle()
209 static int pp_sw_reset(void *handle) in pp_sw_reset()
214 static int pp_set_powergating_state(void *handle, in pp_set_powergating_state()
220 static int pp_suspend(void *handle) in pp_suspend()
228 static int pp_resume(void *handle) in pp_resume()
236 static int pp_set_clockgating_state(void *handle, in pp_set_clockgating_state()
274 static int pp_dpm_load_fw(void *handle) in pp_dpm_load_fw()
289 static int pp_dpm_fw_loading_complete(void *handle) in pp_dpm_fw_loading_complete()
294 static int pp_set_clockgating_by_smu(void *handle, uint32_t msg_id) in pp_set_clockgating_by_smu()
333 static int pp_dpm_force_performance_level(void *handle, in pp_dpm_force_performance_level()
352 void *handle) in pp_dpm_get_performance_level()
362 static uint32_t pp_dpm_get_sclk(void *handle, bool low) in pp_dpm_get_sclk()
376 static uint32_t pp_dpm_get_mclk(void *handle, bool low) in pp_dpm_get_mclk()
390 static void pp_dpm_powergate_vce(void *handle, bool gate) in pp_dpm_powergate_vce()
404 static void pp_dpm_powergate_uvd(void *handle, bool gate) in pp_dpm_powergate_uvd()
418 static int pp_dpm_dispatch_tasks(void *handle, enum amd_pp_task task_id, in pp_dpm_dispatch_tasks()
429 static enum amd_pm_state_type pp_dpm_get_current_power_state(void *handle) in pp_dpm_get_current_power_state()
461 static int pp_dpm_set_fan_control_mode(void *handle, uint32_t mode) in pp_dpm_set_fan_control_mode()
479 static int pp_dpm_get_fan_control_mode(void *handle, uint32_t *fan_mode) in pp_dpm_get_fan_control_mode()
496 static int pp_dpm_set_fan_speed_pwm(void *handle, uint32_t speed) in pp_dpm_set_fan_speed_pwm()
512 static int pp_dpm_get_fan_speed_pwm(void *handle, uint32_t *speed) in pp_dpm_get_fan_speed_pwm()
528 static int pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm) in pp_dpm_get_fan_speed_rpm()
544 static int pp_dpm_set_fan_speed_rpm(void *handle, uint32_t rpm) in pp_dpm_set_fan_speed_rpm()
560 static int pp_dpm_get_pp_num_states(void *handle, in pp_dpm_get_pp_num_states()
596 static int pp_dpm_get_pp_table(void *handle, char **table) in pp_dpm_get_pp_table()
607 static int amd_powerplay_reset(void *handle) in amd_powerplay_reset()
623 static int pp_dpm_set_pp_table(void *handle, const char *buf, size_t size) in pp_dpm_set_pp_table()
653 static int pp_dpm_force_clock_level(void *handle, in pp_dpm_force_clock_level()
674 static int pp_dpm_emit_clock_levels(void *handle, in pp_dpm_emit_clock_levels()
690 static int pp_dpm_print_clock_levels(void *handle, in pp_dpm_print_clock_levels()
705 static int pp_dpm_get_sclk_od(void *handle) in pp_dpm_get_sclk_od()
719 static int pp_dpm_set_sclk_od(void *handle, uint32_t value) in pp_dpm_set_sclk_od()
734 static int pp_dpm_get_mclk_od(void *handle) in pp_dpm_get_mclk_od()
748 static int pp_dpm_set_mclk_od(void *handle, uint32_t value) in pp_dpm_set_mclk_od()
762 static int pp_dpm_read_sensor(void *handle, int idx, in pp_dpm_read_sensor()
789 pp_dpm_get_vce_clock_state(void *handle, unsigned idx) in pp_dpm_get_vce_clock_state()
801 static int pp_get_power_profile_mode(void *handle, char *buf) in pp_get_power_profile_mode()
813 static int pp_set_power_profile_mode(void *handle, long *input, uint32_t size) in pp_set_power_profile_mode()
828 static int pp_set_fine_grain_clk_vol(void *handle, uint32_t type, long *input, uint32_t size) in pp_set_fine_grain_clk_vol()
841 static int pp_odn_edit_dpm_table(void *handle, uint32_t type, long *input, uint32_t size) in pp_odn_edit_dpm_table()
856 static int pp_dpm_set_mp1_state(void *handle, enum pp_mp1_state mp1_state) in pp_dpm_set_mp1_state()
872 static int pp_dpm_switch_power_profile(void *handle, in pp_dpm_switch_power_profile()
914 static int pp_set_power_limit(void *handle, uint32_t limit) in pp_set_power_limit()
944 static int pp_get_power_limit(void *handle, uint32_t *limit, in pp_get_power_limit()
979 static int pp_display_configuration_change(void *handle, in pp_display_configuration_change()
991 static int pp_get_display_power_level(void *handle, in pp_get_display_power_level()
1002 static int pp_get_current_clocks(void *handle, in pp_get_current_clocks()
1050 static int pp_get_clock_by_type(void *handle, enum amd_pp_clock_type type, struct amd_pp_clocks *cl… in pp_get_clock_by_type()
1063 static int pp_get_clock_by_type_with_latency(void *handle, in pp_get_clock_by_type_with_latency()
1075 static int pp_get_clock_by_type_with_voltage(void *handle, in pp_get_clock_by_type_with_voltage()
1087 static int pp_set_watermarks_for_clocks_ranges(void *handle, in pp_set_watermarks_for_clocks_ranges()
1099 static int pp_display_clock_voltage_request(void *handle, in pp_display_clock_voltage_request()
1110 static int pp_get_display_mode_validation_clocks(void *handle, in pp_get_display_mode_validation_clocks()
1127 static int pp_dpm_powergate_mmhub(void *handle) in pp_dpm_powergate_mmhub()
1142 static int pp_dpm_powergate_gfx(void *handle, bool gate) in pp_dpm_powergate_gfx()
1157 static void pp_dpm_powergate_acp(void *handle, bool gate) in pp_dpm_powergate_acp()
1172 static void pp_dpm_powergate_sdma(void *handle, bool gate) in pp_dpm_powergate_sdma()
1187 static int pp_set_powergating_by_smu(void *handle, in pp_set_powergating_by_smu()
1223 static int pp_notify_smu_enable_pwe(void *handle) in pp_notify_smu_enable_pwe()
1240 static int pp_enable_mgpu_fan_boost(void *handle) in pp_enable_mgpu_fan_boost()
1256 static int pp_set_min_deep_sleep_dcefclk(void *handle, uint32_t clock) in pp_set_min_deep_sleep_dcefclk()
1273 static int pp_set_hard_min_dcefclk_by_freq(void *handle, uint32_t clock) in pp_set_hard_min_dcefclk_by_freq()
1290 static int pp_set_hard_min_fclk_by_freq(void *handle, uint32_t clock) in pp_set_hard_min_fclk_by_freq()
1307 static int pp_set_active_display_count(void *handle, uint32_t count) in pp_set_active_display_count()
1317 static int pp_get_asic_baco_capability(void *handle, bool *cap) in pp_get_asic_baco_capability()
1334 static int pp_get_asic_baco_state(void *handle, int *state) in pp_get_asic_baco_state()
1349 static int pp_set_asic_baco_state(void *handle, int state) in pp_set_asic_baco_state()
1365 static int pp_get_ppfeature_status(void *handle, char *buf) in pp_get_ppfeature_status()
1380 static int pp_set_ppfeature_status(void *handle, uint64_t ppfeature_masks) in pp_set_ppfeature_status()
1395 static int pp_asic_reset_mode_2(void *handle) in pp_asic_reset_mode_2()
1410 static int pp_smu_i2c_bus_access(void *handle, bool acquire) in pp_smu_i2c_bus_access()
1425 static int pp_set_df_cstate(void *handle, enum pp_df_cstate state) in pp_set_df_cstate()
1440 static int pp_set_xgmi_pstate(void *handle, uint32_t pstate) in pp_set_xgmi_pstate()
1455 static ssize_t pp_get_gpu_metrics(void *handle, void **table) in pp_get_gpu_metrics()
1468 static int pp_gfx_state_change_set(void *handle, uint32_t state) in pp_gfx_state_change_set()
1484 static int pp_get_prv_buffer_details(void *handle, void **addr, size_t *size) in pp_get_prv_buffer_details()
1505 static void pp_pm_compute_clocks(void *handle) in pp_pm_compute_clocks()