Home
last modified time | relevance | path

Searched refs:in_suspend (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/kernel/power/
Dhibernate.c48 __visible int in_suspend __nosavedata;
301 in_suspend = 1; in create_image()
311 if (!in_suspend) { in create_image()
331 dpm_resume_start(in_suspend ? in create_image()
395 if (error || !in_suspend) in hibernation_snapshot()
398 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
401 if (error || !in_suspend) in hibernation_snapshot()
730 if (in_suspend) { in hibernate()
749 in_suspend = 0; in hibernate()
Dpower.h103 extern int in_suspend;
Duser.c265 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/Linux-v4.19/drivers/scsi/ufs/
Dufs-hisi.c468 if (host->in_suspend) { in ufs_hisi_suspend()
478 host->in_suspend = true; in ufs_hisi_suspend()
487 if (!host->in_suspend) in ufs_hisi_resume()
495 host->in_suspend = false; in ufs_hisi_resume()
Dufs-hisi.h102 bool in_suspend; member
/Linux-v4.19/arch/arm64/kernel/
Dhibernate.c53 extern int in_suspend;
312 in_suspend = 0; in swsusp_arch_suspend()
/Linux-v4.19/arch/x86/power/
Dhibernate_asm_64.S143 movq %rax, in_suspend(%rip)
/Linux-v4.19/drivers/thermal/
Dthermal_core.c47 static atomic_t in_suspend; variable
469 if (atomic_read(&in_suspend)) in thermal_zone_device_update()
1497 atomic_set(&in_suspend, 1); in thermal_pm_notify()
1502 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/Linux-v4.19/sound/pci/trident/
Dtrident.h383 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
Dtrident_main.c3238 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset()
3916 trident->in_suspend = 1; in snd_trident_suspend()
3953 trident->in_suspend = 0; in snd_trident_resume()
/Linux-v4.19/drivers/mfd/
Dsm501.c77 unsigned int in_suspend; member
244 if (sm->in_suspend) in sm501_mdelay()
1471 sm->in_suspend = 1; in sm501_plat_suspend()
1514 sm->in_suspend = 0; in sm501_plat_resume()
/Linux-v4.19/drivers/net/ethernet/davicom/
Ddm9000.c116 unsigned int in_suspend:1; member
279 if (db->in_suspend || db->in_timeout) in dm9000_msleep()
1731 db->in_suspend = 1; in dm9000_drv_suspend()
1764 db->in_suspend = 0; in dm9000_drv_resume()
/Linux-v4.19/drivers/net/ethernet/micrel/
Dks8695net.c158 int in_suspend; member
1566 ksp->in_suspend = 1; in ks8695_drv_suspend()
1596 ksp->in_suspend = 0; in ks8695_drv_resume()
/Linux-v4.19/sound/pci/
Dmaestro3.c790 unsigned int in_suspend; member
1569 if (chip->in_suspend) in snd_m3_update_hw_volume()
2422 chip->in_suspend = 1; in m3_suspend()
2483 chip->in_suspend = 0; in m3_resume()
Des1968.c532 unsigned int in_suspend; member
1908 if (chip->in_suspend) in es1968_update_hw_volume()
2392 chip->in_suspend = 1; in es1968_suspend()
2439 chip->in_suspend = 0; in es1968_resume()
/Linux-v4.19/sound/pci/cs46xx/
Dcs46xx.h1707 int in_suspend; member
Dcs46xx_lib.c3540 if (chip->in_suspend) in hercules_mixer_init()
3781 chip->in_suspend = 1; in snd_cs46xx_suspend()
3869 chip->in_suspend = 0; in snd_cs46xx_resume()
/Linux-v4.19/sound/pci/riptide/
Driptide.c468 int in_suspend; member
1159 chip->in_suspend = 1; in riptide_suspend()
1174 chip->in_suspend = 0; in riptide_resume()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_0.c3029 if (!adev->in_gpu_reset && !adev->gfx.in_suspend) { in gfx_v9_0_kcq_init_queue()
3269 if (!adev->in_gpu_reset && !adev->gfx.in_suspend) { in gfx_v9_0_hw_fini()
3291 adev->gfx.in_suspend = true; in gfx_v9_0_suspend()
3301 adev->gfx.in_suspend = false; in gfx_v9_0_resume()
Damdgpu.h949 bool in_suspend; member
Dgfx_v8_0.c4936 if (!adev->in_gpu_reset && !adev->gfx.in_suspend) { in gfx_v8_0_kcq_init_queue()
5177 adev->gfx.in_suspend = true; in gfx_v8_0_suspend()
5187 adev->gfx.in_suspend = false; in gfx_v8_0_resume()