ac_power 2667 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.ac_power = power_supply_is_system_supplied() > 0 ? true : false; ac_power 457 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h bool ac_power; ac_power 90 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.ac_power = true; ac_power 92 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.ac_power = false; ac_power 95 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c amdgpu_dpm_enable_bapm(adev, adev->pm.ac_power); ac_power 1929 drivers/gpu/drm/amd/amdgpu/kv_dpm.c ret = amdgpu_kv_smc_bapm_enable(adev, adev->pm.ac_power); ac_power 3485 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.ac_power) ac_power 3494 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.ac_power == false) { ac_power 3834 drivers/gpu/drm/amd/amdgpu/si_dpm.c static int si_notify_hw_of_powersource(struct amdgpu_device *adev, bool ac_power) ac_power 3836 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (ac_power) ac_power 2910 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c max_limits = adev->pm.ac_power ? ac_power 2915 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (!adev->pm.ac_power) { ac_power 3160 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c max_limits = adev->pm.ac_power ? ac_power 3165 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (!adev->pm.ac_power) { ac_power 2864 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : ac_power 2900 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : ac_power 2111 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.ac_power) ac_power 2116 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.ac_power == false) { ac_power 824 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) ac_power 829 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power == false) { ac_power 1632 drivers/gpu/drm/radeon/ci_dpm.c bool ac_power) ac_power 1639 drivers/gpu/drm/radeon/ci_dpm.c if (ac_power) ac_power 1647 drivers/gpu/drm/radeon/ci_dpm.c if (ac_power) ac_power 3937 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) ac_power 3986 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) ac_power 4019 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) ac_power 4050 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) ac_power 1862 drivers/gpu/drm/radeon/kv_dpm.c ret = kv_smc_bapm_enable(rdev, rdev->pm.dpm.ac_power); ac_power 803 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.ac_power) ac_power 808 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.ac_power == false) { ac_power 1028 drivers/gpu/drm/radeon/ni_dpm.c bool ac_power) ac_power 1030 drivers/gpu/drm/radeon/ni_dpm.c if (ac_power) ac_power 1571 drivers/gpu/drm/radeon/radeon.h bool ac_power; ac_power 79 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = true; ac_power 81 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = false; ac_power 84 drivers/gpu/drm/radeon/radeon_pm.c radeon_dpm_enable_bapm(rdev, rdev->pm.dpm.ac_power); ac_power 1745 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = true; ac_power 1747 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = false; ac_power 3026 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.ac_power) ac_power 3035 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.ac_power == false) { ac_power 3375 drivers/gpu/drm/radeon/si_dpm.c static int si_notify_hw_of_powersource(struct radeon_device *rdev, bool ac_power) ac_power 3377 drivers/gpu/drm/radeon/si_dpm.c if (ac_power) ac_power 1257 drivers/gpu/drm/radeon/trinity_dpm.c trinity_dpm_bapm_enable(rdev, rdev->pm.dpm.ac_power); ac_power 538 drivers/hwmon/dell-smm-hwmon.c int fn_key, cpu_temp, ac_power; ac_power 548 drivers/hwmon/dell-smm-hwmon.c ac_power = i8k_get_power_status(); /* 14700 µs */ ac_power 550 drivers/hwmon/dell-smm-hwmon.c ac_power = -1; ac_power 572 drivers/hwmon/dell-smm-hwmon.c ac_power, fn_key);