Home
last modified time | relevance | path

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

/linux/drivers/gpu/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()
71 return hwmgr->hwmgr_func->power_state_set(hwmgr, &states); in phm_set_power_state()
91 if (NULL != hwmgr->hwmgr_func->dynamic_state_management_enable) in phm_enable_dynamic_state_management()
92 ret = hwmgr->hwmgr_func->dynamic_state_management_enable(hwmgr); in phm_enable_dynamic_state_management()
111 if (hwmgr->hwmgr_func->dynamic_state_management_disable) in phm_disable_dynamic_state_management()
[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.c1690 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.c1406 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in get_powerplay_table_entry_v1_0()
H A Dprocesspptables.c964 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.c5827 hwmgr->hwmgr_func = &smu7_hwmgr_funcs; in smu7_init_function_pointers()
H A Dvega10_hwmgr.c5833 hwmgr->hwmgr_func = &vega10_hwmgr_funcs; in vega10_hwmgr_init()
/linux/drivers/gpu/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()
206 r = hwmgr->hwmgr_func->notify_cac_buffer_info(hwmgr, in pp_reserve_vram_for_smu()
350 if (hwmgr->hwmgr_func->update_clock_gatings == NULL) { in pp_set_clockgating_by_smu()
355 return hwmgr->hwmgr_func->update_clock_gatings(hwmgr, &msg_id); in pp_set_clockgating_by_smu()
418 if (hwmgr->hwmgr_func->get_sclk == NULL) { in pp_dpm_get_sclk()
422 return hwmgr->hwmgr_func->get_sclk(hwmgr, low); in pp_dpm_get_sclk()
432 if (hwmgr->hwmgr_func->get_mclk == NULL) { in pp_dpm_get_mclk()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h778 const struct pp_hwmgr_func *hwmgr_func; member