Lines Matching refs:hwmgr_func
164 if (hwmgr->hwmgr_func->notify_cac_buffer_info) in pp_reserve_vram_for_smu()
165 r = hwmgr->hwmgr_func->notify_cac_buffer_info(hwmgr, in pp_reserve_vram_for_smu()
293 if (hwmgr->hwmgr_func->update_clock_gatings == NULL) { in pp_set_clockgating_by_smu()
298 return hwmgr->hwmgr_func->update_clock_gatings(hwmgr, &msg_id); in pp_set_clockgating_by_smu()
380 if (hwmgr->hwmgr_func->get_sclk == NULL) { in pp_dpm_get_sclk()
385 clk = hwmgr->hwmgr_func->get_sclk(hwmgr, low); in pp_dpm_get_sclk()
398 if (hwmgr->hwmgr_func->get_mclk == NULL) { in pp_dpm_get_mclk()
403 clk = hwmgr->hwmgr_func->get_mclk(hwmgr, low); in pp_dpm_get_mclk()
415 if (hwmgr->hwmgr_func->powergate_vce == NULL) { in pp_dpm_powergate_vce()
420 hwmgr->hwmgr_func->powergate_vce(hwmgr, gate); in pp_dpm_powergate_vce()
431 if (hwmgr->hwmgr_func->powergate_uvd == NULL) { in pp_dpm_powergate_uvd()
436 hwmgr->hwmgr_func->powergate_uvd(hwmgr, gate); in pp_dpm_powergate_uvd()
498 if (hwmgr->hwmgr_func->set_fan_control_mode == NULL) { in pp_dpm_set_fan_control_mode()
503 hwmgr->hwmgr_func->set_fan_control_mode(hwmgr, mode); in pp_dpm_set_fan_control_mode()
515 if (hwmgr->hwmgr_func->get_fan_control_mode == NULL) { in pp_dpm_get_fan_control_mode()
520 mode = hwmgr->hwmgr_func->get_fan_control_mode(hwmgr); in pp_dpm_get_fan_control_mode()
533 if (hwmgr->hwmgr_func->set_fan_speed_percent == NULL) { in pp_dpm_set_fan_speed_percent()
538 ret = hwmgr->hwmgr_func->set_fan_speed_percent(hwmgr, percent); in pp_dpm_set_fan_speed_percent()
551 if (hwmgr->hwmgr_func->get_fan_speed_percent == NULL) { in pp_dpm_get_fan_speed_percent()
557 ret = hwmgr->hwmgr_func->get_fan_speed_percent(hwmgr, speed); in pp_dpm_get_fan_speed_percent()
570 if (hwmgr->hwmgr_func->get_fan_speed_rpm == NULL) in pp_dpm_get_fan_speed_rpm()
574 ret = hwmgr->hwmgr_func->get_fan_speed_rpm(hwmgr, rpm); in pp_dpm_get_fan_speed_rpm()
674 if (hwmgr->hwmgr_func->avfs_control) { in pp_dpm_set_pp_table()
675 ret = hwmgr->hwmgr_func->avfs_control(hwmgr, false); in pp_dpm_set_pp_table()
695 if (hwmgr->hwmgr_func->force_clock_level == NULL) { in pp_dpm_force_clock_level()
701 ret = hwmgr->hwmgr_func->force_clock_level(hwmgr, type, mask); in pp_dpm_force_clock_level()
717 if (hwmgr->hwmgr_func->print_clock_levels == NULL) { in pp_dpm_print_clock_levels()
722 ret = hwmgr->hwmgr_func->print_clock_levels(hwmgr, type, buf); in pp_dpm_print_clock_levels()
735 if (hwmgr->hwmgr_func->get_sclk_od == NULL) { in pp_dpm_get_sclk_od()
740 ret = hwmgr->hwmgr_func->get_sclk_od(hwmgr); in pp_dpm_get_sclk_od()
753 if (hwmgr->hwmgr_func->set_sclk_od == NULL) { in pp_dpm_set_sclk_od()
759 ret = hwmgr->hwmgr_func->set_sclk_od(hwmgr, value); in pp_dpm_set_sclk_od()
772 if (hwmgr->hwmgr_func->get_mclk_od == NULL) { in pp_dpm_get_mclk_od()
777 ret = hwmgr->hwmgr_func->get_mclk_od(hwmgr); in pp_dpm_get_mclk_od()
790 if (hwmgr->hwmgr_func->set_mclk_od == NULL) { in pp_dpm_set_mclk_od()
795 ret = hwmgr->hwmgr_func->set_mclk_od(hwmgr, value); in pp_dpm_set_mclk_od()
818 ret = hwmgr->hwmgr_func->read_sensor(hwmgr, idx, value, size); in pp_dpm_read_sensor()
844 if (hwmgr->hwmgr_func->get_power_profile_mode == NULL) { in pp_get_power_profile_mode()
849 return hwmgr->hwmgr_func->get_power_profile_mode(hwmgr, buf); in pp_get_power_profile_mode()
860 if (hwmgr->hwmgr_func->set_power_profile_mode == NULL) { in pp_set_power_profile_mode()
866 ret = hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, input, size); in pp_set_power_profile_mode()
878 if (hwmgr->hwmgr_func->odn_edit_dpm_table == NULL) { in pp_odn_edit_dpm_table()
883 return hwmgr->hwmgr_func->odn_edit_dpm_table(hwmgr, type, input, size); in pp_odn_edit_dpm_table()
896 if (hwmgr->hwmgr_func->set_power_profile_mode == NULL) { in pp_dpm_switch_power_profile()
919 hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, &workload, 0); in pp_dpm_switch_power_profile()
932 if (hwmgr->hwmgr_func->set_power_limit == NULL) { in pp_set_power_limit()
944 hwmgr->hwmgr_func->set_power_limit(hwmgr, limit); in pp_set_power_limit()
1161 if (hwmgr->hwmgr_func->powergate_mmhub == NULL) { in pp_dpm_powergate_mmhub()
1166 return hwmgr->hwmgr_func->powergate_mmhub(hwmgr); in pp_dpm_powergate_mmhub()
1176 if (hwmgr->hwmgr_func->powergate_gfx == NULL) { in pp_dpm_powergate_gfx()
1181 return hwmgr->hwmgr_func->powergate_gfx(hwmgr, gate); in pp_dpm_powergate_gfx()
1216 if (hwmgr->hwmgr_func->smus_notify_pwe == NULL) { in pp_notify_smu_enable_pwe()
1222 hwmgr->hwmgr_func->smus_notify_pwe(hwmgr); in pp_notify_smu_enable_pwe()