Lines Matching refs:handle
295 int (*pre_set_power_state)(void *handle);
296 int (*set_power_state)(void *handle);
297 void (*post_set_power_state)(void *handle);
298 void (*display_configuration_changed)(void *handle);
299 void (*print_power_state)(void *handle, void *ps);
300 bool (*vblank_too_short)(void *handle);
301 void (*enable_bapm)(void *handle, bool enable);
302 int (*check_state_equal)(void *handle,
307 void (*set_fan_control_mode)(void *handle, u32 mode);
308 u32 (*get_fan_control_mode)(void *handle);
309 int (*set_fan_speed_pwm)(void *handle, u32 speed);
310 int (*get_fan_speed_pwm)(void *handle, u32 *speed);
311 int (*force_clock_level)(void *handle, enum pp_clock_type type, uint32_t mask);
312 int (*print_clock_levels)(void *handle, enum pp_clock_type type, char *buf);
313 int (*force_performance_level)(void *handle, enum amd_dpm_forced_level level);
314 int (*get_sclk_od)(void *handle);
315 int (*set_sclk_od)(void *handle, uint32_t value);
316 int (*get_mclk_od)(void *handle);
317 int (*set_mclk_od)(void *handle, uint32_t value);
318 int (*read_sensor)(void *handle, int idx, void *value, int *size);
319 enum amd_dpm_forced_level (*get_performance_level)(void *handle);
320 enum amd_pm_state_type (*get_current_power_state)(void *handle);
321 int (*get_fan_speed_rpm)(void *handle, uint32_t *rpm);
322 int (*set_fan_speed_rpm)(void *handle, uint32_t rpm);
323 int (*get_pp_num_states)(void *handle, struct pp_states_info *data);
324 int (*get_pp_table)(void *handle, char **table);
325 int (*set_pp_table)(void *handle, const char *buf, size_t size);
326 void (*debugfs_print_current_performance_level)(void *handle, struct seq_file *m);
327 int (*switch_power_profile)(void *handle, enum PP_SMC_POWER_PROFILE type, bool en);
329 struct amd_vce_state *(*get_vce_clock_state)(void *handle, u32 idx);
330 int (*dispatch_tasks)(void *handle, enum amd_pp_task task_id,
332 int (*load_firmware)(void *handle);
333 int (*wait_for_fw_loading_complete)(void *handle);
334 int (*set_powergating_by_smu)(void *handle,
336 int (*set_clockgating_by_smu)(void *handle, uint32_t msg_id);
337 int (*set_power_limit)(void *handle, uint32_t n);
338 int (*get_power_limit)(void *handle, uint32_t *limit,
341 int (*get_power_profile_mode)(void *handle, char *buf);
342 int (*set_power_profile_mode)(void *handle, long *input, uint32_t size);
343 int (*set_fine_grain_clk_vol)(void *handle, uint32_t type, long *input, uint32_t size);
344 int (*odn_edit_dpm_table)(void *handle, uint32_t type, long *input, uint32_t size);
345 int (*set_mp1_state)(void *handle, enum pp_mp1_state mp1_state);
346 int (*smu_i2c_bus_access)(void *handle, bool acquire);
347 int (*gfx_state_change_set)(void *handle, uint32_t state);
349 u32 (*get_sclk)(void *handle, bool low);
350 u32 (*get_mclk)(void *handle, bool low);
351 int (*display_configuration_change)(void *handle,
353 int (*get_display_power_level)(void *handle,
355 int (*get_current_clocks)(void *handle,
357 int (*get_clock_by_type)(void *handle,
360 int (*get_clock_by_type_with_latency)(void *handle,
363 int (*get_clock_by_type_with_voltage)(void *handle,
366 int (*set_watermarks_for_clocks_ranges)(void *handle,
368 int (*display_clock_voltage_request)(void *handle,
370 int (*get_display_mode_validation_clocks)(void *handle,
372 int (*notify_smu_enable_pwe)(void *handle);
373 int (*enable_mgpu_fan_boost)(void *handle);
374 int (*set_active_display_count)(void *handle, uint32_t count);
375 int (*set_hard_min_dcefclk_by_freq)(void *handle, uint32_t clock);
376 int (*set_hard_min_fclk_by_freq)(void *handle, uint32_t clock);
377 int (*set_min_deep_sleep_dcefclk)(void *handle, uint32_t clock);
378 int (*get_asic_baco_capability)(void *handle, bool *cap);
379 int (*get_asic_baco_state)(void *handle, int *state);
380 int (*set_asic_baco_state)(void *handle, int state);
381 int (*get_ppfeature_status)(void *handle, char *buf);
382 int (*set_ppfeature_status)(void *handle, uint64_t ppfeature_masks);
383 int (*asic_reset_mode_2)(void *handle);
384 int (*set_df_cstate)(void *handle, enum pp_df_cstate state);
385 int (*set_xgmi_pstate)(void *handle, uint32_t pstate);
386 ssize_t (*get_gpu_metrics)(void *handle, void **table);
387 int (*set_watermarks_for_clock_ranges)(void *handle,
389 int (*display_disable_memory_clock_switch)(void *handle,
391 int (*get_max_sustainable_clocks_by_dc)(void *handle,
393 int (*get_uclk_dpm_states)(void *handle,
396 int (*get_dpm_clock_table)(void *handle,
398 int (*get_smu_prv_buf_details)(void *handle, void **addr, size_t *size);