Home
last modified time | relevance | path

Searched refs:in_suspend (Results 1 - 25 of 71) sorted by relevance

123

/kernel/linux/linux-5.10/kernel/power/
H A 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 in hibernate()
[all...]
H A Dpower.h101 extern int in_suspend;
H A Duser.c309 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/kernel/linux/linux-6.6/kernel/power/
H A Dhibernate.c48 __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()
758 if (in_suspend) { in hibernate()
777 in_suspend in hibernate()
[all...]
H A Dpower.h98 extern int in_suspend;
H A Duser.c313 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c105 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 in amdgpu_set_pp_table()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A 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()
H A Dufs-hisi.h103 bool in_suspend; member
/kernel/linux/linux-6.6/drivers/ufs/host/
H A Dufs-hisi.c418 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 Dufs-hisi.h90 bool in_suspend; member
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dsuspend.h27 extern int in_suspend;
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dhibernate.c42 * defined as "__visible int in_suspend __nosavedata" in
45 extern int in_suspend;
375 in_suspend = 0; in swsusp_arch_suspend()
/kernel/linux/linux-5.10/arch/x86/power/
H A Dhibernate_asm_32.S109 movl %eax, in_suspend
/kernel/linux/linux-6.6/arch/x86/power/
H A Dhibernate_asm_32.S109 movl %eax, in_suspend
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dhibernate.c48 * defined as "__visible int in_suspend __nosavedata" in
51 extern int in_suspend;
442 in_suspend = 0; in swsusp_arch_suspend()
/kernel/linux/linux-5.10/drivers/mfd/
H A 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/thermal/
H A Dthermal_core.c41 static atomic_t in_suspend; variable
554 if (atomic_read(&in_suspend)) in thermal_zone_device_update()
1633 atomic_set(&in_suspend, 1); in thermal_pm_notify()
1638 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/kernel/linux/linux-6.6/drivers/mfd/
H A Dsm501.c75 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()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dhibernate.c161 in_suspend = 0; in swsusp_arch_suspend()
/kernel/linux/linux-5.10/sound/pci/trident/
H A Dtrident.h368 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
/kernel/linux/linux-6.6/sound/pci/trident/
H A Dtrident.h367 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/davicom/
H A 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-6.6/drivers/net/ethernet/davicom/
H A Ddm9000.c105 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhardwaremanager.c85 && !amdgpu_passthrough(adev) && adev->in_suspend) { in phm_enable_dynamic_state_management()

Completed in 27 milliseconds

123