pp_funcs 769 drivers/gpu/drm/amd/amdgpu/amdgpu.h const struct amd_pm_funcs *pp_funcs; pp_funcs 139 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c if (adev->powerplay.pp_funcs && pp_funcs 140 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->powerplay.pp_funcs->set_powergating_by_smu) pp_funcs 160 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c if (adev->powerplay.pp_funcs->set_powergating_by_smu) pp_funcs 532 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c if (adev->powerplay.pp_funcs && pp_funcs 533 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->powerplay.pp_funcs->set_powergating_by_smu) pp_funcs 448 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c else if (adev->powerplay.pp_funcs) { pp_funcs 473 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c else if (adev->powerplay.pp_funcs) pp_funcs 663 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c else if (adev->powerplay.pp_funcs && pp_funcs 664 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c adev->powerplay.pp_funcs->switch_power_profile) pp_funcs 1979 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_funcs && pp_funcs 1980 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_funcs->enable_mgpu_fan_boost) { pp_funcs 2235 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c } else if (adev->powerplay.pp_funcs && pp_funcs 2236 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_funcs->set_mp1_state) { pp_funcs 2237 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c r = adev->powerplay.pp_funcs->set_mp1_state( pp_funcs 920 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c return (adev)->powerplay.pp_funcs->get_sclk((adev)->powerplay.pp_handle, (low)); pp_funcs 937 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c return (adev)->powerplay.pp_funcs->get_mclk((adev)->powerplay.pp_handle, (low)); pp_funcs 955 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = ((adev)->powerplay.pp_funcs->set_powergating_by_smu( pp_funcs 960 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = ((adev)->powerplay.pp_funcs->set_powergating_by_smu( pp_funcs 257 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle)) pp_funcs 260 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_power_state((adev)->powerplay.pp_handle)) pp_funcs 263 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle)) pp_funcs 266 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle)) pp_funcs 269 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps))) pp_funcs 272 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle)) pp_funcs 275 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e))) pp_funcs 278 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_fan_control_mode((adev)->powerplay.pp_handle, (m))) pp_funcs 281 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_fan_control_mode((adev)->powerplay.pp_handle)) pp_funcs 284 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_fan_speed_percent((adev)->powerplay.pp_handle, (s))) pp_funcs 287 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_fan_speed_percent((adev)->powerplay.pp_handle, (s))) pp_funcs 290 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_fan_speed_rpm)((adev)->powerplay.pp_handle, (s)) pp_funcs 293 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_fan_speed_rpm)((adev)->powerplay.pp_handle, (s)) pp_funcs 296 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->force_performance_level((adev)->powerplay.pp_handle, (l))) pp_funcs 299 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_current_power_state((adev)->powerplay.pp_handle)) pp_funcs 308 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_pp_num_states((adev)->powerplay.pp_handle, data)) pp_funcs 311 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_pp_table((adev)->powerplay.pp_handle, table)) pp_funcs 314 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_pp_table((adev)->powerplay.pp_handle, buf, size)) pp_funcs 317 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->print_clock_levels((adev)->powerplay.pp_handle, type, buf)) pp_funcs 320 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->force_clock_level((adev)->powerplay.pp_handle, type, level)) pp_funcs 323 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_sclk_od((adev)->powerplay.pp_handle)) pp_funcs 326 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_sclk_od((adev)->powerplay.pp_handle, value)) pp_funcs 329 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_mclk_od((adev)->powerplay.pp_handle)) pp_funcs 332 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_mclk_od((adev)->powerplay.pp_handle, value)) pp_funcs 335 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->dispatch_tasks)((adev)->powerplay.pp_handle, (task_id), (user_state)) pp_funcs 338 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->check_state_equal((adev)->powerplay.pp_handle, (cps), (rps), (equal))) pp_funcs 341 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_vce_clock_state((adev)->powerplay.pp_handle, (i))) pp_funcs 344 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_performance_level((adev)->powerplay.pp_handle)) pp_funcs 347 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->reset_power_profile_state(\ pp_funcs 351 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->switch_power_profile(\ pp_funcs 355 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_clockgating_by_smu(\ pp_funcs 359 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_power_profile_mode(\ pp_funcs 363 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_power_profile_mode(\ pp_funcs 367 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->odn_edit_dpm_table(\ pp_funcs 371 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->enable_mgpu_fan_boost(\ pp_funcs 375 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_ppfeature_status(\ pp_funcs 379 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_ppfeature_status(\ pp_funcs 551 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c (!adev->powerplay.pp_funcs || pp_funcs 552 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c !adev->powerplay.pp_funcs->set_powergating_by_smu)) pp_funcs 93 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs && pp_funcs 94 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->enable_bapm) pp_funcs 111 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->read_sensor) pp_funcs 112 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = adev->powerplay.pp_funcs->read_sensor((adev)->powerplay.pp_handle, pp_funcs 168 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_current_power_state) { pp_funcs 203 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->dispatch_tasks) { pp_funcs 296 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_performance_level) pp_funcs 367 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_performance_level) pp_funcs 387 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->force_performance_level) { pp_funcs 419 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_pp_num_states) pp_funcs 449 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_current_power_state pp_funcs 450 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c && adev->powerplay.pp_funcs->get_pp_num_states) { pp_funcs 494 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->dispatch_tasks && pp_funcs 495 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->get_pp_num_states) { pp_funcs 544 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_pp_table) pp_funcs 570 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_pp_table) pp_funcs 700 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->odn_edit_dpm_table) { pp_funcs 708 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { pp_funcs 736 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->print_clock_levels) { pp_funcs 784 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_ppfeature_status) { pp_funcs 802 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_ppfeature_status) pp_funcs 846 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) pp_funcs 907 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) pp_funcs 929 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) pp_funcs 954 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) pp_funcs 972 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) pp_funcs 994 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) pp_funcs 1012 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) pp_funcs 1034 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) pp_funcs 1052 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) pp_funcs 1074 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) pp_funcs 1092 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) pp_funcs 1114 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) pp_funcs 1133 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_sclk_od) pp_funcs 1159 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->set_sclk_od) pp_funcs 1162 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { pp_funcs 1184 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_mclk_od) pp_funcs 1210 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->set_mclk_od) pp_funcs 1213 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { pp_funcs 1254 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_power_profile_mode) pp_funcs 1306 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->set_power_profile_mode) pp_funcs 1605 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->get_fan_control_mode) pp_funcs 1635 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->set_fan_control_mode) pp_funcs 1690 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_fan_speed_percent) { pp_funcs 1716 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_fan_speed_percent) { pp_funcs 1744 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_fan_speed_rpm) { pp_funcs 1804 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_fan_speed_rpm) { pp_funcs 1843 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_fan_speed_rpm) { pp_funcs 1862 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->get_fan_control_mode) pp_funcs 1900 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->set_fan_control_mode) pp_funcs 2016 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_power_limit) { pp_funcs 2017 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->get_power_limit(adev->powerplay.pp_handle, &limit, true); pp_funcs 2034 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_power_limit) { pp_funcs 2035 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->get_power_limit(adev->powerplay.pp_handle, &limit, false); pp_funcs 2060 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->set_power_limit) { pp_funcs 2061 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c err = adev->powerplay.pp_funcs->set_power_limit(adev->powerplay.pp_handle, value); pp_funcs 2340 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->get_fan_speed_percent && pp_funcs 2342 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->powerplay.pp_funcs->get_fan_control_mode && pp_funcs 2346 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->set_fan_speed_percent && pp_funcs 2348 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->powerplay.pp_funcs->set_fan_control_mode && pp_funcs 2364 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->set_fan_speed_percent && pp_funcs 2365 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c !adev->powerplay.pp_funcs->get_fan_speed_percent) && pp_funcs 2366 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->powerplay.pp_funcs->set_fan_speed_rpm && pp_funcs 2367 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c !adev->powerplay.pp_funcs->get_fan_speed_rpm) && pp_funcs 2372 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->set_fan_speed_rpm && pp_funcs 2373 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c !adev->powerplay.pp_funcs->get_fan_speed_rpm) && pp_funcs 2469 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (single_display && adev->powerplay.pp_funcs->vblank_too_short) { pp_funcs 2618 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (amdgpu_dpm == 1 && adev->powerplay.pp_funcs->print_power_state) { pp_funcs 2627 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->display_configuration_changed) pp_funcs 2634 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->check_state_equal) { pp_funcs 2648 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->force_performance_level) { pp_funcs 2670 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_powergating_by_smu) { pp_funcs 2697 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_powergating_by_smu) { pp_funcs 2709 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->print_power_state == NULL) pp_funcs 2759 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->load_firmware) { pp_funcs 2760 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c r = adev->powerplay.pp_funcs->load_firmware(adev->powerplay.pp_handle); pp_funcs 3014 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { pp_funcs 3024 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->display_configuration_change) pp_funcs 3025 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->display_configuration_change( pp_funcs 3163 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (!is_support_sw_smu(adev) && adev->powerplay.pp_funcs->debugfs_print_current_performance_level) { pp_funcs 3165 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->debugfs_print_current_performance_level) pp_funcs 3166 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->debugfs_print_current_performance_level(adev, m); pp_funcs 5364 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->powerplay.pp_funcs->set_powergating_by_smu) pp_funcs 5879 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 5901 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 5931 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 5951 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 5973 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 5989 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 6004 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 2971 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->powerplay.pp_funcs = &kv_dpm_funcs; pp_funcs 302 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->set_powergating_by_smu) pp_funcs 1893 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs && pp_funcs 1894 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->powerplay.pp_funcs->set_powergating_by_smu) || pp_funcs 1922 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs pp_funcs 1923 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c && adev->powerplay.pp_funcs->set_powergating_by_smu) || pp_funcs 7923 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->powerplay.pp_funcs = &si_dpm_funcs; pp_funcs 513 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access) pp_funcs 517 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access(adev->powerplay.pp_handle, true)) pp_funcs 529 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access) pp_funcs 533 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access(adev->powerplay.pp_handle, pp_funcs 505 drivers/gpu/drm/amd/amdgpu/soc15.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 507 drivers/gpu/drm/amd/amdgpu/soc15.c if (!pp_funcs || !pp_funcs->get_asic_baco_capability) { pp_funcs 512 drivers/gpu/drm/amd/amdgpu/soc15.c return pp_funcs->get_asic_baco_capability(pp_handle, cap); pp_funcs 518 drivers/gpu/drm/amd/amdgpu/soc15.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 520 drivers/gpu/drm/amd/amdgpu/soc15.c if (!pp_funcs ||!pp_funcs->get_asic_baco_state ||!pp_funcs->set_asic_baco_state) pp_funcs 524 drivers/gpu/drm/amd/amdgpu/soc15.c if (pp_funcs->set_asic_baco_state(pp_handle, 1)) pp_funcs 528 drivers/gpu/drm/amd/amdgpu/soc15.c if (pp_funcs->set_asic_baco_state(pp_handle, 0)) pp_funcs 540 drivers/gpu/drm/amd/amdgpu/soc15.c if (!adev->powerplay.pp_funcs || pp_funcs 541 drivers/gpu/drm/amd/amdgpu/soc15.c !adev->powerplay.pp_funcs->asic_reset_mode_2) pp_funcs 544 drivers/gpu/drm/amd/amdgpu/soc15.c return adev->powerplay.pp_funcs->asic_reset_mode_2(adev->powerplay.pp_handle); pp_funcs 1466 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 1485 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 1504 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 1519 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 1532 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 1547 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 1562 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) pp_funcs 105 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->display_configuration_change) pp_funcs 106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->powerplay.pp_funcs->display_configuration_change( pp_funcs 342 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_clock_by_type) { pp_funcs 343 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs->get_clock_by_type(pp_handle, pp_funcs 360 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_display_mode_validation_clocks) { pp_funcs 361 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs->get_display_mode_validation_clocks( pp_funcs 425 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 428 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (pp_funcs && pp_funcs->get_clock_by_type_with_latency) { pp_funcs 429 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c ret = pp_funcs->get_clock_by_type_with_latency(pp_handle, pp_funcs 455 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 458 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (pp_funcs && pp_funcs->get_clock_by_type_with_voltage) { pp_funcs 459 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c ret = pp_funcs->get_clock_by_type_with_voltage(pp_handle, pp_funcs 506 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->display_clock_voltage_request) pp_funcs 507 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c ret = adev->powerplay.pp_funcs->display_clock_voltage_request( pp_funcs 527 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_current_clocks) pp_funcs 528 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c ret = adev->powerplay.pp_funcs->get_current_clocks( pp_funcs 549 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 590 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (pp_funcs && pp_funcs->set_watermarks_for_clocks_ranges) pp_funcs 591 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c pp_funcs->set_watermarks_for_clocks_ranges(pp_handle, pp_funcs 604 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 606 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (pp_funcs && pp_funcs->notify_smu_enable_pwe) pp_funcs 607 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c pp_funcs->notify_smu_enable_pwe(pp_handle); pp_funcs 617 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 619 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (!pp_funcs || !pp_funcs->set_active_display_count) pp_funcs 622 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c pp_funcs->set_active_display_count(pp_handle, count); pp_funcs 630 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 632 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (!pp_funcs || !pp_funcs->set_min_deep_sleep_dcefclk) pp_funcs 635 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c pp_funcs->set_min_deep_sleep_dcefclk(pp_handle, clock); pp_funcs 643 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 645 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (!pp_funcs || !pp_funcs->set_hard_min_dcefclk_by_freq) pp_funcs 648 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c pp_funcs->set_hard_min_dcefclk_by_freq(pp_handle, clock); pp_funcs 656 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; pp_funcs 658 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (!pp_funcs || !pp_funcs->set_hard_min_fclk_by_freq) pp_funcs 661 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c pp_funcs->set_hard_min_fclk_by_freq(pp_handle, mhz); pp_funcs 59 drivers/gpu/drm/amd/powerplay/amd_powerplay.c adev->powerplay.pp_funcs = &pp_dpm_funcs;