Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c141 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state()
172 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_power_dpm_state()
269 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_force_performance_level()
308 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_power_dpm_force_performance_level()
370 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_num_states()
408 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_cur_state()
447 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_force_state()
470 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_pp_force_state()
540 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_table()
576 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_pp_table()
[all …]
/linux-6.1.9/kernel/power/
Dhibernate.c47 __visible int in_suspend __nosavedata;
323 in_suspend = 1; in create_image()
333 if (!in_suspend) { in create_image()
351 if (!in_suspend) in create_image()
357 dpm_resume_start(in_suspend ? in create_image()
421 if (error || !in_suspend) in hibernation_snapshot()
424 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
427 if (error || !in_suspend) in hibernation_snapshot()
757 if (in_suspend) { in hibernate()
776 in_suspend = 0; in hibernate()
Dpower.h103 extern int in_suspend;
Duser.c313 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/linux-6.1.9/drivers/ufs/host/
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()
Dufs-hisi.h90 bool in_suspend; member
/linux-6.1.9/arch/arm64/kernel/
Dhibernate.c45 extern int in_suspend;
376 in_suspend = 0; in swsusp_arch_suspend()
/linux-6.1.9/arch/x86/power/
Dhibernate_asm_32.S109 movl %eax, in_suspend
Dhibernate_asm_64.S67 movq %rax, in_suspend(%rip)
/linux-6.1.9/drivers/thermal/
Dthermal_core.c40 static atomic_t in_suspend; variable
462 if (atomic_read(&in_suspend)) in thermal_zone_device_update()
1456 atomic_set(&in_suspend, 1); in thermal_pm_notify()
1461 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/linux-6.1.9/sound/pci/trident/
Dtrident.h367 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
Dtrident_main.c3210 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset()
3847 trident->in_suspend = 1; in snd_trident_suspend()
3880 trident->in_suspend = 0; in snd_trident_resume()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/davicom/
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.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dhardwaremanager.c85 && !amdgpu_passthrough(adev) && adev->in_suspend in phm_enable_dynamic_state_management()
/linux-6.1.9/sound/pci/
Dmaestro3.c770 unsigned int in_suspend; member
1545 if (chip->in_suspend) in snd_m3_update_hw_volume()
2385 chip->in_suspend = 1; in m3_suspend()
2445 chip->in_suspend = 0; in m3_resume()
Des1968.c514 unsigned int in_suspend; member
1891 if (chip->in_suspend) in es1968_update_hw_volume()
2378 chip->in_suspend = 1; in es1968_suspend()
2424 chip->in_suspend = 0; in es1968_resume()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dcyan_skillfish_ppt.c356 if (adev->in_suspend) in cyan_skillfish_is_dpm_running()
/linux-6.1.9/sound/pci/cs46xx/
Dcs46xx.h1691 int in_suspend; member
Dcs46xx_lib.c3486 if (chip->in_suspend) in hercules_mixer_init()
3728 chip->in_suspend = 1; in snd_cs46xx_suspend()
3810 chip->in_suspend = 0; in snd_cs46xx_resume()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c314 if (smu->adev->in_suspend) in smu_set_user_clk_dependencies()
352 if (!smu->adev->in_suspend) in smu_restore_dpm_user_profile()
1165 if (adev->in_suspend && smu_is_dpm_running(smu)) { in smu_smc_hw_setup()
/linux-6.1.9/sound/pci/riptide/
Driptide.c452 int in_suspend; member
1151 chip->in_suspend = 1; in riptide_suspend()
1165 chip->in_suspend = 0; in riptide_resume()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1315 adev->in_suspend || adev->shutdown) in amdgpu_bo_release_notify()
Damdgpu_ras.c2573 if (adev->in_suspend || amdgpu_in_reset(adev)) { in amdgpu_ras_block_late_init()
2585 if (adev->in_suspend || amdgpu_in_reset(adev)) in amdgpu_ras_block_late_init()
Damdgpu.h994 bool in_suspend; member

12