Home
last modified time | relevance | path

Searched refs:hwmgr_func (Results 1 – 16 of 16) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dhardwaremanager.c35 if ((hw) == NULL || (hw)->hwmgr_func == NULL) \
43 if (NULL != hwmgr->hwmgr_func->asic_setup) in phm_setup_asic()
44 return hwmgr->hwmgr_func->asic_setup(hwmgr); in phm_setup_asic()
53 if (NULL != hwmgr->hwmgr_func->power_off_asic) in phm_power_down_asic()
54 return hwmgr->hwmgr_func->power_off_asic(hwmgr); in phm_power_down_asic()
70 if (NULL != hwmgr->hwmgr_func->power_state_set) in phm_set_power_state()
123 if (hwmgr->hwmgr_func->force_dpm_level != NULL) in phm_force_dpm_levels()
156 if (hwmgr->hwmgr_func->powerdown_uvd != NULL) in phm_powerdown_uvd()
278 hwmgr->hwmgr_func == NULL) in phm_check_smc_update_required_for_display_configuration()
331 if (hwmgr->hwmgr_func->store_cc6_data) in phm_store_dal_configuration_data()
[all …]
H A Dpp_psm.c36 if (hwmgr->hwmgr_func->get_num_of_pp_table_entries == NULL) in psm_init_power_state_table()
39 if (hwmgr->hwmgr_func->get_power_state_size == NULL) in psm_init_power_state_table()
42 table_entries = hwmgr->hwmgr_func->get_num_of_pp_table_entries(hwmgr); in psm_init_power_state_table()
44 size = hwmgr->hwmgr_func->get_power_state_size(hwmgr) + in psm_init_power_state_table()
79 result = hwmgr->hwmgr_func->get_pp_table_entry(hwmgr, i, state); in psm_init_power_state_table()
302 if (hwmgr->power_profile_mode != workload[0] && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
303 hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, workload, 0); in psm_adjust_power_state_dynamic()
H A Dhwmgr.c228 !hwmgr->hwmgr_func->backend_init) { in hwmgr_hw_init()
241 ret = hwmgr->hwmgr_func->backend_init(hwmgr); in hwmgr_hw_init()
270 if (hwmgr->hwmgr_func->backend_fini) in hwmgr_hw_init()
271 hwmgr->hwmgr_func->backend_fini(hwmgr); in hwmgr_hw_init()
290 if (hwmgr->hwmgr_func->backend_fini) in hwmgr_hw_fini()
291 hwmgr->hwmgr_func->backend_fini(hwmgr); in hwmgr_hw_fini()
H A Dsmu7_thermal.c155 hwmgr->hwmgr_func->set_max_fan_rpm_output(hwmgr, in smu7_fan_ctrl_start_smc_fan_control()
159 hwmgr->hwmgr_func->set_max_fan_pwm_output(hwmgr, in smu7_fan_ctrl_start_smc_fan_control()
H A Dvega12_processpptables.c393 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware));
H A Dsmu10_hwmgr.c1686 hwmgr->hwmgr_func = &smu10_hwmgr_funcs; in smu10_init_function_pointers()
H A Dvega10_processpptables.c1336 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in vega10_get_powerplay_table_entry()
H A Dprocess_pptables_v1_0.c1408 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in get_powerplay_table_entry_v1_0()
H A Dprocesspptables.c966 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(ps->hardware)); in pp_tables_get_entry()
H A Dsmu8_hwmgr.c2077 hwmgr->hwmgr_func = &smu8_hwmgr_funcs; in smu8_init_function_pointers()
H A Dvega12_hwmgr.c2990 hwmgr->hwmgr_func = &vega12_hwmgr_funcs; in vega12_hwmgr_init()
H A Dvega20_hwmgr.c4452 hwmgr->hwmgr_func = &vega20_hwmgr_funcs; in vega20_hwmgr_init()
H A Dsmu7_hwmgr.c5820 hwmgr->hwmgr_func = &smu7_hwmgr_funcs; in smu7_init_function_pointers()
H A Dvega10_hwmgr.c5828 hwmgr->hwmgr_func = &vega10_hwmgr_funcs; in vega10_hwmgr_init()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/
H A Damd_powerplay.c111 hwmgr->hwmgr_func->read_sensor) { in pp_swctf_delayed_work_handler()
112 ret = hwmgr->hwmgr_func->read_sensor(hwmgr, in pp_swctf_delayed_work_handler()
121 ret = hwmgr->hwmgr_func->read_sensor(hwmgr, in pp_swctf_delayed_work_handler()
205 if (hwmgr->hwmgr_func->notify_cac_buffer_info) in pp_reserve_vram_for_smu()
416 if (hwmgr->hwmgr_func->get_sclk == NULL) { in pp_dpm_get_sclk()
430 if (hwmgr->hwmgr_func->get_mclk == NULL) { in pp_dpm_get_mclk()
694 if (hwmgr->hwmgr_func->avfs_control) in pp_dpm_set_pp_table()
731 if (!hwmgr->hwmgr_func->emit_clock_levels) in pp_dpm_emit_clock_levels()
920 if (hwmgr->hwmgr_func->set_mp1_state) in pp_dpm_set_mp1_state()
1289 hwmgr->hwmgr_func->smus_notify_pwe(hwmgr); in pp_notify_smu_enable_pwe()
[all …]
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h778 const struct pp_hwmgr_func *hwmgr_func; member