Searched refs:pp_hwmgr (Results 1 - 25 of 87) sorted by relevance

1234

/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_clockpowergating.h29 void smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate);
30 void smu7_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate);
31 int smu7_powerdown_uvd(struct pp_hwmgr *hwmgr);
32 int smu7_powergate_acp(struct pp_hwmgr *hwmgr, bool bgate);
33 int smu7_disable_clock_power_gating(struct pp_hwmgr *hwmgr);
34 int smu7_update_clock_gatings(struct pp_hwmgr *hwmgr,
36 int smu7_powergate_gfx(struct pp_hwmgr *hwmgr, bool enable);
H A Dvega20_baco.h28 extern int vega20_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap);
29 extern int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
30 extern int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
31 extern int vega20_baco_apply_vdci_flush_workaround(struct pp_hwmgr *hwmgr);
H A Dpp_psm.h29 int psm_init_power_state_table(struct pp_hwmgr *hwmgr);
30 int psm_fini_power_state_table(struct pp_hwmgr *hwmgr);
31 int psm_set_boot_states(struct pp_hwmgr *hwmgr);
32 int psm_set_performance_states(struct pp_hwmgr *hwmgr);
33 int psm_set_user_performance_state(struct pp_hwmgr *hwmgr,
36 int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr,
H A Dsmu7_thermal.h41 extern int smu7_thermal_get_temperature(struct pp_hwmgr *hwmgr);
42 extern int smu7_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr);
43 extern int smu7_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, struct phm_fan_speed_info *fan_speed_info);
44 extern int smu7_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t *speed);
45 extern int smu7_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr);
46 extern int smu7_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode);
47 extern int smu7_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t speed);
48 extern int smu7_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr);
49 extern int smu7_thermal_ctrl_uninitialize_thermal_controller(struct pp_hwmgr *hwmgr);
50 extern int smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmg
[all...]
H A Dprocess_pptables_v1_0.h29 extern int get_number_of_powerplay_table_entries_v1_0(struct pp_hwmgr *hwmgr);
30 extern int get_powerplay_table_entry_v1_0(struct pp_hwmgr *hwmgr, uint32_t entry_index,
31 struct pp_power_state *power_state, int (*call_back_func)(struct pp_hwmgr *, void *,
H A Dsmu7_baco.h28 extern int smu7_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap);
29 extern int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
30 extern int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dvega20_powertune.h26 int vega20_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n);
27 int vega20_power_control_set_level(struct pp_hwmgr *hwmgr);
28 int vega20_validate_power_level_request(struct pp_hwmgr *hwmgr,
H A Dsmu9_baco.h28 extern int smu9_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap);
29 extern int smu9_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
H A Dvega20_thermal.h52 extern int vega20_thermal_get_temperature(struct pp_hwmgr *hwmgr);
53 extern int vega20_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr,
55 extern int vega20_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr,
57 extern int vega20_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr,
59 extern int vega20_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr,
61 extern int vega20_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr,
63 extern int vega20_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr);
64 extern int vega20_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr);
65 extern int vega20_thermal_disable_alert(struct pp_hwmgr *hwmgr);
66 extern int vega20_start_thermal_controller(struct pp_hwmgr *hwmg
[all...]
H A Dci_baco.h27 extern int ci_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dfiji_baco.h27 extern int fiji_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dpolaris_baco.h27 extern int polaris_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dtonga_baco.h27 extern int tonga_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dvega10_baco.h27 extern int vega10_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dvega12_baco.h27 extern int vega12_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dvega10_thermal.h53 extern int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr);
54 extern int vega10_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr);
55 extern int vega10_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr,
57 extern int vega10_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr,
59 extern int vega10_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr);
60 extern int vega10_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr,
62 extern int vega10_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr,
64 extern int vega10_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr);
66 struct pp_hwmgr *hwmgr);
67 extern int vega10_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmg
[all...]
H A Dprocesspptables.h28 struct pp_hwmgr;
34 typedef int (*pp_tables_hw_clock_info_callback)(struct pp_hwmgr *hwmgr,
39 int pp_tables_get_num_of_entries(struct pp_hwmgr *hwmgr,
42 int pp_tables_get_entry(struct pp_hwmgr *hwmgr,
47 int pp_tables_get_response_times(struct pp_hwmgr *hwmgr,
H A Dvega12_thermal.h52 extern int vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr);
53 extern int vega12_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr);
54 extern int vega12_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr,
56 extern int vega12_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr);
57 extern int vega12_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr,
59 extern int vega12_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr);
60 extern int vega12_thermal_disable_alert(struct pp_hwmgr *hwmgr);
61 extern int vega12_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr);
62 extern int vega12_start_thermal_controller(struct pp_hwmgr *hwmgr,
H A Dsmu7_powertune.h53 int smu7_enable_smc_cac(struct pp_hwmgr *hwmgr);
54 int smu7_disable_smc_cac(struct pp_hwmgr *hwmgr);
55 int smu7_enable_power_containment(struct pp_hwmgr *hwmgr);
56 int smu7_disable_power_containment(struct pp_hwmgr *hwmgr);
57 int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n);
58 int smu7_power_control_set_level(struct pp_hwmgr *hwmgr);
59 int smu7_enable_didt_config(struct pp_hwmgr *hwmgr);
60 int smu7_disable_didt_config(struct pp_hwmgr *hwmgr);
H A Dvega10_powertune.h69 void vega10_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr);
70 int vega10_populate_bapm_parameters_in_dpm_table(struct pp_hwmgr *hwmgr);
71 int vega10_populate_pm_fuses(struct pp_hwmgr *hwmgr);
72 int vega10_enable_smc_cac(struct pp_hwmgr *hwmgr);
73 int vega10_enable_power_containment(struct pp_hwmgr *hwmgr);
74 int vega10_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n);
75 int vega10_power_control_set_level(struct pp_hwmgr *hwmgr);
76 int vega10_disable_power_containment(struct pp_hwmgr *hwmgr);
78 int vega10_enable_didt_config(struct pp_hwmgr *hwmgr);
79 int vega10_disable_didt_config(struct pp_hwmgr *hwmg
[all...]
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A Dsmu9_smumgr.h26 bool smu9_is_smc_ram_running(struct pp_hwmgr *hwmgr);
27 int smu9_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
28 int smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr,
30 uint32_t smu9_get_argument(struct pp_hwmgr *hwmgr);
H A Dvega20_smumgr.h50 int vega20_enable_smc_features(struct pp_hwmgr *hwmgr,
52 int vega20_get_enabled_smc_features(struct pp_hwmgr *hwmgr,
54 int vega20_set_activity_monitor_coeff(struct pp_hwmgr *hwmgr,
56 int vega20_get_activity_monitor_coeff(struct pp_hwmgr *hwmgr,
58 int vega20_set_pptable_driver_address(struct pp_hwmgr *hwmgr);
60 bool vega20_is_smc_ram_running(struct pp_hwmgr *hwmgr);
H A Dsmu7_smumgr.h56 int smu7_copy_bytes_from_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
58 int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
60 int smu7_program_jump_on_start(struct pp_hwmgr *hwmgr);
61 bool smu7_is_smc_ram_running(struct pp_hwmgr *hwmgr);
62 int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
63 int smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg,
65 uint32_t smu7_get_argument(struct pp_hwmgr *hwmgr);
66 int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr);
69 int smu7_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr,
71 int smu7_write_smc_sram_dword(struct pp_hwmgr *hwmg
[all...]
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/inc/
H A Dsmumgr.h84 extern int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table);
86 extern int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr);
88 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp);
90 extern int smum_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr,
94 extern int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr);
96 extern int smum_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type);
97 extern int smum_process_firmware_header(struct pp_hwmgr *hwmgr);
98 extern int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr);
99 extern int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr);
100 extern int smum_init_smc_table(struct pp_hwmgr *hwmg
[all...]
H A Dhwmgr.h34 struct pp_hwmgr;
201 int (*smu_init)(struct pp_hwmgr *hwmgr);
202 int (*smu_fini)(struct pp_hwmgr *hwmgr);
203 int (*start_smu)(struct pp_hwmgr *hwmgr);
204 int (*check_fw_load_finish)(struct pp_hwmgr *hwmgr,
206 int (*request_smu_load_fw)(struct pp_hwmgr *hwmgr);
207 int (*request_smu_load_specific_fw)(struct pp_hwmgr *hwmgr,
209 uint32_t (*get_argument)(struct pp_hwmgr *hwmgr);
210 int (*send_msg_to_smc)(struct pp_hwmgr *hwmgr, uint16_t msg);
211 int (*send_msg_to_smc_with_parameter)(struct pp_hwmgr *hwmg
743 struct pp_hwmgr { struct
[all...]

Completed in 216 milliseconds

1234