Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/kernel/power/
Dhibernate.c47 __visible int in_suspend __nosavedata;
317 in_suspend = 1; in create_image()
327 if (!in_suspend) { in create_image()
345 if (!in_suspend) in create_image()
351 dpm_resume_start(in_suspend ? in create_image()
415 if (error || !in_suspend) in hibernation_snapshot()
418 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
421 if (error || !in_suspend) in hibernation_snapshot()
746 if (in_suspend) { in hibernate()
765 in_suspend = 0; in hibernate()
Dpower.h101 extern int in_suspend;
Duser.c309 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs-hisi.c417 if (host->in_suspend) { in ufs_hisi_suspend()
427 host->in_suspend = true; in ufs_hisi_suspend()
436 if (!host->in_suspend) in ufs_hisi_resume()
444 host->in_suspend = false; in ufs_hisi_resume()
Dufs-hisi.h103 bool in_suspend; member
/kernel/linux/linux-5.10/arch/x86/power/
Dhibernate_asm_32.S109 movl %eax, in_suspend
Dhibernate_asm_64.S144 movq %rax, in_suspend(%rip)
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dhibernate.c51 extern int in_suspend;
442 in_suspend = 0; in swsusp_arch_suspend()
/kernel/linux/linux-5.10/drivers/thermal/
Dthermal_core.c41 static atomic_t in_suspend; variable
554 if (atomic_read(&in_suspend)) in thermal_zone_device_update()
1631 atomic_set(&in_suspend, 1); in thermal_pm_notify()
1636 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/kernel/linux/linux-5.10/sound/pci/trident/
Dtrident.h368 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
Dtrident_main.c3186 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset()
3863 trident->in_suspend = 1; in snd_trident_suspend()
3896 trident->in_suspend = 0; in snd_trident_resume()
/kernel/linux/linux-5.10/drivers/mfd/
Dsm501.c75 unsigned int in_suspend; member
242 if (sm->in_suspend) in sm501_mdelay()
1465 sm->in_suspend = 1; in sm501_plat_suspend()
1508 sm->in_suspend = 0; in sm501_plat_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/davicom/
Ddm9000.c106 unsigned int in_suspend:1; member
271 if (db->in_suspend || db->in_timeout) in dm9000_msleep()
1732 db->in_suspend = 1; in dm9000_drv_suspend()
1764 db->in_suspend = 0; in dm9000_drv_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dhardwaremanager.c85 && !amdgpu_passthrough(adev) && adev->in_suspend) { in phm_enable_dynamic_state_management()
/kernel/linux/linux-5.10/sound/pci/
Dmaestro3.c775 unsigned int in_suspend; member
1550 if (chip->in_suspend) in snd_m3_update_hw_volume()
2401 chip->in_suspend = 1; in m3_suspend()
2461 chip->in_suspend = 0; in m3_resume()
Des1968.c518 unsigned int in_suspend; member
1890 if (chip->in_suspend) in es1968_update_hw_volume()
2374 chip->in_suspend = 1; in es1968_suspend()
2420 chip->in_suspend = 0; in es1968_resume()
/kernel/linux/linux-5.10/sound/pci/cs46xx/
Dcs46xx.h1692 int in_suspend; member
Dcs46xx_lib.c3522 if (chip->in_suspend) in hercules_mixer_init()
3763 chip->in_suspend = 1; in snd_cs46xx_suspend()
3845 chip->in_suspend = 0; in snd_cs46xx_resume()
/kernel/linux/linux-5.10/sound/pci/riptide/
Driptide.c453 int in_suspend; member
1146 chip->in_suspend = 1; in riptide_suspend()
1160 chip->in_suspend = 0; in riptide_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c640 if (!amdgpu_sriov_vf(adev) && (amdgpu_in_reset(adev) || adev->in_suspend)) in amdgpu_ucode_init_bo()
Damdgpu_ras.c2110 } else if (adev->in_suspend || amdgpu_in_reset(adev)) { in amdgpu_ras_late_init()
2119 if (adev->in_suspend || amdgpu_in_reset(adev)) in amdgpu_ras_late_init()
Damdgpu_device.c2125 if (amdgpu_in_reset(adev) || adev->in_suspend) { in amdgpu_device_fw_loading()
3652 adev->in_suspend = true; in amdgpu_device_suspend()
3832 adev->in_suspend = false; in amdgpu_device_resume()
Damdgpu.h959 bool in_suspend; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c1074 if (adev->in_suspend) in renoir_is_dpm_running()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c911 if (adev->in_suspend && smu_is_dpm_running(smu)) { in smu_smc_hw_setup()

12