Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/power/
H A Dhibernate.c49 __visible int in_suspend __nosavedata;
334 in_suspend = 1; in create_image()
344 if (!in_suspend) { in create_image()
362 if (!in_suspend) in create_image()
368 dpm_resume_start(in_suspend ? in create_image()
432 if (error || !in_suspend) in hibernation_snapshot()
435 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
438 if (error || !in_suspend) in hibernation_snapshot()
796 if (in_suspend) { in hibernate()
828 in_suspend = 0; in hibernate()
H A Dpower.h103 extern int in_suspend;
H A Duser.c313 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/linux-6.15/drivers/ufs/host/
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.h90 bool in_suspend; member
/linux-6.15/arch/riscv/include/asm/
H A Dsuspend.h31 extern int in_suspend;
/linux-6.15/arch/arm64/kernel/
H A Dhibernate.c45 extern int in_suspend;
381 in_suspend = 0; in swsusp_arch_suspend()
/linux-6.15/arch/x86/power/
H A Dhibernate_asm_32.S109 movl %eax, in_suspend
H A Dhibernate_asm_64.S68 movq %rax, in_suspend(%rip)
/linux-6.15/sound/pci/trident/
H A Dtrident.h367 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/arch/riscv/kernel/
H A Dhibernate.c161 in_suspend = 0; in swsusp_arch_suspend()
/linux-6.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhardwaremanager.c85 && !amdgpu_passthrough(adev) && adev->in_suspend in phm_enable_dynamic_state_management()
/linux-6.15/sound/pci/
H A Dmaestro3.c770 unsigned int in_suspend; member
1543 if (chip->in_suspend) in snd_m3_update_hw_volume()
2373 chip->in_suspend = 1; in m3_suspend()
2433 chip->in_suspend = 0; in m3_resume()
H A Des1968.c512 unsigned int in_suspend; member
1885 if (chip->in_suspend) in es1968_update_hw_volume()
2364 chip->in_suspend = 1; in es1968_suspend()
2410 chip->in_suspend = 0; in es1968_resume()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dcyan_skillfish_ppt.c366 if (adev->in_suspend) in cyan_skillfish_is_dpm_running()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_umsch_mm.c337 if (amdgpu_in_reset(adev) || adev->in_s0ix || adev->in_suspend) in umsch_mm_late_init()
H A Damdgpu_object.c510 WARN_ON(amdgpu_ttm_adev((*bo)->tbo.bdev)->in_suspend); in amdgpu_bo_free_kernel()
1311 adev->in_suspend || drm_dev_is_unplugged(adev_to_drm(adev))) in amdgpu_bo_release_notify()
H A Dgmc_v11_0.c76 if (!adev->in_s0ix && (adev->in_runpm || adev->in_suspend || in gmc_v11_0_vm_fault_interrupt_state()
H A Dmes_v11_0.c1280 (amdgpu_in_reset(adev) || adev->in_suspend)) { in mes_v11_0_queue_init()
1709 if (!amdgpu_in_reset(adev) && !adev->in_s0ix && !adev->in_suspend && in mes_v11_0_late_init()
H A Dmes_v12_0.c1374 (amdgpu_in_reset(adev) || adev->in_suspend)) { in mes_v12_0_queue_init()
1819 if (!amdgpu_in_reset(adev) && !adev->in_s0ix && !adev->in_suspend) in mes_v12_0_late_init()
/linux-6.15/sound/pci/cs46xx/
H A Dcs46xx.h1691 int in_suspend; member
/linux-6.15/sound/pci/riptide/
H A Driptide.c452 int in_suspend; member
1149 chip->in_suspend = 1; in riptide_suspend()
1163 chip->in_suspend = 0; in riptide_resume()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c429 if (smu->adev->in_suspend) in smu_set_user_clk_dependencies()
467 if (!smu->adev->in_suspend) in smu_restore_dpm_user_profile()
1575 if (adev->in_suspend && smu_is_dpm_running(smu)) { in smu_smc_hw_setup()
2029 if ((!adev->in_runpm) && (!adev->in_suspend) && in smu_reset_mp1_state()

12