Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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 = 0; in hibernate()
H A Dpower.h101 extern int in_suspend;
H A Duser.c309 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/arch/x86/power/
H A Dhibernate_asm_32.S109 movl %eax, in_suspend
H A Dhibernate_asm_64.S144 movq %rax, in_suspend(%rip)
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-dw-rockchip.c180 bool in_suspend; member
436 if (rk_pcie->in_suspend) { in rk_pcie_ep_inbound_atu()
454 if (rk_pcie->in_suspend) in rk_pcie_ep_inbound_atu()
568 if (rk_pcie->in_suspend) { in rk_pcie_ep_outbound_atu()
583 if (rk_pcie->in_suspend) in rk_pcie_ep_outbound_atu()
790 if (rk_pcie->in_suspend && rk_pcie->skip_scan_in_resume) { in rk_pcie_establish_link()
2349 rk_pcie->in_suspend = true; in rockchip_dw_pcie_suspend()
2428 rk_pcie->in_suspend = false; in rockchip_dw_pcie_resume()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dhibernate.c51 extern int in_suspend;
447 in_suspend = 0; in swsusp_arch_suspend()
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dthermal_core.c43 static atomic_t in_suspend; variable
557 if (atomic_read(&in_suspend)) in thermal_zone_device_update()
1625 atomic_set(&in_suspend, 1); in thermal_pm_notify()
1630 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/sound/pci/trident/
H A Dtrident.h368 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/sound/pci/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhardwaremanager.c85 && !amdgpu_passthrough(adev) && adev->in_suspend) { in phm_enable_dynamic_state_management()
/OK3568_Linux_fs/kernel/sound/pci/riptide/
H A Driptide.c453 int in_suspend; member
1146 chip->in_suspend = 1; in riptide_suspend()
1160 chip->in_suspend = 0; in riptide_resume()
/OK3568_Linux_fs/kernel/sound/pci/cs46xx/
H A Dcs46xx.h1692 int in_suspend; member
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A 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()
H A Damdgpu_ucode.c640 if (!amdgpu_sriov_vf(adev) && (amdgpu_in_reset(adev) || adev->in_suspend)) in amdgpu_ucode_init_bo()
H A 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()
H A Damdgpu.h959 bool in_suspend; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c1074 if (adev->in_suspend) in renoir_is_dpm_running()

12