Lines Matching refs:handle

201 	int (*pre_set_power_state)(void *handle);
202 int (*set_power_state)(void *handle);
203 void (*post_set_power_state)(void *handle);
204 void (*display_configuration_changed)(void *handle);
205 void (*print_power_state)(void *handle, void *ps);
206 bool (*vblank_too_short)(void *handle);
207 void (*enable_bapm)(void *handle, bool enable);
208 int (*check_state_equal)(void *handle,
213 void (*set_fan_control_mode)(void *handle, u32 mode);
214 u32 (*get_fan_control_mode)(void *handle);
215 int (*set_fan_speed_percent)(void *handle, u32 speed);
216 int (*get_fan_speed_percent)(void *handle, u32 *speed);
217 int (*force_clock_level)(void *handle, enum pp_clock_type type, uint32_t mask);
218 int (*print_clock_levels)(void *handle, enum pp_clock_type type, char *buf);
219 int (*force_performance_level)(void *handle, enum amd_dpm_forced_level level);
220 int (*get_sclk_od)(void *handle);
221 int (*set_sclk_od)(void *handle, uint32_t value);
222 int (*get_mclk_od)(void *handle);
223 int (*set_mclk_od)(void *handle, uint32_t value);
224 int (*read_sensor)(void *handle, int idx, void *value, int *size);
225 enum amd_dpm_forced_level (*get_performance_level)(void *handle);
226 enum amd_pm_state_type (*get_current_power_state)(void *handle);
227 int (*get_fan_speed_rpm)(void *handle, uint32_t *rpm);
228 int (*get_pp_num_states)(void *handle, struct pp_states_info *data);
229 int (*get_pp_table)(void *handle, char **table);
230 int (*set_pp_table)(void *handle, const char *buf, size_t size);
231 void (*debugfs_print_current_performance_level)(void *handle, struct seq_file *m);
232 int (*switch_power_profile)(void *handle, enum PP_SMC_POWER_PROFILE type, bool en);
234 struct amd_vce_state *(*get_vce_clock_state)(void *handle, u32 idx);
235 int (*dispatch_tasks)(void *handle, enum amd_pp_task task_id,
237 int (*load_firmware)(void *handle);
238 int (*wait_for_fw_loading_complete)(void *handle);
239 int (*set_powergating_by_smu)(void *handle,
241 int (*set_clockgating_by_smu)(void *handle, uint32_t msg_id);
242 int (*set_power_limit)(void *handle, uint32_t n);
243 int (*get_power_limit)(void *handle, uint32_t *limit, bool default_limit);
244 int (*get_power_profile_mode)(void *handle, char *buf);
245 int (*set_power_profile_mode)(void *handle, long *input, uint32_t size);
246 int (*odn_edit_dpm_table)(void *handle, uint32_t type, long *input, uint32_t size);
248 u32 (*get_sclk)(void *handle, bool low);
249 u32 (*get_mclk)(void *handle, bool low);
250 int (*display_configuration_change)(void *handle,
252 int (*get_display_power_level)(void *handle,
254 int (*get_current_clocks)(void *handle,
256 int (*get_clock_by_type)(void *handle,
259 int (*get_clock_by_type_with_latency)(void *handle,
262 int (*get_clock_by_type_with_voltage)(void *handle,
265 int (*set_watermarks_for_clocks_ranges)(void *handle,
267 int (*display_clock_voltage_request)(void *handle,
269 int (*get_display_mode_validation_clocks)(void *handle,
271 int (*notify_smu_enable_pwe)(void *handle);