powerplay 914 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amd_powerplay powerplay; powerplay 139 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c if (adev->powerplay.pp_funcs && powerplay 140 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->powerplay.pp_funcs->set_powergating_by_smu) powerplay 160 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c if (adev->powerplay.pp_funcs->set_powergating_by_smu) powerplay 532 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c if (adev->powerplay.pp_funcs && powerplay 533 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->powerplay.pp_funcs->set_powergating_by_smu) powerplay 448 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c else if (adev->powerplay.pp_funcs) { powerplay 473 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c else if (adev->powerplay.pp_funcs) powerplay 663 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c else if (adev->powerplay.pp_funcs && powerplay 664 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c adev->powerplay.pp_funcs->switch_power_profile) powerplay 1979 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_funcs && powerplay 1980 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_funcs->enable_mgpu_fan_boost) { powerplay 2235 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c } else if (adev->powerplay.pp_funcs && powerplay 2236 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_funcs->set_mp1_state) { powerplay 2237 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c r = adev->powerplay.pp_funcs->set_mp1_state( powerplay 2238 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->powerplay.pp_handle, powerplay 920 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c return (adev)->powerplay.pp_funcs->get_sclk((adev)->powerplay.pp_handle, (low)); powerplay 937 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c return (adev)->powerplay.pp_funcs->get_mclk((adev)->powerplay.pp_handle, (low)); powerplay 955 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = ((adev)->powerplay.pp_funcs->set_powergating_by_smu( powerplay 956 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (adev)->powerplay.pp_handle, block_type, gate)); powerplay 960 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = ((adev)->powerplay.pp_funcs->set_powergating_by_smu( powerplay 961 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (adev)->powerplay.pp_handle, block_type, gate)); powerplay 257 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle)) powerplay 260 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_power_state((adev)->powerplay.pp_handle)) powerplay 263 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle)) powerplay 266 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle)) powerplay 269 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps))) powerplay 272 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle)) powerplay 275 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e))) powerplay 278 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_fan_control_mode((adev)->powerplay.pp_handle, (m))) powerplay 281 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_fan_control_mode((adev)->powerplay.pp_handle)) powerplay 284 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_fan_speed_percent((adev)->powerplay.pp_handle, (s))) powerplay 287 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_fan_speed_percent((adev)->powerplay.pp_handle, (s))) powerplay 290 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_fan_speed_rpm)((adev)->powerplay.pp_handle, (s)) powerplay 293 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_fan_speed_rpm)((adev)->powerplay.pp_handle, (s)) powerplay 296 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->force_performance_level((adev)->powerplay.pp_handle, (l))) powerplay 299 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_current_power_state((adev)->powerplay.pp_handle)) powerplay 308 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_pp_num_states((adev)->powerplay.pp_handle, data)) powerplay 311 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_pp_table((adev)->powerplay.pp_handle, table)) powerplay 314 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_pp_table((adev)->powerplay.pp_handle, buf, size)) powerplay 317 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->print_clock_levels((adev)->powerplay.pp_handle, type, buf)) powerplay 320 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->force_clock_level((adev)->powerplay.pp_handle, type, level)) powerplay 323 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_sclk_od((adev)->powerplay.pp_handle)) powerplay 326 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_sclk_od((adev)->powerplay.pp_handle, value)) powerplay 329 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_mclk_od((adev)->powerplay.pp_handle)) powerplay 332 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_mclk_od((adev)->powerplay.pp_handle, value)) powerplay 335 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->dispatch_tasks)((adev)->powerplay.pp_handle, (task_id), (user_state)) powerplay 338 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->check_state_equal((adev)->powerplay.pp_handle, (cps), (rps), (equal))) powerplay 341 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_vce_clock_state((adev)->powerplay.pp_handle, (i))) powerplay 344 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_performance_level((adev)->powerplay.pp_handle)) powerplay 347 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->reset_power_profile_state(\ powerplay 348 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, request)) powerplay 351 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->switch_power_profile(\ powerplay 352 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, type, en)) powerplay 355 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_clockgating_by_smu(\ powerplay 356 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, msg_id)) powerplay 359 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_power_profile_mode(\ powerplay 360 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, buf)) powerplay 363 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_power_profile_mode(\ powerplay 364 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, parameter, size)) powerplay 367 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->odn_edit_dpm_table(\ powerplay 368 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, type, parameter, size)) powerplay 371 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->enable_mgpu_fan_boost(\ powerplay 372 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle)) powerplay 375 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->get_ppfeature_status(\ powerplay 376 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, (buf))) powerplay 379 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->set_ppfeature_status(\ powerplay 380 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h (adev)->powerplay.pp_handle, (ppfeatures))) powerplay 551 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c (!adev->powerplay.pp_funcs || powerplay 552 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c !adev->powerplay.pp_funcs->set_powergating_by_smu)) powerplay 93 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs && powerplay 94 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->enable_bapm) powerplay 111 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->read_sensor) powerplay 112 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = adev->powerplay.pp_funcs->read_sensor((adev)->powerplay.pp_handle, powerplay 168 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_current_power_state) { powerplay 203 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->dispatch_tasks) { powerplay 296 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_performance_level) powerplay 367 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_performance_level) powerplay 387 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->force_performance_level) { powerplay 419 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_pp_num_states) powerplay 449 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_current_power_state powerplay 450 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c && adev->powerplay.pp_funcs->get_pp_num_states) { powerplay 494 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->dispatch_tasks && powerplay 495 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->get_pp_num_states) { powerplay 544 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_pp_table) powerplay 570 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_pp_table) powerplay 700 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->odn_edit_dpm_table) { powerplay 708 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { powerplay 736 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->print_clock_levels) { powerplay 784 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_ppfeature_status) { powerplay 802 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_ppfeature_status) powerplay 846 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) powerplay 907 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) powerplay 929 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) powerplay 954 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) powerplay 972 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) powerplay 994 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) powerplay 1012 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) powerplay 1034 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) powerplay 1052 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) powerplay 1074 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) powerplay 1092 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->print_clock_levels) powerplay 1114 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->force_clock_level) powerplay 1133 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_sclk_od) powerplay 1159 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->set_sclk_od) powerplay 1162 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { powerplay 1184 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_mclk_od) powerplay 1210 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->set_mclk_od) powerplay 1213 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { powerplay 1254 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->get_power_profile_mode) powerplay 1306 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c else if (adev->powerplay.pp_funcs->set_power_profile_mode) powerplay 1605 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->get_fan_control_mode) powerplay 1635 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->set_fan_control_mode) powerplay 1690 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_fan_speed_percent) { powerplay 1716 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_fan_speed_percent) { powerplay 1744 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_fan_speed_rpm) { powerplay 1804 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->get_fan_speed_rpm) { powerplay 1843 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_fan_speed_rpm) { powerplay 1862 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->get_fan_control_mode) powerplay 1900 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->powerplay.pp_funcs->set_fan_control_mode) powerplay 2016 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_power_limit) { powerplay 2017 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->get_power_limit(adev->powerplay.pp_handle, &limit, true); powerplay 2034 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_power_limit) { powerplay 2035 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->get_power_limit(adev->powerplay.pp_handle, &limit, false); powerplay 2060 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->set_power_limit) { powerplay 2061 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c err = adev->powerplay.pp_funcs->set_power_limit(adev->powerplay.pp_handle, value); powerplay 2340 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->get_fan_speed_percent && powerplay 2342 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->powerplay.pp_funcs->get_fan_control_mode && powerplay 2346 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->set_fan_speed_percent && powerplay 2348 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->powerplay.pp_funcs->set_fan_control_mode && powerplay 2364 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->set_fan_speed_percent && powerplay 2365 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c !adev->powerplay.pp_funcs->get_fan_speed_percent) && powerplay 2366 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->powerplay.pp_funcs->set_fan_speed_rpm && powerplay 2367 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c !adev->powerplay.pp_funcs->get_fan_speed_rpm) && powerplay 2372 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->powerplay.pp_funcs->set_fan_speed_rpm && powerplay 2373 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c !adev->powerplay.pp_funcs->get_fan_speed_rpm) && powerplay 2469 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (single_display && adev->powerplay.pp_funcs->vblank_too_short) { powerplay 2618 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (amdgpu_dpm == 1 && adev->powerplay.pp_funcs->print_power_state) { powerplay 2627 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->display_configuration_changed) powerplay 2634 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->check_state_equal) { powerplay 2648 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->force_performance_level) { powerplay 2670 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_powergating_by_smu) { powerplay 2679 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 2697 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c } else if (adev->powerplay.pp_funcs->set_powergating_by_smu) { powerplay 2709 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->print_power_state == NULL) powerplay 2759 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->load_firmware) { powerplay 2760 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c r = adev->powerplay.pp_funcs->load_firmware(adev->powerplay.pp_handle); powerplay 2772 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 2945 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 3014 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->dispatch_tasks) { powerplay 3024 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->display_configuration_change) powerplay 3025 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->display_configuration_change( powerplay 3026 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_handle, powerplay 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) { powerplay 3165 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->powerplay.pp_funcs->debugfs_print_current_performance_level) powerplay 3166 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->powerplay.pp_funcs->debugfs_print_current_performance_level(adev, m); powerplay 5364 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->powerplay.pp_funcs->set_powergating_by_smu) powerplay 5879 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 5901 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 5931 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 5951 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 5973 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 5989 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 6004 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 2971 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->powerplay.pp_funcs = &kv_dpm_funcs; powerplay 2972 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->powerplay.pp_handle = adev; powerplay 302 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->set_powergating_by_smu) powerplay 1893 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs && powerplay 1894 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->powerplay.pp_funcs->set_powergating_by_smu) || powerplay 1922 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs powerplay 1923 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c && adev->powerplay.pp_funcs->set_powergating_by_smu) || powerplay 7923 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->powerplay.pp_funcs = &si_dpm_funcs; powerplay 7924 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->powerplay.pp_handle = adev; powerplay 513 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access) powerplay 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)) powerplay 529 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access) powerplay 533 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c if (!adev->powerplay.pp_funcs->smu_i2c_bus_access(adev->powerplay.pp_handle, powerplay 504 drivers/gpu/drm/amd/amdgpu/soc15.c void *pp_handle = adev->powerplay.pp_handle; powerplay 505 drivers/gpu/drm/amd/amdgpu/soc15.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 517 drivers/gpu/drm/amd/amdgpu/soc15.c void *pp_handle = adev->powerplay.pp_handle; powerplay 518 drivers/gpu/drm/amd/amdgpu/soc15.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 540 drivers/gpu/drm/amd/amdgpu/soc15.c if (!adev->powerplay.pp_funcs || powerplay 541 drivers/gpu/drm/amd/amdgpu/soc15.c !adev->powerplay.pp_funcs->asic_reset_mode_2) powerplay 544 drivers/gpu/drm/amd/amdgpu/soc15.c return adev->powerplay.pp_funcs->asic_reset_mode_2(adev->powerplay.pp_handle); powerplay 1466 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 1485 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 1504 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 1519 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 1532 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 1547 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 1562 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->powerplay.pp_funcs->set_clockgating_by_smu) powerplay 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) powerplay 106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->powerplay.pp_funcs->display_configuration_change( powerplay 107 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->powerplay.pp_handle, powerplay 337 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 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) { powerplay 343 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs->get_clock_by_type(pp_handle, powerplay 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) { powerplay 361 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->powerplay.pp_funcs->get_display_mode_validation_clocks( powerplay 423 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 425 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 453 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 455 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 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) powerplay 507 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c ret = adev->powerplay.pp_funcs->display_clock_voltage_request( powerplay 508 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->powerplay.pp_handle, powerplay 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) powerplay 528 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c ret = adev->powerplay.pp_funcs->get_current_clocks( powerplay 529 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->powerplay.pp_handle, powerplay 548 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 549 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 603 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 604 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 616 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 617 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 629 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 630 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 642 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 643 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 655 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void *pp_handle = adev->powerplay.pp_handle; powerplay 656 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; powerplay 58 drivers/gpu/drm/amd/powerplay/amd_powerplay.c adev->powerplay.pp_handle = hwmgr; powerplay 59 drivers/gpu/drm/amd/powerplay/amd_powerplay.c adev->powerplay.pp_funcs = &pp_dpm_funcs; powerplay 66 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 85 drivers/gpu/drm/amd/powerplay/amd_powerplay.c ret = hwmgr_early_init(adev->powerplay.pp_handle); powerplay 95 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 108 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 122 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 135 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 147 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 176 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 224 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; powerplay 232 drivers/gpu/drm/amd/powerplay/amd_powerplay.c struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle;