Home
last modified time | relevance | path

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

12

/linux/kernel/power/
H A Dhibernate.c49 __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 Dsuspend.h31 extern int in_suspend;
/linux/arch/arm64/kernel/
H A Dhibernate.c47 extern int in_suspend;
397 in_suspend = 0; in swsusp_arch_suspend()
/linux/drivers/ufs/host/
H A Dufs-hisi.h90 bool in_suspend; member
/linux/arch/x86/power/
H A Dhibernate_asm_64.S68 movq %rax, in_suspend(%rip)
/linux/sound/pci/trident/
H A Dtrident.h367 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
H A Dtrident_main.c3178 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 Dsm501.c75 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 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/arch/riscv/kernel/
H A Dhibernate.c161 in_suspend = 0; in swsusp_arch_suspend()
/linux/sound/pci/
H A Des1968.c512 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 Dcyan_skillfish_ppt.c367 if (adev->in_suspend) in cyan_skillfish_is_dpm_running()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_drv.c2586 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 Damdgpu_object.c514 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 Dgfx_v9_4_3.c2081 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 Dgmc_v11_0.c76 if (!adev->in_s0ix && (adev->in_runpm || adev->in_suspend || in gmc_v11_0_vm_fault_interrupt_state()
H A Damdgpu_device.c2264 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 Damdgpu.h856 bool in_suspend; member
H A Dgfx_v9_0.c3871 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 Dgfx_v12_0.c3108 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 Dmes_v11_0.c1617 (amdgpu_in_reset(adev) || adev->in_suspend)) { in mes_v11_0_queue_init()
/linux/sound/pci/cs46xx/
H A Dcs46xx.h1691 int in_suspend; member
H A Dcs46xx_lib.c3433 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 Driptide.c453 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 Damdgpu_dm_irq.c1645 if (notify->type == DMUB_NOTIFICATION_HPD && adev->in_suspend) { in dmub_hpd_callback()

12