Lines Matching refs:handle
309 int (*pre_set_power_state)(void *handle);
310 int (*set_power_state)(void *handle);
311 void (*post_set_power_state)(void *handle);
312 void (*display_configuration_changed)(void *handle);
313 void (*print_power_state)(void *handle, void *ps);
314 bool (*vblank_too_short)(void *handle);
315 void (*enable_bapm)(void *handle, bool enable);
316 int (*check_state_equal)(void *handle,
321 int (*set_fan_control_mode)(void *handle, u32 mode);
322 int (*get_fan_control_mode)(void *handle, u32 *fan_mode);
323 int (*set_fan_speed_pwm)(void *handle, u32 speed);
324 int (*get_fan_speed_pwm)(void *handle, u32 *speed);
325 int (*force_clock_level)(void *handle, enum pp_clock_type type, uint32_t mask);
326 int (*print_clock_levels)(void *handle, enum pp_clock_type type, char *buf);
327 int (*emit_clock_levels)(void *handle, enum pp_clock_type type, char *buf, int *offset);
328 int (*force_performance_level)(void *handle, enum amd_dpm_forced_level level);
329 int (*get_sclk_od)(void *handle);
330 int (*set_sclk_od)(void *handle, uint32_t value);
331 int (*get_mclk_od)(void *handle);
332 int (*set_mclk_od)(void *handle, uint32_t value);
333 int (*read_sensor)(void *handle, int idx, void *value, int *size);
334 enum amd_dpm_forced_level (*get_performance_level)(void *handle);
335 enum amd_pm_state_type (*get_current_power_state)(void *handle);
336 int (*get_fan_speed_rpm)(void *handle, uint32_t *rpm);
337 int (*set_fan_speed_rpm)(void *handle, uint32_t rpm);
338 int (*get_pp_num_states)(void *handle, struct pp_states_info *data);
339 int (*get_pp_table)(void *handle, char **table);
340 int (*set_pp_table)(void *handle, const char *buf, size_t size);
341 void (*debugfs_print_current_performance_level)(void *handle, struct seq_file *m);
342 int (*switch_power_profile)(void *handle, enum PP_SMC_POWER_PROFILE type, bool en);
344 struct amd_vce_state *(*get_vce_clock_state)(void *handle, u32 idx);
345 int (*dispatch_tasks)(void *handle, enum amd_pp_task task_id,
347 int (*load_firmware)(void *handle);
348 int (*wait_for_fw_loading_complete)(void *handle);
349 int (*set_powergating_by_smu)(void *handle,
351 int (*set_clockgating_by_smu)(void *handle, uint32_t msg_id);
352 int (*set_power_limit)(void *handle, uint32_t n);
353 int (*get_power_limit)(void *handle, uint32_t *limit,
356 int (*get_power_profile_mode)(void *handle, char *buf);
357 int (*set_power_profile_mode)(void *handle, long *input, uint32_t size);
358 int (*set_fine_grain_clk_vol)(void *handle, uint32_t type, long *input, uint32_t size);
359 int (*odn_edit_dpm_table)(void *handle, enum PP_OD_DPM_TABLE_COMMAND type,
361 int (*set_mp1_state)(void *handle, enum pp_mp1_state mp1_state);
362 int (*smu_i2c_bus_access)(void *handle, bool acquire);
363 int (*gfx_state_change_set)(void *handle, uint32_t state);
365 u32 (*get_sclk)(void *handle, bool low);
366 u32 (*get_mclk)(void *handle, bool low);
367 int (*display_configuration_change)(void *handle,
369 int (*get_display_power_level)(void *handle,
371 int (*get_current_clocks)(void *handle,
373 int (*get_clock_by_type)(void *handle,
376 int (*get_clock_by_type_with_latency)(void *handle,
379 int (*get_clock_by_type_with_voltage)(void *handle,
382 int (*set_watermarks_for_clocks_ranges)(void *handle,
384 int (*display_clock_voltage_request)(void *handle,
386 int (*get_display_mode_validation_clocks)(void *handle,
388 int (*notify_smu_enable_pwe)(void *handle);
389 int (*enable_mgpu_fan_boost)(void *handle);
390 int (*set_active_display_count)(void *handle, uint32_t count);
391 int (*set_hard_min_dcefclk_by_freq)(void *handle, uint32_t clock);
392 int (*set_hard_min_fclk_by_freq)(void *handle, uint32_t clock);
393 int (*set_min_deep_sleep_dcefclk)(void *handle, uint32_t clock);
394 int (*get_asic_baco_capability)(void *handle, bool *cap);
395 int (*get_asic_baco_state)(void *handle, int *state);
396 int (*set_asic_baco_state)(void *handle, int state);
397 int (*get_ppfeature_status)(void *handle, char *buf);
398 int (*set_ppfeature_status)(void *handle, uint64_t ppfeature_masks);
399 int (*asic_reset_mode_2)(void *handle);
400 int (*asic_reset_enable_gfx_features)(void *handle);
401 int (*set_df_cstate)(void *handle, enum pp_df_cstate state);
402 int (*set_xgmi_pstate)(void *handle, uint32_t pstate);
403 ssize_t (*get_gpu_metrics)(void *handle, void **table);
404 int (*set_watermarks_for_clock_ranges)(void *handle,
406 int (*display_disable_memory_clock_switch)(void *handle,
408 int (*get_max_sustainable_clocks_by_dc)(void *handle,
410 int (*get_uclk_dpm_states)(void *handle,
413 int (*get_dpm_clock_table)(void *handle,
415 int (*get_smu_prv_buf_details)(void *handle, void **addr, size_t *size);
416 void (*pm_compute_clocks)(void *handle);