| /linux/kernel/power/ |
| H A D | hibernate.c | 49 __visible int in_suspend __nosavedata; 361 in_suspend = 1; in create_image() 371 if (!in_suspend) { in create_image() 389 if (!in_suspend) in create_image() 395 dpm_resume_start(in_suspend ? in create_image() 457 if (error || !in_suspend) in hibernation_snapshot() 460 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot() 463 if (error || !in_suspend) in hibernation_snapshot() 823 if (in_suspend) { in hibernate() 855 in_suspend = 0; in hibernate()
|
| /linux/arch/riscv/include/asm/ |
| H A D | suspend.h | 31 extern int in_suspend;
|
| /linux/arch/arm64/kernel/ |
| H A D | hibernate.c | 47 extern int in_suspend; 397 in_suspend = 0; in swsusp_arch_suspend()
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-hisi.h | 90 bool in_suspend; member
|
| /linux/arch/x86/power/ |
| H A D | hibernate_asm_64.S | 68 movq %rax, in_suspend(%rip)
|
| /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 | 3178 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset() 3803 trident->in_suspend = 1; in snd_trident_suspend() 3836 trident->in_suspend = 0; in snd_trident_resume()
|
| /linux/drivers/mfd/ |
| H A D | sm501.c | 75 unsigned int in_suspend; member 242 if (sm->in_suspend) in sm501_mdelay() 1425 sm->in_suspend = 1; in sm501_plat_suspend() 1468 sm->in_suspend = 0; in sm501_plat_resume()
|
| /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()
|
| /linux/arch/riscv/kernel/ |
| H A D | hibernate.c | 161 in_suspend = 0; in swsusp_arch_suspend()
|
| /linux/sound/pci/ |
| H A D | es1968.c | 512 unsigned int in_suspend; member 1854 if (chip->in_suspend) in es1968_update_hw_volume() 2333 chip->in_suspend = 1; in es1968_resume() 2379 chip->in_suspend = 0; in snd_es1968_create_gameport()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H A D | cyan_skillfish_ppt.c | 367 if (adev->in_suspend) in cyan_skillfish_is_dpm_running()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_drv.c | 2586 if (adev->in_s4 && adev->in_suspend) in amdgpu_pci_shutdown() 2607 if (adev->in_s4 && adev->in_suspend) in amdgpu_pmops_prepare() 2745 if (adev->in_s4 && adev->in_suspend) in amdgpu_pmops_poweroff()
|
| H A D | amdgpu_object.c | 514 WARN_ON(amdgpu_ttm_adev((*bo)->tbo.bdev)->in_suspend); in amdgpu_bo_free_kernel() 1330 adev->in_suspend || drm_dev_is_unplugged(adev_to_drm(adev))) in amdgpu_bo_release_notify()
|
| H A D | gfx_v9_4_3.c | 2081 if (amdgpu_sriov_vf(adev) && adev->in_suspend) in gfx_v9_4_3_xcc_kiq_init_queue() 2110 (!amdgpu_in_reset(adev) && !adev->in_suspend))) { in gfx_v9_4_3_xcc_kcq_init_queue() 2140 if (!amdgpu_in_reset(adev) && !adev->in_suspend) { in gfx_v9_4_3_xcc_kcq_fini_register() 2233 if (adev->in_suspend) in gfx_v9_4_3_cp_resume() 2271 if (!amdgpu_in_reset(adev) && !adev->in_suspend) { in gfx_v9_4_3_xcc_fini() 2430 if (!enable && !amdgpu_in_reset(adev) && !adev->in_suspend) { in gfx_v9_4_3_perf_monitor_ptl_init()
|
| H A D | gmc_v11_0.c | 76 if (!adev->in_s0ix && (adev->in_runpm || adev->in_suspend || in gmc_v11_0_vm_fault_interrupt_state()
|
| H A D | amdgpu_device.c | 2264 if (amdgpu_in_reset(adev) || adev->in_suspend) { in amdgpu_device_fw_loading() 4540 adev->in_suspend = true; in amdgpu_device_suspend() 4633 adev->in_suspend = adev->in_s0ix = adev->in_s3 = false; in amdgpu_device_suspend() 4768 adev->in_suspend = false; in amdgpu_device_resume()
|
| H A D | amdgpu.h | 856 bool in_suspend; member
|
| H A D | gfx_v9_0.c | 3871 if (amdgpu_sriov_vf(adev) && adev->in_suspend) in gfx_v9_0_kiq_init_queue() 3900 (!amdgpu_in_reset(adev) && !adev->in_suspend))) { in gfx_v9_0_kcq_init_queue() 4141 if (!amdgpu_in_reset(adev) && !adev->in_suspend) { in gfx_v9_0_hw_fini() 4895 if ((!adev->in_suspend) && in gfx_v9_0_ecc_late_init()
|
| H A D | gfx_v12_0.c | 3108 if (!amdgpu_in_reset(adev) && !adev->in_suspend) { in gfx_v12_0_kgq_init_queue() 3456 if (amdgpu_sriov_vf(adev) && adev->in_suspend) in gfx_v12_0_kiq_init_queue() 3478 if (!amdgpu_in_reset(adev) && !adev->in_suspend) { in gfx_v12_0_kcq_init_queue()
|
| H A D | mes_v11_0.c | 1617 (amdgpu_in_reset(adev) || adev->in_suspend)) { in mes_v11_0_queue_init()
|
| /linux/sound/pci/cs46xx/ |
| H A D | cs46xx.h | 1691 int in_suspend; member
|
| H A D | cs46xx_lib.c | 3433 if (chip->in_suspend) in hercules_mixer_init() 3675 chip->in_suspend = 1; in snd_cs46xx_suspend() 3757 chip->in_suspend = 0; in snd_cs46xx_resume()
|
| /linux/sound/pci/riptide/ |
| H A D | riptide.c | 453 int in_suspend; member 1150 chip->in_suspend = 1; in riptide_suspend() 1164 chip->in_suspend = 0; in riptide_resume()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_irq.c | 1645 if (notify->type == DMUB_NOTIFICATION_HPD && adev->in_suspend) { in dmub_hpd_callback()
|