/openbmc/linux/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 105 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state() 136 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_power_dpm_state() 233 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_force_performance_level() 272 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_power_dpm_force_performance_level() 334 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_num_states() 372 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_cur_state() 411 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_force_state() 434 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_pp_force_state() 504 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_table() 540 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_pp_table() [all …]
|
/openbmc/linux/kernel/power/ |
H A D | hibernate.c | 48 __visible int in_suspend __nosavedata; 324 in_suspend = 1; in create_image() 334 if (!in_suspend) { in create_image() 352 if (!in_suspend) in create_image() 358 dpm_resume_start(in_suspend ? in create_image() 422 if (error || !in_suspend) in hibernation_snapshot() 425 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot() 428 if (error || !in_suspend) in hibernation_snapshot() 763 if (in_suspend) { in hibernate() 782 in_suspend = 0; in hibernate()
|
H A D | power.h | 98 extern int in_suspend;
|
H A D | user.c | 313 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
|
/openbmc/linux/drivers/ufs/host/ |
H A D | ufs-hisi.c | 418 if (host->in_suspend) { in ufs_hisi_suspend() 428 host->in_suspend = true; in ufs_hisi_suspend() 437 if (!host->in_suspend) in ufs_hisi_resume() 445 host->in_suspend = false; in ufs_hisi_resume()
|
H A D | ufs-hisi.h | 90 bool in_suspend; member
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | suspend.h | 27 extern int in_suspend;
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | hibernate.c | 45 extern int in_suspend; 375 in_suspend = 0; in swsusp_arch_suspend()
|
/openbmc/linux/arch/x86/power/ |
H A D | hibernate_asm_32.S | 109 movl %eax, in_suspend
|
H A D | hibernate_asm_64.S | 67 movq %rax, in_suspend(%rip)
|
/openbmc/linux/drivers/mfd/ |
H A D | sm501.c | 75 unsigned int in_suspend; member 242 if (sm->in_suspend) in sm501_mdelay() 1463 sm->in_suspend = 1; in sm501_plat_suspend() 1506 sm->in_suspend = 0; in sm501_plat_resume()
|
/openbmc/linux/sound/pci/trident/ |
H A D | trident.h | 367 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
|
H A D | trident_main.c | 3210 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset() 3847 trident->in_suspend = 1; in snd_trident_suspend() 3880 trident->in_suspend = 0; in snd_trident_resume()
|
/openbmc/linux/drivers/net/ethernet/davicom/ |
H A D | dm9000.c | 105 unsigned int in_suspend:1; member 267 if (db->in_suspend || db->in_timeout) in dm9000_msleep() 1731 db->in_suspend = 1; in dm9000_drv_suspend() 1763 db->in_suspend = 0; in dm9000_drv_resume()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | hibernate.c | 161 in_suspend = 0; in swsusp_arch_suspend()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | hardwaremanager.c | 85 && !amdgpu_passthrough(adev) && adev->in_suspend in phm_enable_dynamic_state_management()
|
/openbmc/linux/sound/pci/ |
H A D | maestro3.c | 770 unsigned int in_suspend; member 1545 if (chip->in_suspend) in snd_m3_update_hw_volume() 2378 chip->in_suspend = 1; in m3_suspend() 2438 chip->in_suspend = 0; in m3_resume()
|
H A D | es1968.c | 514 unsigned int in_suspend; member 1891 if (chip->in_suspend) in es1968_update_hw_volume() 2371 chip->in_suspend = 1; in es1968_suspend() 2417 chip->in_suspend = 0; in es1968_resume()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | cyan_skillfish_ppt.c | 366 if (adev->in_suspend) in cyan_skillfish_is_dpm_running()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 444 WARN_ON(amdgpu_ttm_adev((*bo)->tbo.bdev)->in_suspend); in amdgpu_bo_free_kernel() 1369 adev->in_suspend || drm_dev_is_unplugged(adev_to_drm(adev))) in amdgpu_bo_release_notify()
|
H A D | mes_v11_0.c | 909 (amdgpu_in_reset(adev) || adev->in_suspend)) { in mes_v11_0_queue_init() 1315 if (!amdgpu_in_reset(adev) && !adev->in_s0ix && !adev->in_suspend && in mes_v11_0_late_init()
|
/openbmc/linux/sound/pci/cs46xx/ |
H A D | cs46xx.h | 1691 int in_suspend; member
|
H A D | cs46xx_lib.c | 3483 if (chip->in_suspend) in hercules_mixer_init() 3725 chip->in_suspend = 1; in snd_cs46xx_suspend() 3807 chip->in_suspend = 0; in snd_cs46xx_resume()
|
/openbmc/linux/sound/pci/riptide/ |
H A D | riptide.c | 452 int in_suspend; member 1151 chip->in_suspend = 1; in riptide_suspend() 1165 chip->in_suspend = 0; in riptide_resume()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | amdgpu_smu.c | 335 if (smu->adev->in_suspend) in smu_set_user_clk_dependencies() 373 if (!smu->adev->in_suspend) in smu_restore_dpm_user_profile() 1238 if (adev->in_suspend && smu_is_dpm_running(smu)) { in smu_smc_hw_setup()
|